SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004367: Sarg issue generating logs, : Update Needed - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004367Endian FirewallLog and Statisticspublic2012-05-30 13:562012-05-30 13:57
Reporterardit-endian 
Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusnewResolutionopen 
PlatformOSOS Version
Product Version2.4 
Target VersionFixed in Version 
Summary0004367: Sarg issue generating logs, : Update Needed
DescriptionSarg version is very old (reading also the forum posts at sarg forum)
sarg versione: 2.2.2 Aug-29-2006 and sometimes it causes problem generating the logs [in this case I added -z (debug) and redirected the output to the console :

****************************************************************

root@efw1:/etc/cron.daily # sh sarg
SARG: TAG: charset UTF-8
SARG: TAG: language it
SARG: TAG: access_log /var/log/squid/access.log
SARG: TAG: graphs no
SARG: TAG: title "Endian Firewall HTTP Proxy Access Reports"
SARG: TAG: output_dir /var/www/sarg/ONE-SHOT
SARG: TAG: resolve_ip yes
SARG: TAG: lastlog 12
SARG: TAG: index yes
SARG: TAG: overwrite_report yes
SARG: TAG: mail_utility mail
SARG: TAG: long_url no
SARG: TAG: privacy no
SARG: TAG: dansguardian_conf none
SARG: TAG: show_sarg_info no
SARG: TAG: show_sarg_logo no
SARG: TAG: external_css_file /var/www/sarg/sarg.css
SARG: TAG: realtime_refresh_time 5
SARG: TAG: realtime_access_log_lines 500
SARG: TAG: realtime_types GET,PUT,CONNECT
SARG: TAG: realtime_unauthenticated_records: show
SARG: TAG: exclude_users /etc/sarg/exclude_users
SARG: Decompressione file di log: /var/log/squid/access.log-20300917.gz > /tmp/sarg-file.in (zcat)
SARG: Records in file: 249, reading: 100.00%
SARG: Records in file: 9977, reading: 100.00%
SARG: Nessun records trovato.
SARG: Fine
root@efw1:/etc/cron.daily #
************************************************************

root@efw1:/etc/cron.daily # head -n 10 /var/log/squid/access.log
May 30 00:03:22 efw1 squid[3833]: 1338329002.088 95 127.0.0.1 TCP_MISS/200 534 POST http://213.179.128.168/extern/mc/communicator.php [^] - DIRECT/213.179.128.168 text/plain
May 30 00:03:22 efw1 squid[3833]: 1338329002.151 186 192.168.1.193 TCP_MISS/200 638 POST http://213.179.128.168/extern/mc/communicator.php [^] - FIRST_UP_PARENT/content2 text/plain
May 30 00:03:24 efw1 squid[3833]: 1338329004.566 1112 127.0.0.1 TCP_MISS/200 498 POST http://213.179.128.168/extern/mc/communicator.php [^] - DIRECT/213.179.128.168 text/plain
May 30 00:03:24 efw1 squid[3833]: 1338329004.582 1149 192.168.1.193 TCP_MISS/200 602 POST http://213.179.128.168/extern/mc/communicator.php [^] - FIRST_UP_PARENT/content2 text/plain
May 30 00:13:24 efw1 squid[3833]: 1338329604.793 86 127.0.0.1 TCP_MISS/200 534 POST http://213.179.128.168/extern/mc/communicator.php [^] - DIRECT/213.179.128.168 text/plain
May 30 00:13:24 efw1 squid[3833]: 1338329604.814 124 192.168.1.193 TCP_MISS/200 638 POST http://213.179.128.168/extern/mc/communicator.php [^] - FIRST_UP_PARENT/content2 text/plain
May 30 00:13:26 efw1 squid[3833]: 1338329606.093 1111 127.0.0.1 TCP_MISS/200 498 POST http://213.179.128.168/extern/mc/communicator.php [^] - DIRECT/213.179.128.168 text/plain
May 30 00:13:26 efw1 squid[3833]: 1338329606.109 1149 192.168.1.193 TCP_MISS/200 602 POST http://213.179.128.168/extern/mc/communicator.php [^] - FIRST_UP_PARENT/content2 text/plain
May 30 00:23:27 efw1 squid[3833]: 1338330207.265 76 127.0.0.1 TCP_MISS/200 534 POST http://213.179.128.168/extern/mc/communicator.php [^] - DIRECT/213.179.128.168 text/plain
May 30 00:23:27 efw1 squid[3833]: 1338330207.286 114 192.168.1.193 TCP_MISS/200 638 POST http://213.179.128.168/extern/mc/communicator.php [^] - FIRST_UP_PARENT/content2 text/plain

root@efw1:/etc/cron.daily # ls -lh /var/log/squid/access.log
-rw-r----- 1 root nobody 2.1M May 30 15:01 /var/log/squid/access.log

Additional InformationStrange Things:

why this file : /var/log/squid/access.log-20300917.gz ?
shoudn't be something like 20120530.gz?


Tagspurple
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-05-30 13:56 ardit-endian New Issue
2012-05-30 13:57 ardit-endian Summary Sarg issue generating logs, : Need Update => Sarg issue generating logs, : Update Needed
2012-05-30 13:57 ardit-endian Description Updated
2012-05-30 13:57 ardit-endian Tag Attached: purple

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker