Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th December 2009, 16:13
mail4vij mail4vij is offline
Junior Member
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default sarg issue while generating reports for squid

I installed sarg from sarg rpm and i am facing issue while generating sarg reports and getting this time different error below

sarg -l /var/log/squid/access.log
SARG: Records in file: 242332, reading: 0.00%
SARG: Records in file: 242332, reading: 2.06%
SARG: Records in file: 242332, reading: 4.13%
SARG: Records in file: 242332, reading: 6.19%
SARG: Records in file: 242332, reading: 8.25%
SARG: Records in file: 242332, reading: 10.32%
SARG: Records in file: 242332, reading: 12.38%
SARG: Records in file: 242332, reading: 14.44%
SARG: Records in file: 242332, reading: 16.51%
SARG: Records in file: 242332, reading: 18.57%
SARG: Records in file: 242332, reading: 20.63%
SARG: Records in file: 242332, reading: 22.70%
SARG: Records in file: 242332, reading: 24.76%
SARG: Records in file: 242332, reading: 26.82%
SARG: Records in file: 242332, reading: 28.89%
SARG: Records in file: 242332, reading: 30.95%
SARG: Records in file: 242332, reading: 33.01%
SARG: Records in file: 242332, reading: 35.08%
SARG: Records in file: 242332, reading: 37.14%
SARG: Records in file: 242332, reading: 39.20%
SARG: Records in file: 242332, reading: 41.27%
SARG: Records in file: 242332, reading: 43.33%
SARG: Records in file: 242332, reading: 45.39%
SARG: Records in file: 242332, reading: 47.46%
SARG: Records in file: 242332, reading: 49.52%
SARG: Records in file: 242332, reading: 51.58%
SARG: Records in file: 242332, reading: 53.65%
SARG: Records in file: 242332, reading: 55.71%
SARG: Records in file: 242332, reading: 57.77%
SARG: Records in file: 242332, reading: 59.84%
SARG: Records in file: 242332, reading: 61.90%
SARG: Records in file: 242332, reading: 63.96%
SARG: Records in file: 242332, reading: 66.03%
SARG: Records in file: 242332, reading: 68.09%
SARG: Records in file: 242332, reading: 70.15%
SARG: Records in file: 242332, reading: 72.21%
SARG: Records in file: 242332, reading: 74.28%
SARG: Records in file: 242332, reading: 76.34%
SARG: Records in file: 242332, reading: 78.40%
SARG: Records in file: 242332, reading: 80.47%
SARG: Records in file: 242332, reading: 82.53%
SARG: Records in file: 242332, reading: 84.59%
SARG: Records in file: 242332, reading: 86.66%
SARG: Records in file: 242332, reading: 88.72%
SARG: Records in file: 242332, reading: 90.78%
SARG: Records in file: 242332, reading: 92.85%
SARG: Records in file: 242332, reading: 94.91%
SARG: Records in file: 242332, reading: 96.97%
SARG: Records in file: 242332, reading: 99.04%
SARG: (download) Cannot open file: /var/www/sarg/ONE-SHOT/2009Dec20-2009Dec29/period
SARG: Records in file: 242332, reading: 100.00%
.. Sarg failed! See the output above for details.

Any suggestion / help would be greatly appreciated
Reply With Quote
Sponsored Links
  #2  
Old 30th December 2009, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Does the directory /var/www/sarg/ONE-SHOT/2009Dec20-2009Dec29 exist? Are the permissions ok?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th December 2009, 16:45
mail4vij mail4vij is offline
Junior Member
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am trying to configure sarg on CentOS 5.4 64 bits i have installed this through sarg x86_64 bits rpm, and even i change the permission of the dir to nobody:nobody and 777 but still i am getting the same error. After that i uninstalled 64 bits rpm and i tried 32 bit sarg rpm but getting this error for installation. as i saw some thread for the same error in this forum that 32 bits sarg can solve this issue.
Code:
rpm -ivh sarg-2.2.3.1-1.el5.rf.i386.rpm
error: Failed dependencies:
	libgd.so.2 is needed by sarg-2.2.3.1-1.el5.rf.i386
Do not how to resolve this libgd issue?

Any suggestion on this would be appreciated.
Reply With Quote
  #4  
Old 31st December 2009, 14:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Maybe you need to install somek ind of 32bit compatibility package, like ia32-libs on Ubuntu? But I don't know if something exists for CentOS...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show usernames on SARG reports pogo Server Operation 0 26th October 2008 17:02
Sarg segmentation fault vinayb HOWTO-Related Questions 2 7th January 2008 11:58
Sarg Segmentation Problem vinayb Kernel Questions 1 4th December 2007 17:14
Sarg Segmentation Problem vinayb Programming/Scripts 1 4th December 2007 17:13


All times are GMT +2. The time now is 16:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.