RE: awstats problemchen - BeNe - 01-14-2008 08:20 PM
Das sieht alles korrekt aus!
Passiert denn was wenn Du den Cronjob manuell startest ?
Code:
/var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl
Greez BeNe
RE: awstats problemchen - totototo - 01-14-2008 08:33 PM
BeNe Wrote:Das sieht alles korrekt aus!
Passiert denn was wenn Du den Cronjob manuell startest ?
Code:
/var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl
Greez BeNe
hallo,
das ist die ausgabe aus dem anschubsen
Code:
toni:~# /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr /lib/cgi-bin/awstats.pl
Running '"/usr/lib/cgi-bin/awstats.pl" -update -config=default -configdir="/etc/ awstats"' to update config default
Error: SiteDomain parameter not defined in your config/domain file. You must edi t it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong .
Check config file, permissions and AWStats documentation (in 'docs' directory).
Running '"/usr/lib/cgi-bin/awstats.pl" -update -config=korinna-maercheninsel.de -configdir="/etc/awstats"' to update config korinna-maercheninsel.de
Update for config "/etc/awstats/awstats.korinna-maercheninsel.de.conf"
With data in log file "/var/log/apache2/korinna-maercheninsel.de-combined.log".. .
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Jumped lines in file: 0
Parsed lines in file: 16
Found 4 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 12 new qualified records.
Running '"/usr/lib/cgi-bin/awstats.pl" -update -config=tonihome.eu -configdir="/ etc/awstats"' to update config tonihome.eu
Update for config "/etc/awstats/awstats.tonihome.eu.conf"
With data in log file "/var/log/apache2/tonihome.eu-combined.log"...
Phase 1 : First bypass old records, searching new record...
Direct access after last parsed record (after line 45)
Jumped lines in file: 45
Found 45 already parsed records.
Parsed lines in file: 27
Found 2 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 25 new qualified records.
RE: awstats problemchen - BeNe - 01-14-2008 08:42 PM
Ok, das passt auch!
Es liegt also sicher am Apache. Schau mal in deiner
Code:
/etc/apache2/sites-enabled/ispcp.conf
nach ob es da einen eintrag für den awstats support gibt!
Code:
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/deinedomain.tld
ProxyPassReverse /stats http://localhost/stats/deinedomain.tld
# httpd awstats support END.
Greez BeNe
RE: awstats problemchen - totototo - 01-14-2008 09:03 PM
BeNe Wrote:Ok, das passt auch!
Es liegt also sicher am Apache. Schau mal in deiner
Code:
/etc/apache2/sites-enabled/ispcp.conf
nach ob es da einen eintrag für den awstats support gibt!
Code:
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/deinedomain.tld
ProxyPassReverse /stats http://localhost/stats/deinedomain.tld
# httpd awstats support END.
Greez BeNe
hallo,
die einträge passen ebenfalls aber was ist hiermit
Code:
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong .
Check config file, permissions and AWStats documentation (in 'docs' directory).
wie muss die datei aussehen ich hänge die mal an
RE: awstats problemchen - BeNe - 01-14-2008 09:55 PM
Der Fehlereintrag ist OK. Kann Du so laufen lassen.
Diese Config kommt mit Debian und hat keine auswirkung darauf. Was sagt denn das Logfile von Apache ?
Mich würde mal interessieren wo er da reinspringt.
Greez BeNe
RE: awstats problemchen - totototo - 01-14-2008 11:52 PM
hier mal ein auszug aus dem apache log
Code:
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /stats/ HTTP/1.1" 404 1141 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /errors/inc/errordocs.js HTTP/1.1" 304 - "http://www.tonihome.eu/stats/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /errors/inc/errordocs.css HTTP/1.1" 304 - "http://www.tonihome.eu/stats/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /errors/inc/error_top.jpg HTTP/1.1" 304 - "http://www.tonihome.eu/errors/inc/errordocs.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /errors/inc/valid_css.jpg HTTP/1.1" 304 - "http://www.tonihome.eu/stats/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 304 - "http://www.tonihome.eu/stats/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
RE: awstats problemchen - BeNe - 01-14-2008 11:54 PM
Gut, aber das steht ja nix vom 404er. Du musst in die errorlog schauen.
Greez BeNe
RE: awstats problemchen - rbtux - 01-15-2008 12:14 AM
217.243.170.114 - - [14/Jan/2008:11:44:35 +0100] "GET /stats/ HTTP/1.1" 404 1141 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
RE: awstats problemchen - joximu - 01-15-2008 12:19 AM
naja, aber warum es einen 404 gab, das sollte dann im error.log stehen... (hoffentlich)
RE: awstats problemchen - totototo - 01-15-2008 12:43 AM
hallo leute,
sorry für den falschen auszug
hier die error log aber viel kann man auch nicht raus erkennen.
Code:
[Mon Jan 14 00:17:55 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/tonihome.eu/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 13831)
[Mon Jan 14 00:18:16 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/tonihome.eu/php5-fcgi-starter" (pid 13831) termination signaled
[Mon Jan 14 00:18:16 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/tonihome.eu/php5-fcgi-starter" (pid 13831) terminated by calling exit with status '0'
[Mon Jan 14 12:21:45 2008] [notice] SIGUSR1 received. Doing graceful restart
[Mon Jan 14 12:21:45 2008] [warn] NameVirtualHost 78.47.102.11:80 has no VirtualHosts
[Mon Jan 14 12:21:45 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jan 14 12:21:45 2008] [notice] FastCGI: process manager initialized (pid 14487)
[Mon Jan 14 12:21:45 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 14488)
[Mon Jan 14 12:21:45 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Mon Jan 14 12:22:02 2008] [notice] caught SIGTERM, shutting down
[Mon Jan 14 12:22:04 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jan 14 12:22:04 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jan 14 12:22:04 2008] [notice] FastCGI: process manager initialized (pid 14589)
[Mon Jan 14 12:22:04 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 14591)
[Mon Jan 14 12:22:04 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Mon Jan 14 12:22:19 2008] [notice] caught SIGTERM, shutting down
[Mon Jan 14 12:22:27 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jan 14 12:22:27 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jan 14 12:22:27 2008] [notice] FastCGI: process manager initialized (pid 14704)
[Mon Jan 14 12:22:27 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 14705)
[Mon Jan 14 12:22:27 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Mon Jan 14 12:24:14 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/tonihome.eu/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 14932)
[Mon Jan 14 12:32:27 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/tonihome.eu/php5-fcgi-starter" (pid 14932) termination signaled
[Mon Jan 14 12:32:27 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/tonihome.eu/php5-fcgi-starter" (pid 14932) terminated by calling exit with status '0'
|