Jump to content

Recommended Posts

Posted (edited)

Ubuntu 12.10

Squid3 3.1

Dansguardian 2.10.1.1

Postfix 2.9.6

 

When I attempt to 'Generate Report Now' using 'Squid Report Generator' on the Webmin module I get the following error message:

 

sarg -l /var/log/squid3/access.log mail: cannot send message: Process exited with a non-zero status
SARG: command return status 36SARG: command: sudo mail -s "SARG report, Wed May  8 12:40:11 2013" "[email protected]" <"/tmp/sarg/2013May08-2013May08/report"

 

Sending mail via the 'Mail' command works fine. I was also getting error messages via email:

Failed to generate Sarg report:sarg -l /var/log/squid3/access.log
SARG: getword backtrace:
SARG: 1:sarg() [0x4091c7]
SARG: 2:sarg() [0x4096c1]
SARG: 3:sarg() [0x405caa]
SARG: 4:/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7ff08ed3e76d]
SARG: 5:sarg() [0x408981]
SARG: Maybe you have a broken time in your access.log file
SARG: getword loop detected after 255 bytes.
SARG: Line=""
SARG: Record=""
SARG: searching for 'x20'

 

I've tried various Source and Destination variations as well as changing the permissions on the log files themselves. This used to work when I had Sendmail installed but I recently switched to Postfix due to how complex Sendmail was and various other issues I was having (look at my other threads).

 

Please can someone tell me what's going on?

Thanks

Edited by Bullet333

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...