Skip to main content

/scripts/fixwebalizer* not working correctly

Comments

5 comments

  • cPanelMichael
    Hello :) Could you let us know your reasoning for running the "/scripts/fixwebalizer" script? Are you having a specific issue with Webalizer? Thank you.
    0
  • audrey
    Hi Thanks for your help Aside from the /scripts/fixwebalizer* - the webalizer works great There a couple of reasons that I want to reset the webalizer. 1- on some sites - the webalizer hasn't worked since 2003 (these sites have been migrated from other servers) and sometimes I want to get them working again on a particular site for various reasons. 2- sometimes on sites with huge tmp files for the webalizer that a specific user doesn't need - it usually works best to run /scripts/fixwebalizer* rather than deleting the tmp files manually Thanks Take Care Audrey
    0
  • cPanelMichael
    [QUOTE]root@host [~]# /scripts/fixwebalizer* Warning: this will destory all previous webalizer data! Enter Username to fix webalizer for? XXXXXXX removed `/home/ XXXXXXX/tmp/webalizer/webalizer.current' removed `/home/ XXXXXXX/tmp/webalizer/webalizer.hist' removed `/home/ XXXXXXX/tmp/webalizer/dns_cache.db' Log checker loaded ok.. ==> cPanel Log Daemon version 26.0 Logs are already being processed, please try again later.
    You can check to see if there is any activity happening with cpanellogd by reviewing the stats_log: tail -f /usr/local/cpanel/logs/stats_log
    Also, you can review the current cpanellogd action with a command such as: ps aux|grep cpanellogd
    You may want to wait for the existing activity to finish before proceeding. Thank you.
    0
  • audrey
    Hi I ran the commands to check that nothing is running. Unless I am misreading the results-nothing appears to be running. root@host [~]# tail -f /usr/local/cpanel/logs/stats_log [2014-08-04 17:40:04 -0400] [sepxferlog] [2014-08-04 17:40:05 -0400] [sepxferlog] complete [2014-08-04 17:40:05 -0400] Done Checking Logs ==> Loaded RRDs: version 1.4.7 [2014-08-04 17:48:25 -0400] Checking Bandwidth [2014-08-04 17:48:25 -0400] I/O: best-effort: prio 4 [2014-08-04 17:48:25 -0400] Processing bandwidth. [2014-08-04 17:48:29 -0400] Done Checking Bandwidth ==> Loaded RRDs: version 1.4.7 ==> Retention days: 15 root@host [~]# ps aux|grep cpanellogd root 16624 0.0 0.0 27164 3444 ? SN Jul22 0:05 cpanellogd - sleeping for logs root 22920 0.0 0.0 103248 860 pts/6 S+ 17:55 0:00 grep cpanellogd root@host [~]# After I ran the above commands- I tried the /scripts/fixwebalizer* script again. Same results- I got the "Logs are already being processed, please try again later" message What is strange- is that 1-one of the sites that I ran the script on- (that hasn't worked since 2003) after I ran the /scripts/fixwebalizer* script and after I got the "Logs are already being processed, please try again later" message - the webalizer stats miraculously deleted all old webalizer files and started working again. 2- Another site that was working - after I ran the /scripts/fixwebalizer* script -it stopped working. In both of the above cases, when I ran the /scripts/fixwebalizer* script -I got the "Logs are already being processed, please try again later" message Thanks again for your help. Take Care Audrey
    0
  • cPanelMichael
    Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.