LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2011, 06:22 AM   #1
micro_xii
Member
 
Registered: Sep 2006
Posts: 140

Rep: Reputation: 15
Question SARG in centos 6 error analyzing


Greetings:

centos 6

I test dansguardian+squid+webalizer and its working. The problem with webalizer it doesn't show the which sites was access by the users. I want to filter by user and which sites.

now i try SARG but came with this problem.

/usr/bin/sarg -l /var/log/squid/access.log-20111016.gz
SARG: Cannot open config file: /etc/sarg.conf - No such file or directory


Full path to sarg executable: /usr/bin/sarg
Full path to SARG configuration file: /etc/sarg/sarg.conf
Sarg report in /var/www/sarg/ONE-SHOT

What configuration did i missed? Can anyone help me..

thanks
 
Old 10-23-2011, 05:11 AM   #2
vasile002
Member
 
Registered: Oct 2011
Posts: 51

Rep: Reputation: Disabled
It is searching for the config in /etc/sarg.conf not sure why. You can symlink it:
Code:
ln -s /etc/sarg/sarg.conf /etc/sarg.conf
 
Old 10-24-2011, 01:40 AM   #3
micro_xii
Member
 
Registered: Sep 2006
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by vasile002 View Post
It is searching for the config in /etc/sarg.conf not sure why. You can symlink it:
Code:
ln -s /etc/sarg/sarg.conf /etc/sarg.conf
thanks..but what i did, I delete the webalizer and i figure it out that the sarg i installsarg-2.3-2.el6.test.i686.rpm, maybe thats the problem its beta..it says test...hahaha..

correct me if im wrong...
 
Old 10-25-2011, 01:10 PM   #4
vasile002
Member
 
Registered: Oct 2011
Posts: 51

Rep: Reputation: Disabled
I don't believe that has anything to do with it.

It depends on how you start it. Is there any init script? Check if it specifies the path to the config file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Install Sarg to monitor Squid not success. Cannot see sarg.conf file !!! Help me. ducloiag Linux - Networking 2 11-30-2010 08:32 PM
Sarg CentOS 4 IP instead of UserID ytd Linux - Newbie 3 01-15-2010 04:43 AM
sarg error andycol Linux - Software 1 09-09-2009 08:55 AM
sarg report error neoplasma Linux - Server 2 07-15-2008 06:06 AM
SARG: *** stack smashing detected ***: sarg terminated Aborted btaylor1988 Linux - Server 0 06-10-2008 03:28 AM


All times are GMT -5. The time now is 08:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration