Category Archives: logs
Follow the below steps to reset bandwidth for a domain. ssh to your server cd /var/cpanel/bandwidth.cache/ vi domainname.com and/or vi username replace contents with 0 save and quit
Recently I found an issue where domlogs in the server was no updating. That is, all the the domains domlogs were empty. Due to this reason awstat was not updating for any domains in the server. The fix for this issue was to add the following piece of code to httpd.conf =========================== <IfModule mod_log_config.c> LogFormat […]
While receiving emails to a domain in our server. We could notice that the email was rejected with the following error log: ————————————————— 2012-07-01 12:58:37  H=test.com[*.*.*.*]:37179 I=[*.*.*.*]:25 F=<bounce-17_HTMLemail@example.com> temporarily rejected RCPT <firstname.lastname@example.org>: remote host address is the local host —————————————- To fix this we had to perform the following: created a file […]
Error: 2009-04-02 10:26:47 Berkeley DB error: PANIC: Invalid argument 2009-04-02 10:26:47 Berkeley DB error: PANIC: fatal region error detected; run recovery Fix: 1. Stop exim in the server 2. remove the files in /var/spool/exim/db/ 3. start exim to regenerate those files freshly. Check logs again. You will see that the error disappeared.
If you want to manually update your stats, follow these instructions: Locate the awstats folder within your account. (/home#/username/tmp/awstats/) You need to find and edit custom.txt. Add these two lines: AllowToUpdateStatsFromBrowser=1 DNSLookup=1 Save the changes Now when you open AwStats in cPanel there will be a link next to the date that says “Update now”. […]
you might want to try deleting the /tmp folder in /home/<user>/. Then let the server rerun the stats for awstat and create a new list and everything, after that it should work again.
full error: (when trying to access awstat) Error: awstats failed to create directory DirData (DirData=”/home/old_username/tmp/awstats”, CreateDirDataIfNotExists=1). Setup (‘/home/new_username/tmp/awstats/awstats.domain.com.conf’ file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in ‘docs’ directory). “ Solution: move /home/new_username/tmp to different name. run /scripts/runweblogs access awstat
This has been solved by adding the line require “/etc/exim/perl/exim_check_surbl.perl”; at the end of exim’s perl startup script (/etc/exim.pl). surblspamcheck plugin was defined in exim_check_surbl.perl and the line require “/etc/exim/perl/exim_check_surbl.perl”; was missing from the startup script after the cPanel upgrade.