LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-10-2007, 10:58 AM   #1
apachenew
Member
 
Registered: Jul 2007
Posts: 30

Rep: Reputation: 15
Webalizer error: can't open log file


Hello

I have a Redhat ES 4 with Apache 2.2.6 compiled.
Webalizer is also compiled V2.01-10.
Webalizer has been working until recently.
The log says: Can't open log file /wwwroot/logs/access_log
The permissions are fine, it's just seems the log file size is too big.
It seems b/c the access-Log file is over 2 GB, webalizer cannot process it.
If apache is compiled, then do I need to manually setup a log rotate via cron job?

Thanks.
 
Old 10-10-2007, 04:09 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I wouldn't want to try and read from a 2GB file so I'm sure webalizer doesn't want to. I'd say setup logrotate. If you want to keep them around for archiving purposes, compress and move them out of the way as well.

And logrotate should already be setup or installed. Check /etc/logrotate.conf and /etc/logrotate.d/ for the scripts to add apache logs to the rotation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webalizer reading wrong log file blizunt7 Linux - Software 0 05-27-2007 02:03 AM
pureftp log format and webalizer laggerific Linux - Software 0 11-13-2006 03:06 PM
Geting error loop QFike:getch: File not open QFile:atEnd: this file is not open badgerbox76 Linux - Newbie 6 01-07-2006 05:30 PM
Proftpd log file analysis with webalizer firefly2442 Linux - Software 1 01-20-2005 09:42 PM
Webalizer With Log Rotation dmedici Linux - Software 0 08-17-2004 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration