Blog Entry

Bug causes sarg segmentation fault when reading squid access.log file.

Author Info

17 January 2008 - 6:14am
Submitted by: doheiligh

blog
Reads:

4360

Score:
0
0
 
Comments:

0

As I touched on a few posts ago, I have now got squid set up as a transparent proxy. My next logical step was to set up Sarg to report on the traffic passing through the machine to the Internet.

Of course, Sarg is quite easy to set up. It's as simple as installing the package and telling it where to look for access.log in /etc/sarg.conf. However, it looks like there is a bug in the version of Sarg that is shipped with openSUSE as throws out a message complaining of Segmentation faults when reading the logs.

I've been mulling this problem over in my mind for the last week or so but I've not really given it much attention. Today I decided to email the openSUSE list and with in minutes, someone had got back to me with a possible cause. The issue is already known of and a fix has been released.

The bug ID is: 342529 and the address to the fix is: http://download.opensuse.org/repositories/server:/... From here, you can download the latest version of the sarg rpm and install it using: rpm -Uvh sarg*

It just goes to show. The openSUSE community is really going strong. There are a lot of problems resolved every day.


Author Info

17 January 2008 - 6:14am
Submitted by: doheiligh




User Comments

© 2009 Novell, Inc. All Rights Reserved.