Add to Favorites
Hosting Discussion
 

forgot password?


SPONSORED LINKS

Reply


Old
  Post #1 (permalink)   02-11-2002, 03:22 PM
HD Newbie
 
Join Date: Jan 2002
Location: Karachi, Pakistan
Posts: 3

Status: Omair Haroon is offline
Hello Guys,

The same old problem. Webalizer is not generating stats. Reason, because logs are not being rotated for some unknown reason. I have gone through almost every related topic on Cobalt Users Mailing List as well as WHT but could'nt find an answer.

The main problem is, I think that whatever script splits the access_log into individual site log files (e.g; web.log, ftp.log) is not doing its job properly. That is atleast what I assume from my experience. Somebody eventually being nice me, told me to edit /etc/logrotate.d/apache so that webalizer runs before logs are rotatated.

Any idea how woudl I do it ?


Salam,
-Omair
 
 
 


Old
  Post #2 (permalink)   02-13-2002, 02:46 PM
HD Addict
 
Homer's Avatar
 
Join Date: Jan 2002
Posts: 122

Status: Homer is offline
Hmm...

What version of Webalizer do you have? Where did you get it? What RaQ do you have? 3 or 4? Also, did you install the "/home log patch"?

Try deleting all
/home/sites/*/logs files (* means all logs for virtual sites - be sure to TURN OFF httpd for this) and then delete the logs...
Also delete /etc/httpd/logs
all logs there...

Restart apache... Maybe that might do the trick...
Let me know, and post what RaQ and Webalizer you use...
 
 
 


Old
  Post #3 (permalink)   02-13-2002, 02:51 PM
HD Newbie
 
Join Date: Jan 2002
Location: Karachi, Pakistan
Posts: 3

Status: Omair Haroon is offline
Well, I am running Webalizer 2.0 on a RaQ3.

I have almost solved the problem. In /etc/logrotate.d/apache there needed to be entry for /usr/bin/webalizer.pl but there was'nt any. So I added before the split_logs one and saved it.

That seems to be solve the problem for now. I am expecting to dig in further and clean up things up.

Thanks for your help Homer anyways.


Salam,
-Omair
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On