Edit the file listed below and enter in the IP address of the server that you want to forward the logs to. Restarted syslogd after you edit the file to apply the new settings. This is related to apache and will keep some sort of current log intact it seems (without postrotate you may see that the error log is rotated but a new error log file is not generated). By default cpanel doesn’t allow custom configuration for awstats, which means you need to log into WHM, go to ‘Statistics Software Configuration’ and enable ‘Awstats include file’.Also you’ll need to change the log_format in the nginx config to the following: The log_format above is matching the normal apache logformat, except the very last parameter, which is the request time.
Their complaint was that their AWStats is not responding, unique visitors status on Awstats not updating etc.
The other major usage is in the /usr/local/cpanel/whostmgr/docroot/cgi/fantastico directory which I have mentioned earlier. I don't think it keeps the logs, but everything else, as far as I recall, remains in-tact in the event a rollback is needed.[email protected] [/usr]# du -h --max-depth=1 /usr 12K /usr/etc 2.8G /usr/local 262M /usr/bin 34M /usr/include 940M /usr/share 76K /usr/doc 24K /usr/X11R6 47M /usr/sbin 16K /usr/lost found 21M /usr/libexec 608M /usr/lib 91M /usr/src 8.0K /usr/games 116K /usr/man 1.6M /usr/kerberos 4.8G /usr The above shows 4.8 GB is the usage in /usr directory. Check for apache logs like error_log, access_log , suexec_log in /usr/local/apache/logs .
Scenario: We all know that c Panel is the leading hosting control panel worldwide.
I could free more than 11% of the space by deleting the old directories from the directory /usr/local/cpanel-rollback. I could not find any file starting with core and also the apache domlogs is not much.
The other major usage is in the /usr/local/cpanel/whostmgr/docroot/cgi/fantastico directory which I have mentioned earlier. I could free more than 11% of the space by deleting the old directories from the directory /usr/local/cpanel-rollback. I could not find any file starting with core and also the apache domlogs is not much. If I'm not mistaken, that's Fantastico's base directory, and removing bits & pieces from there could create functionality issues...researching that. Also, anytime Apache is rebuilt, a backup/restore directory is created in the event of a failure.