#18 sage -r problem

closed
nobody
None
5
2009-10-06
2009-07-01
Anonymous
No

I have installed sarg on debian lenny - standard instalation
#apt-get install sarg
next i have opened few web pages on clients,
and I run on a server
#sarg
now when I open
http://localhost/squid-reports/index.html
I have report from today, but it is not updated - I have to run "#sarg" every time to have it updated

I found that if I copy sarg-realtime.php to /var/www/squid-reporst/sarg-realitime.php I should have all records updated all the time but
http://localhost/squid-reports/sarg-realitime.php displays empty box:
SARG Realtime Auto refresh: 3 s
DATE/TIME IP/NAME USERID TYPE ACCESSED SITE
which is auto refreshed every 3 seconds

I have checked what is inside this php file, and there is sarg -r command, so I have tried to run it:
terminator:/var/www/squid-reports# sarg -r
SARG: getword3 loop detected.
SARG: Buffer="__utmz=183859642.1245845764.2.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); s_vi=%5bCS%5dv1|4A421904000069AD-A0208550000018A%5bCE%5d\r\n] [HTTP/1.0 200 OK\r\nAge: 631\r\nDate: Tue, 30 Jun 2009 11:18:17 GMT\r\nExpires: Tue, 30 Jun 2009 11:33:17 GMT\r\nCache-Control: max-age=900\r\nETag: "KXAMFBAJNBMUNQQRUY"\r\nServer: Apache/2.2.3 (Red Hat)\r\nX-Powered-By: PHP/5.1.6\r\nCteonnt-Length: 5140\r\nContent-Type: text/html; cha"
SARG: searching for 'x20'
SARG: Maybe you have a broken record or garbage in your log file.
terminator:/var/www/squid-reports#sarg -v
SARG Version: 2.2.5 Mar-03-2008

could you help me?

Discussion

  • Frederic Marchal

    • status: open --> closed
     

Log in to post a comment.