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.


save changes and restart cPanel server.

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

Post to Twitter

Cpanel scripts and their use.

1 )Updates the server software:

2) Reinstalls exim:

3) Bandwidth issues

4) To fix problem in webalizer that stop updating stats

5) Self Explanatory

6)Fixing Mail List MailMan

7) Run cpanel backup

8) To try and fix domain controller

9) Quotas

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

10) Add a Dns Entry

11) Install Frontpage Mail Exts

12) Add JavaServlets to an account (jsp plugin required)

13) Add a User

14) Run WHM Lite

15) Add Rlimits (cpu and mem limits) to apache

16) Resync with a master DNS Server

17) Edit A User’s Quota

18) Search For Trojans in /dev

19) Locate Trojan Horses

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

21) Make Interchange work with suexec

22) Fix Most Problems with Interchange

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

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

25) Fix a broken valias file

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

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

28) Turn on SUEXEC (probably a bad idea)

29) Display Ipusage Report

29) Terminate an Account

30) Delete “Security Problem Infested RPMS”

31) Fix Various Mail Permission Problems

32) Attempt to Troubleshoot a Mail Problem

33) Change a Mysql Password

34) Kill Potential Security Problem Services

35) Rebuild Ip Address Pool

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

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

39) Force a webalizer/analog update

40) Remove non-important suid binaries

41) Install Frontpage 4+ on an account

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

43) Suspend an account

44) Syncup Cpanel RPM Updates

45) Unblock an IP

46) UnSuspend an account

47) Update Cpanel

48) Update /scripts

49) Create a New Account

50) Awstats to run manually
/scripts/runweblogs account_username

Post to Twitter