Koozali.org: home of the SME Server

SARG stopped working

Offline Drufazz

  • **
  • 23
  • +0/-0
SARG stopped working
« on: May 09, 2008, 03:27:06 AM »
Hi All,

Sarg is no longer working for me. If I type "Sarg restart" I get:

SARG: Records in file: 86, reading: 100.00%
SARG: No records found
SARG: End

This is after renaming the squid log file in case it was corrupted or something.

I've check the sarg.conf file and it all seems ok, it's reading the squid log file and the output directory is ok.

Anyone got any ideas ?

Cheers,



Offline funkusmunkus

  • *
  • 220
  • +0/-0
Re: SARG stopped working
« Reply #1 on: June 02, 2008, 06:53:43 AM »
yeah I'm having the same issue I typed
Code: [Select]
sarg restartand I get
Quote
SARG: File not found: /var/log/dansguardian/access.log
but the file does exist, and typing
Code: [Select]
tail -f /var/log/dansguardian/access.logdisplays no issues.

I hope someone can help us
cheers

Edit: Last day it worked was 8th of May, the day before you posted
.........

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SARG stopped working
« Reply #2 on: June 02, 2008, 10:48:26 AM »
Did you do anything special, perhaps an update, before it stopped working?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Drufazz

  • **
  • 23
  • +0/-0
Re: SARG stopped working
« Reply #3 on: June 02, 2008, 12:58:48 PM »
Mines working again. I'm not sure why :)

Things I did do:

Case sensitive matters in the conf file so made sure all directories/files reference in the conf file were the right case.
Disabled the exclude_codes section.
Changed the default output directory.

I'm not sure exactly what I done to get it working, possibly the exclude codes section .. maybe it was excluding everything because i had something typed wrong ?

Cheers,


Offline funkusmunkus

  • *
  • 220
  • +0/-0
Re: SARG stopped working
« Reply #4 on: June 03, 2008, 02:20:09 AM »
I had a look at the config file and the exclude codes, nothing there note worthy, however I'm not sure about the dates, but I did run something called prune sarg from here http://www.tech-geeks.org/contrib/mdrone/prune-SARG.tgz to get rid of some of the old log files.
but that's the only thing I can think of that changed
.........