Current time: 09-26-2024, 02:30 AM Hello There, Guest! (LoginRegister)


Post Reply 
awstats nach update...
Author Message
Janko Offline
Junior Member
*

Posts: 189
Joined: May 2007
Reputation: 1
Post: #1
awstats nach update...
... leider nicht mehr aktiv.

habe letzte nacht auf rc4 geupdatet und wollte gerade so meinen täglichen check machen. da ist mir jedoch aufgefallen das auf seiten die sonst 1500 besucher am tag haben, auf einmal nur noch 6 waren. hab dann mal ein wenig geschaut, und es sieht so aus als wenn awstats nicht mehr laufen würde. gebt mir bitte mal tips für eine saubere fehlerdiagnose.

danke an alle

sebastian
03-19-2008 06:08 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: awstats nach update...
awstats läuft nicht einfach, es wird im cron aufgerufen. Daher würde ich mal dort beginnen.
03-19-2008 08:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Janko Offline
Junior Member
*

Posts: 189
Joined: May 2007
Reputation: 1
Post: #3
RE: awstats nach update...
joximu Wrote:awstats läuft nicht einfach, es wird im cron aufgerufen. Daher würde ich mal dort beginnen.

im /etc/cron.d ist die awstats datei noch vorhanden mit folgendem inhalt:

Code:
0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null
03-19-2008 08:12 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: awstats nach update...
Wird das auch gemacht? Sollte ja alle 10 Minuten einen Eintrag irgendwo im syslog oder so haben - läuft cron?

Ausserdem gibt's bei mir im ispcp auch etwas, was mit awstats zu tun hat

Code:
# AWStats
15 */6 * * *    root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1

/J
03-19-2008 08:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Janko Offline
Junior Member
*

Posts: 189
Joined: May 2007
Reputation: 1
Post: #5
RE: awstats nach update...
bei mir schaut es in der iscp nun so aus:

# AWStats
{AW-ENABLED}15 */6 * * * root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl >/dev/null 2>&1

# Rootkit Hunter
{RK-ENABLED}0 */12 * * * root {RKHUNTER} --scan-knownbad-files --check-deleted --createlogfile --cronjob --createlogfile {RKHUNTER_LOG} >/dev/null 2>&1

# Chkrootkit
{CR-ENABLED}0 */12 * * * root {CHKROOTKIT} &> {CHKROOTKIT_LOG}
03-19-2008 08:35 AM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #6
RE: awstats nach update...
Das Problem hatten wir heute schon einmal:
http://www.isp-control.net/forum/awstats...-2773.html
03-19-2008 08:39 AM
Find all posts by this user Quote this message in a reply
Janko Offline
Junior Member
*

Posts: 189
Joined: May 2007
Reputation: 1
Post: #7
RE: awstats nach update...
Cube Wrote:Das Problem hatten wir heute schon einmal:
http://www.isp-control.net/forum/awstats...-2773.html

ich bin ja echt begeistert von dem support hier Wink

hab das nun mal angepaßt und schau mal was passiert


danke an alle Smile


"edit"

einträge ausgebessert und nun läuft wieder alles

gruß
sebastian
(This post was last modified: 03-19-2008 11:05 AM by Janko.)
03-19-2008 08:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)