Bug 41322 - daily mail when access.log is zero.
daily mail when access.log is zero.
Status: CLOSED RAWHIDE
Product: Red Hat Powertools
Classification: Retired
Component: webalizer (Show other bugs)
7.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-05-18 15:35 EDT by Ricardo Ariel Gorosito
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-18 15:47:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ricardo Ariel Gorosito 2001-05-18 15:35:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [es] (X11; U; Linux 2.4.3-5 i686)

Description of problem:
the trouble is in /etc/cron.daily/00webalizer :

try to replace:

/usr/bin/webalizer

with:

LOGFILE=/var/logs/httpd/access_log
[ -s $LOGFILE ] && /usr/bin/webalizer

in that file.

How reproducible:
Always

Steps to Reproduce:
1. cp /var/log/httpd/access_log /var/logs/httpd/access.log.old
2. > /var/logs/httpd/access_log
3. /usr/bin/webalizer
ERROR MESSAGE :
No valid records found!
4.- mv -f /var/logs/httpd/access.log.old /var/logs/httpd/access_log
	

Additional info:
Comment 1 Ricardo Ariel Gorosito 2001-05-18 15:46:55 EDT
ERRATA:

LOGFILE=/var/logs/httpd/access_log

is:

LOGFILE=/var/log/httpd/access_log

thx.
Comment 2 Ngo Than 2001-05-18 16:21:35 EDT
It's fixed in webalizer-2.01_06-6. Thanks

Note You need to log in before you can comment on or make changes to this bug.