Closed cmartinezt closed 9 years ago
Hi,
What is the content of file /var/www/squidanalyzer/SquidAnalyzer.current supposing that you use the default output directory?
Thanks for the result of the perl command, it is useful to know if this is a Perl version issue. Here everything seems ok.
Regards,
Hi Darold. Thank you so much for your quick answer.
I'm using the default output directory.
The content is:
cat SquidAnalyzer.current 14380788881438087484.370 22527170048
Regards.
I don't really understand how you got this file corrumped by here you must removed the ten first numbers of the line (1438078888) to obtain the following:
1438087484.370 22527170048
Have you edited this file by hand? Or do you have ran multiple instances of squid-analyzer at the same time?
Regards,
Maybe I replaced the file when I reinstalled the software. Well, I followed your instructions and now the report is generating OK. Mr Darold, thanks a lot for you quick help. The world needs people like you. Regards.
Hi Darold, thank you so much for your great work.
Please help me with this issue:
I ran for first time SquidAnalyzer and the report was sucessfully created without problems. I was using the official 6.2.1 release. One day after I saw that the report wasn´t upgraded. If I run squid-analyzer it didn´t do nothing. I ran squid-analyzer -d and I had an error message for stfrtime. In the forum I found a similar error and I installed your last master code but the error stays as you can see:
squid-analyzer -d SquidAnalyzer version 6.2 Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1) at /usr/share/perl5/vendor_perl/SquidAnalyzer.pm line 1398.
I see in other post that you require this command:
perl -e 'use POSIX qw/ strftime /; print "Date: ", strftime("%a %b %e %H:%M:%S %Y", CORE::localtime), "\n";' Date: Tue Sep 1 06:05:35 2015
I am using CentOS 6.7 64 bits, perl-5.10.1-141.el6.x86_64
LANG=en_US.UTF-8
Initially in my squid-analyzer I had Lang as es_ES, trying to fix the problem now I have en_US.
If you need more information please let me know. Thanks in advance.