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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |