Code: Select all
Could not open /var/log/warn at /root/srvreport-0.35/bin/lib/perl/SRVREPORT/LogReport.pm line 82.
Habe das mal zum testen so eigestellt.
Ausserdem ist der Eintrag in der httpd.conf so:
Code: Select all
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%v "%{Host}i" %h %t "%r" %>s %b" srvreport
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
# CustomLog logs/access_log common
CustomLog logs/access_log combined
CustomLog |/root/srvreport-0.35/bin/pipelog.pl srvreport
Was könnte ich sonst noch vergessen oder falsch gemacht haben?
PS: Wirklich, Kompliment wie du dir hier die Zeit nimmst allen zu helfen.
EDIT:
Ich habe mir nochmal alles genau durchgeschaut. Die Pfade sind richtig und auch die Dateien sind da wo sie sein sollten.
Hier z.b. im Ordner /var/log/httpd
Code: Select all
-rw-r--r-- 1 root root 146336321 20. Feb 15:40 access_log
-rw-r--r-- 1 root root 151707132 15. Feb 03:49 access_log.1
-rw-r--r-- 1 root root 221164246 8. Feb 04:03 access_log.2
-rw-r--r-- 1 root root 19677151 1. Feb 04:02 access_log.3
-rw-r--r-- 1 root root 5066571 20. Feb 15:40 error_log
-rw-r--r-- 1 root root 5130010 15. Feb 04:05 error_log.1
-rw-r--r-- 1 root root 7672840 8. Feb 04:03 error_log.2
-rw-r--r-- 1 root root 947788 1. Feb 04:02 error_log.3
-rw-r--r-- 1 root root 3162632 20. Feb 15:40 srvreport_2004-02-20
-rw-r--r-- 1 root root 0 31. Jan 06:12 ssl_access_log
-rw-r--r-- 1 root root 2607 20. Feb 12:38 ssl_error_log
-rw-r--r-- 1 root root 7821 11. Feb 05:23 ssl_error_log.1
-rw-r--r-- 1 root root 7347 7. Feb 21:47 ssl_error_log.2
-rw-r--r-- 1 root root 6162 31. Jan 18:28 ssl_error_log.3
-rw-r--r-- 1 root root 0 31. Jan 06:12 ssl_request_log