Sponsored Content
Operating Systems Linux Red Hat sarg issue while generating reports for squid Post 302383323 by mail4vij on Tuesday 29th of December 2009 09:10:00 AM
Old 12-29-2009
sarg issue while generating reports for squid

I installed sarg from sarg rpm and i am facing issue while generating sarg reports and getting this time different error below

sarg -l /var/log/squid/access.log
SARG: Records in file: 242332, reading: 0.00%
SARG: Records in file: 242332, reading: 2.06%
SARG: Records in file: 242332, reading: 4.13%
SARG: Records in file: 242332, reading: 6.19%
SARG: Records in file: 242332, reading: 8.25%
SARG: Records in file: 242332, reading: 10.32%
SARG: Records in file: 242332, reading: 12.38%
SARG: Records in file: 242332, reading: 14.44%
SARG: Records in file: 242332, reading: 16.51%
SARG: Records in file: 242332, reading: 18.57%
SARG: Records in file: 242332, reading: 20.63%
SARG: Records in file: 242332, reading: 22.70%
SARG: Records in file: 242332, reading: 24.76%
SARG: Records in file: 242332, reading: 26.82%
SARG: Records in file: 242332, reading: 28.89%
SARG: Records in file: 242332, reading: 30.95%
SARG: Records in file: 242332, reading: 33.01%
SARG: Records in file: 242332, reading: 35.08%
SARG: Records in file: 242332, reading: 37.14%
SARG: Records in file: 242332, reading: 39.20%
SARG: Records in file: 242332, reading: 41.27%
SARG: Records in file: 242332, reading: 43.33%
SARG: Records in file: 242332, reading: 45.39%
SARG: Records in file: 242332, reading: 47.46%
SARG: Records in file: 242332, reading: 49.52%
SARG: Records in file: 242332, reading: 51.58%
SARG: Records in file: 242332, reading: 53.65%
SARG: Records in file: 242332, reading: 55.71%
SARG: Records in file: 242332, reading: 57.77%
SARG: Records in file: 242332, reading: 59.84%
SARG: Records in file: 242332, reading: 61.90%
SARG: Records in file: 242332, reading: 63.96%
SARG: Records in file: 242332, reading: 66.03%
SARG: Records in file: 242332, reading: 68.09%
SARG: Records in file: 242332, reading: 70.15%
SARG: Records in file: 242332, reading: 72.21%
SARG: Records in file: 242332, reading: 74.28%
SARG: Records in file: 242332, reading: 76.34%
SARG: Records in file: 242332, reading: 78.40%
SARG: Records in file: 242332, reading: 80.47%
SARG: Records in file: 242332, reading: 82.53%
SARG: Records in file: 242332, reading: 84.59%
SARG: Records in file: 242332, reading: 86.66%
SARG: Records in file: 242332, reading: 88.72%
SARG: Records in file: 242332, reading: 90.78%
SARG: Records in file: 242332, reading: 92.85%
SARG: Records in file: 242332, reading: 94.91%
SARG: Records in file: 242332, reading: 96.97%
SARG: Records in file: 242332, reading: 99.04%
SARG: (download) Cannot open file: /var/www/sarg/ONE-SHOT/2009Dec20-2009Dec29/period
SARG: Records in file: 242332, reading: 100.00%
.. Sarg failed! See the output above for details.

Any suggestion / help would be greatly appreciated.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

email sarg URL report link

Hello, sarg -l access.log -e johndoe@emailaddress.com will send text formated activity to John Doe. sarg -l access.log -u johndoe will generate user activity of John Doe from access.log file. Question: Is there way to send sarg generated URL Link for detail drill down to the user via... (0 Replies)
Discussion started by: paulds
0 Replies

2. Shell Programming and Scripting

generating reports based on time field of network data

hi i have data extracted in the following format ranging around 300000 to 800000 records in a text file , the format is of network data . No. Time Source Destination Protocol 1 1998-06-05 17:20:23.569905 HP_61:aa:c9 HP_61:aa:c9 ... (1 Reply)
Discussion started by: renukaprasadb
1 Replies

3. Shell Programming and Scripting

Performance issue in UNIX while generating .dat file from large text file

Hello Gurus, We are facing some performance issue in UNIX. If someone had faced such kind of issue in past please provide your suggestions on this . Problem Definition: /Few of load processes of our Finance Application are facing issue in UNIX when they uses a shell script having below... (19 Replies)
Discussion started by: KRAMA
19 Replies

4. Shell Programming and Scripting

Generating formatted reports from log files

Given that I have a log file of the format: DATE ID LOG_LEVEL | EVENT 2009-07-23T14:05:11Z T-4030097550 D | MessX 2009-07-23T14:10:44Z T-4030097550 D | MessY 2009-07-23T14:34:08Z T-7298651656 D | MessX 2009-07-23T14:41:00Z T-7298651656 D | MessY 2009-07-23T15:05:10Z T-4030097550 D | MessZ... (5 Replies)
Discussion started by: daccad
5 Replies

5. Linux

Generating apache log reports

Hello all, I'm trying to find some tool on generating reports based on apache access_log files (of Common format). I found some of them (awstats, lire/logreport, weblog expert, apache logs viewer, etc..) but they generate some global and general report about the log file. Also some perl... (0 Replies)
Discussion started by: enux
0 Replies

6. UNIX for Dummies Questions & Answers

Client web pages very slow to load. Squid issue?

Hi. I have netBSD box acting as gateway, ftp, mail & web server, etc. It is now seven years old and has never missed a beat. The only problem is that the (Windows) boxes in my little network are now experiencing VERY slow web page loads. The other problem is that in the years since a Unix... (0 Replies)
Discussion started by: torontobob
0 Replies

7. IP Networking

Squid vs iptables = no Squid access.log?

Hello, I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine. I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies

8. Red Hat

Squid Caching Issue

Hi frnds I recently configured Squid 2.5 stable version on my redhat machine.Caches are storing in my disk (/var/spool/squid) but my access.log file always shows tcp_miss for every site i access as well as store.log file shows release on every action. some of the records of my... (6 Replies)
Discussion started by: Vaibhav.T
6 Replies

9. UNIX for Advanced & Expert Users

Issue setup Transparent proxy and Gateway using Squid on CentOS 7

Hello, We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration. #Firewalld configurations firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

10. UNIX for Beginners Questions & Answers

Cron job scheduled is running once, but reports are generating twice

Team, Hope you all are doing fine I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement.The script... (12 Replies)
Discussion started by: whizkidash
12 Replies
ext_file_userip_acl(8)					      System Manager's Manual					    ext_file_userip_acl(8)

NAME
ext_file_userip_acl - Restrict users to certain IP addresses, using a text file backend. Version 1.0 SYNOPSIS
ext_file_userip_acl [-dh] [-f file name ] DESCRIPTION
ext_file_userip_acl is an installed binary. An external helper for the Squid external acl scheme. It works by reading a pair composed by an IP address and an username on STDIN and matching it against a configuration file. OPTIONS
-d Write debug info to stderr. -f file Configuration file to load. -h Display the binary help and command line syntax info using stderr. CONFIGURATION
The squid.conf configuration for the external ACL should be: external_acl_type type-name %SRC %LOGIN /path/to/ext_file_userip_acl -f /path/to/config.file If the helper program finds a matching username/ip in the configuration file, it returns OK , otherwise it returns ERR . The configuration file format is as follows: ip_addr[/netmask] username|@group|ALL|NONE Where ip_addr is a dotted quad format IP address, the netmask must be in dotted quad format too. When the second parameter is prefixed with an @ , the program will lookup the /etc/group file entry for the specified username. There are other two directives, ALL and NONE , which mean AUTHOR
This program was written by Rodrigo Campos <rodrigo@geekbunker.org> This manual was written by Rodrigo Campos <rodrigo@geekbunker.org> Amos Jeffries <amosjeffries@squid-cache.org> COPYRIGHT
This program and documentation is copyright to the authors named above. Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org> REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. Report bugs or bug fixes using http://bugs.squid-cache.org/ Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org> Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org> SEE ALSO
squid(8), GPL(7), The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq The Squid Configuration Manual http://www.squid-cache.org/Doc/config/ ext_file_userip_acl(8)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy