[squid-users] Squid-graph question

From: Serge Bianda <serge.bianda@dont-contact.us>
Date: Wed, 9 Jan 2002 14:44:50 -0500

Hello everyone:
Has anyone in this list successfully installed squid-graph, because I
recently installed mine on a RedHat Linux 6.2, and went I try to run it
like this:
#./squid-graph --output-dir=/home/httpd/html/squidlog <
/usr/local/var/log/squid/access.log
I get the following message:

[Wed Jan 9 14:17:03 2002] Squid-graph 3.0 release OK. Program started.
[Wed Jan 9 14:17:03 2002] Graph domain is 86400 seconds.
[Wed Jan 9 14:17:03 2002] Setting report title to "Squid Graph Logfile
Analysis Report".
[Wed Jan 9 14:17:03 2002] Configured for default histograms.
[Wed Jan 9 14:17:03 2002] Configured have_tcp and have_udp.
[Wed Jan 9 14:17:03 2002] Transfer duration graph(s) enabled.
[Wed Jan 9 14:17:03 2002] Configured start time to 1010517423.
[Wed Jan 9 14:17:03 2002] Reading STDIN for logfile input.
[Wed Jan 9 14:18:11 2002] Invalid log data at line 118398. Error #1.
[Wed Jan 9 14:18:15 2002] Invalid log data at line 174896. Error #2.
[Wed Jan 9 14:18:21 2002] Invalid log data at line 255969. Error #3.
[Wed Jan 9 14:18:22 2002] Invalid log data at line 265982. Error #4.
[Wed Jan 9 14:19:25 2002] Calculating averages for TCP/UDP transfer
duration.
[Wed Jan 9 14:19:25 2002] Done reading 761713 lines from logfile on STDIN.
(4 errors)
[Wed Jan 9 14:19:25 2002] Analysis duration is 143 seconds, 5326.66
lines/sec.
[Wed Jan 9 14:19:25 2002] Creating TCP image objects.
[Wed Jan 9 14:19:25 2002] Creating UDP image objects.
[Wed Jan 9 14:19:25 2002] Plotting graph of TCP accesses.
[Wed Jan 9 14:19:25 2002] Plotting graph of TCP transfers.
[Wed Jan 9 14:19:25 2002] Plotting graph of TCP transfer duration.
[Wed Jan 9 14:19:25 2002] Plotting graph of UDP accesses.
[Wed Jan 9 14:19:25 2002] Plotting graph of UDP transfers.
[Wed Jan 9 14:19:25 2002] Plotting graph of UDP transfer duration.
[Wed Jan 9 14:19:25 2002] Writing to file
/home/httpd/html/squidlog/tcp-access.png
libpng warning: Application was compiled with png.h from libpng-1.0.5
libpng warning: Application is running with png.c from libpng-1.2.0
gd-png: fatal libpng error: Incompatible libpng version in application and
library
Segmentation fault

Can someone tell me why the libpng library is not being used and what
Application is it referring to, because as far as squid-graph is concerned,
it was not compiled, I just unpacked it from the compressed file. I tried to
recompile my libpng library (the lastest) and got the same error, when I
look at the output file which is tcp-access.png, the size is 0 KB, and does
not show on the browser, but a an "X" meaning that the image can not be
displayed.

Any suggestions?
Regards,
Serge
Received on Wed Jan 09 2002 - 12:43:48 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:48 MST