LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-20-2011, 03:37 AM   #1
mmz
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Unhappy Webalizer Problem for squid


Hi All

I using squid 3.1 on CentOS 6. squid is running smoothly.
When I implement the webalizer for squid I got the follow error;

I edited in /etc/webalizer.conf
LogFile /var/log/squid/access.log
HostName example.com

than I run follow command

webalizer -c /etc/webalizer.conf
Error: Can't open log file /var/log/squid/access.log

I don't know why? ??????

HELP ME ... PLS
 
Old 09-22-2011, 10:38 PM   #2
mmz
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mmz View Post
Hi All

I using squid 3.1 on CentOS 6. squid is running smoothly.
When I implement the webalizer for squid I got the follow error;

I edited in /etc/webalizer.conf
LogFile /var/log/squid/access.log
HostName example.com

than I run follow command

webalizer -c /etc/webalizer.conf
Error: Can't open log file /var/log/squid/access.log

I don't know why? ??????

HELP ME ... PLS
My Squid and Webalizer Version as follow;

[root@cache1 squid]# rpm -qa | grep squid
squid-3.1.4-1.el6.i686
[root@cache1 squid]# rpm -qa | grep webalizer
webalizer-2.21_02-3.3.el6.i686
[root@cache1 squid]#

Somebody Help me!
 
Old 09-23-2011, 12:29 AM   #3
scopiansl
LQ Newbie
 
Registered: Jul 2010
Posts: 23

Rep: Reputation: 1
Can you post the permissions of /var/log/squid/access.log file
Are you logged as root?

C. C. Illeperuma
 
Old 09-23-2011, 02:50 AM   #4
mmz
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Smile (Solved) Webalizer Problem for Squid

Quote:
Originally Posted by scopiansl View Post
Can you post the permissions of /var/log/squid/access.log file
Are you logged as root?

C. C. Illeperuma
Thank You scopiansl
I solved out this problem today. See the follow link, it is very useful.

https://www.centos.org/modules/newbb...33371&forum=56

Good Luck
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem with webalizer uppalagayatri Linux - Software 2 05-09-2011 07:38 AM
Webalizer - How do I see in apache all the html webalizer reports ? ytd Linux - General 11 01-20-2010 11:37 PM
Error: webalizer logging squid btaylor1988 Linux - Server 1 06-04-2008 04:44 AM
webalizer problem?? venki Linux - Newbie 3 03-07-2007 11:54 PM
WebAlizer and Squid Anubis *BSD 0 09-10-2002 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:55 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