Search Results for: analog stats

Disable stats on cpanel

If you are on a cPanel server and web stats are consuming more disk space then you can disable them.

To disable it, Ssh to server as root

Edit cPanel configuration file.

root@server[~]#vi /var/cpanel/cpanel.config

And make following changes.

skipanalog=1
skipawstats=1
skipwebalizer=1


save changes and restart cPanel server.

root@server[~]#/etc/init.d/cpanel restart




contact@webhostingsupport.info

Post to Twitter

Cpanel scripts and their use.

1 )Updates the server software:
/scripts/upcp

2) Reinstalls exim:
/scripts/exim4

3) Bandwidth issues
/scripts/cleanbw

4) To fix problem in webalizer that stop updating stats
/scripts/fixwebalizer

5) Self Explanatory
/scripts/fixcommonproblems
/scripts/fixeverything

6)Fixing Mail List MailMan
/usr/local/cpanel/bin/convertmailman2

7) Run cpanel backup
/scripts/cpbackup

8) To try and fix domain controller
/scripts/fixndc

9) Quotas

/scripts/initquotas – takes a while to run
/scripts/resetquotas
/scripts/fixquotas – takes a while to run

10) Add a Dns Entry
/scripts/adddns

11) Install Frontpage Mail Exts
/scripts/addfpmail

12) Add JavaServlets to an account (jsp plugin required)
/scripts/addservlets

13) Add a User
/scripts/adduser

14) Run WHM Lite
/scripts/admin

15) Add Rlimits (cpu and mem limits) to apache
/scripts/apachelimits

16) Resync with a master DNS Server
/scripts/dnstransfer

17) Edit A User’s Quota
/scripts/editquota

18) Search For Trojans in /dev
/scripts/finddev

19) Locate Trojan Horses
/scripts/findtrojans

20) Suggest Usage
/scripts/findtrojans > /var/log/trojans
/scripts/fixtrojans /var/log/trojans

21) Make Interchange work with suexec
/scripts/fixcartwithsuexec

22) Fix Most Problems with Interchange
/scripts/fixinterchange

23) Run on a trojans horse file created by findtrojans to remove them
/scripts/fixtrojans

24) Run this if a user’s stats stop working
/scripts/fixwebalizer

25) Fix a broken valias file
/scripts/fixvaliases

26) Turn on DMA and 32bit IDE hard drive access (once per boot)
/scripts/hdparamify

27) Re-scan quotas. Usually fixes Disk space display problems
/scripts/initquotas

28) Turn on SUEXEC (probably a bad idea)
/scripts/initsuexec

29) Display Ipusage Report
/scripts/ipusage

29) Terminate an Account
/scripts/killacct

30) Delete “Security Problem Infested RPMS”
/scripts/killbadrpms

31) Fix Various Mail Permission Problems
/scripts/mailperm

32) Attempt to Troubleshoot a Mail Problem
/scripts/mailtroubleshoot

33) Change a Mysql Password
/scripts/mysqlpasswd

34) Kill Potential Security Problem Services
/scripts/quicksecure

35) Rebuild Ip Address Pool
/scripts/rebuildippool

36) Delete Nasty SSL entry in apache default httpd.conf
/scripts/remdefssl

37) Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)
/scripts/restartsrv (example: /scripts/restartsrv httpd)

38) Syncup Security Updates from RedHat/Mandrake
/scripts/rpmup

39) Force a webalizer/analog update
/scripts/runlogsnow

40) Remove non-important suid binaries
/scripts/secureit

41) Install Frontpage 4+ on an account
/scripts/setupfp4

42) Return a Simple process list. Useful for finding where cgi scripts are running from
/scripts/simpleps

43) Suspend an account
/scripts/suspendacct

44) Syncup Cpanel RPM Updates
/scripts/sysup

45) Unblock an IP
/scripts/unblockip

46) UnSuspend an account
/scripts/unsuspendacct

47) Update Cpanel
/scripts/upcp

48) Update /scripts
/scripts/updatenow

49) Create a New Account
/scripts/wwwacct

50) Awstats to run manually
/scripts/runweblogs account_username


contact@webhostingsupport.info

Post to Twitter