Skip to Content

Category Archives: logs

reset bandwidth for a domain in WHM/CPANEL

Written on October 25, 2012 at 8:40 PM, by

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    

access logs not functioning

Written on October 20, 2012 at 6:43 PM, by

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 […]

temporarily rejected RCPT : remote host address is the local host

Written on July 1, 2012 at 8:16 PM, by

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 [14484] H=test.com[*.*.*.*]:37179 I=[*.*.*.*]:25 F=<bounce-17_HTML-12071459-12080-1059204-10333@bounce.test.com> temporarily rejected RCPT <test@domain.com>: remote host address is the local host —————————————-   To fix this we had to perform the following:   created a file […]

Berkeley DB error in exim log

Written on June 12, 2012 at 8:21 PM, by

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.  

issue with awstat showing no values

Written on March 13, 2012 at 6:08 PM, by

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”. […]

Error: awstats failed to create directory DirData (DirData=”/home/cvseuyne/tmp/awstats”,

Written on March 13, 2012 at 6:02 PM, by

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.

Error: awstats failed to create directory DirData

Written on March 5, 2012 at 12:57 AM, by

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  

exim error: failed to expand ACL string “${perl{surblspamcheck}}”:

Written on March 4, 2012 at 7:54 PM, by

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.