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 09-07-2011, 03:04 PM   #1
sinsebug
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Error using squid report generator


When I try to generate a report using squid report generator I get the following error. Why?
Now generating Sarg report from Squid log file /var/log/squid/access.log and all rotated versions ..


sarg -l /var/log/squid/access.log.5.gz
SARG: Decompressing log file: /var/log/squid/access.log.5.gz > /tmp/sarg-file.in (zcat)
SARG: Records in file: 1, reading: 0.00%
SARG: (css) Cannot open file: /var/www/sarg/sarg.css
SARG: Records in file: 1, reading: 100.00%

.. Sarg failed! See the output above for details.
Thanks
 
Old 09-09-2011, 11:03 PM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
It looks like the CSS file used to format the output is either missing or has file permissions that prevent it from being read by sarg as it tries to create its reports. Start snooping around that.
 
  


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
Squid's report generator - Sarg: need assistance mandrakeBren Linux - Newbie 1 11-18-2009 02:07 AM
generating a report in Squid's report generator - Sarg mandrakeBren Linux - Software 0 11-03-2009 07:59 AM
How to install and configure Squid Analysis Report Generator perfectpol7 Linux - Server 9 02-25-2009 06:33 AM
out of inodes in a 'Squid analysis report generator' mariogarcia Debian 3 02-23-2007 04:50 AM
how to use squid analysis report generator heero82 Linux - Software 1 06-22-2003 11:23 PM


All times are GMT -5. The time now is 04:13 PM.

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