SARG suddenly can't process

This is a discussion on SARG suddenly can't process within the Squid Users forums, part of the Web Server and Related Forums category; I am running SQUID2.5 on RH9 which works great. I have had SARG 1.4.1 running great for ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-11-2004
Greg Oleksiak
 
Posts: n/a
Default SARG suddenly can't process

I am running SQUID2.5 on RH9 which works great. I have had SARG 1.4.1
running great for 3 months, and then it stopped producing reports. If
I run my daily report manually, I get the following:

[root@CHOMSKY root]# /etc/cron.daily/sarg
/usr/bin/sarg: (log) Cannot open temporary file:
/tmp/sarg/dcollins..travelocity.com/html.ng/site=travelocity&cobrand=TRAVELOCITY&adsize=125x12 5&area=air&orig=CHS&dest=BHM&random=873372.unsor t

I am using the following daily script:

#!/bin/bash
exec /usr/bin/sarg \
-o /usr/local/apache2/htdocs/squid-reports/daily \
-d "$(date --date "1 day ago" +%d/%m/%Y)"

Every day I run it, it stops on a different line because the script
only processes the previous days' lines, so I think it is a character
set issue. Here is the output from the locale command:

[root@CHOMSKY root]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

The partitions have plenty of space:

[root@CHOMSKY root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 34G 3.0G 29G 10% /
/dev/sda1 99M 9.3M 85M 10% /boot
none 504M 0 504M 0% /dev/shm
/dev/sda2 34G 610M 31G 2% /var

The access.log is currently 89MB. Any ideas?

Thanks in advance...Greg
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0