SARG suddenly can't process
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Squid > SARG suddenly can't process




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SARG suddenly can't process  
Greg Oleksiak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 07:57 PM

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=TRAVELO
CITY&adsize=125x125&area=air&orig=CHS&dest=BHM&random=873372.unsort

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:34 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register