analyzers, webalizer and analog NOT UPDATING

akaize

Member
Jun 1, 2002
6
0
301
I have few accounts with a host who useses Cpanel 4.8

Recently I noticed that none of my analyzers, webalizer and analog are updated, the last update for some accounts were only on 22.5.2002
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
This has been an issue for us since mid-week. Have either of you filed a bug report on it (or anyone else)? I'd check, but once again I can't load bugzilla. I'd think it was a conspiracy by Nick, but I did get in the other day. :)
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
Bug filed. 628.
 

wozza

Member
Feb 14, 2002
8
0
301
stats not updating serverwide

Has this been resloved ?
I have the same problem...
 

koko

Member
Mar 17, 2002
6
0
301
I solve this problem just adding a daily.cron job. The file that updates the logs for webalizer and analog is /usr/local/cpanel/cpanellogd.

Just add a file calling cpanellogd into cron.daily directory and that´s all.
 

itf

Well-Known Member
May 9, 2002
620
0
316
try this via SSH connection to your server:

/scripts/fixwebalizer
 

Hoster2k

Well-Known Member
Jun 17, 2002
131
0
166
UK
I have a similar problem..

Ever since a few weeks ago the only way cpanellogd runs is if I run it manually...

I'm also not sure if it is rotating the logs properly (raw logs)

The problem seemed to happen when sub domain stats started to be processed - the load goes high. Set extracpus to 2 so it thinks it has 4 cpus (has two already) - seems to do the trick but it doesnt want to run the webalizer stats on its own without me telling it to.

I opened a bugzilla the other week - didn't get a reply to it wheras I have with my others. Been told this problem is affecting about 5% of users.
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
I am having the same problems. Not automatic updates to stats since June 12.

I can run cpanellogd manually and that updates webalizer stats, but is there a way to update Awstats manually?
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
Looks like mine stopped on the 14th of June. :-(
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
After review, running cpanellogd did update my Awstats. So a temp fix is to setup a cron to run cpanellogd on a nightly basis.
 

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
[quote:4356d14f75][i:4356d14f75]Originally posted by Hoster2k[/i:4356d14f75]

I have a similar problem..

Ever since a few weeks ago the only way cpanellogd runs is if I run it manually...

I'm also not sure if it is rotating the logs properly (raw logs)
[/quote:4356d14f75]

Does cpanel actually rotate logs? This is news to me. This has been our biggest problem because we had to install a log rotation script to rotate the logs weekly. However when this happens if the stats haven't updated in a few hours (sometimes as far back as 36 hours) you lose those domlog entries the next time the stats update.

I'll try running cpanellogd everynight to see if that helps :)

I really wish cpanel would implement a reliable stats and log rotation system :)
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
[quote:651db9b775][i:651db9b775]Originally posted by koko[/i:651db9b775]

I solve this problem just adding a daily.cron job. The file that updates the logs for webalizer and analog is /usr/local/cpanel/cpanellogd.

Just add a file calling cpanellogd into cron.daily directory and that´s all.[/quote:651db9b775]

This fixed the problem for us as well. Simply create a file named &cpanellogd& in your /etc/cron.daily directory and in it put:

[b:651db9b775]#!/bin/sh

/usr/local/cpanel/cpanellogd[/b:651db9b775]

Then save it and chmod 755 the file.
 

vapetrov

Member
May 24, 2002
20
1
303
I am also have problems with stats.
My CPU have high load now. But I want to have webalizer stats in any way.

Can anybody tell me how to run
/usr/local/cpanel/cpanellogd
when CPU have high load?