[rrd-users] Premature end of script headers

CK ckcheung at astri.org
Wed Aug 25 09:02:27 MEST 2004


Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Dear all,
 
I am running Iptraf 2.7.0 and rrdtool 1.0.45. I created a DB with the
following command:
./rrdtool create tcp_services.rrd \
         --start 1023654125 \
         --step 300 \
           DS:22_in:COUNTER:600:U:12500000      \
                DS:22_out:COUNTER:600:U:12500000     \
                DS:25_in:COUNTER:600:U:12500000      \
                DS:25_out:COUNTER:600:U:12500000     \
                DS:80_in:COUNTER:600:U:12500000      \
                DS:80_out:COUNTER:600:U:12500000     \
                DS:5001_in:COUNTER:600:U:12500000     \
                DS:5001_out:COUNTER:600:U:12500000    \
                DS:443_in:COUNTER:600:U:12500000     \
                DS:443_out:COUNTER:600:U:12500000    \
                RRA:AVERAGE:0.5:1:600                \
                RRA:AVERAGE:0.5:6:700                \
                RRA:AVERAGE:0.5:24:775               \
                RRA:AVERAGE:0.5:288:797              \
                RRA:MAX:0.5:1:600                    \
                RRA:MAX:0.5:6:700                    \
                RRA:MAX:0.5:24:775                   \
                RRA:MAX:0.5:288:797

and use the attached iptraf.pl to update the db for every 5 mins.
Finally, I run the attached CGI to view the result but all graphs are
failed to display with following errors. Anyone has any idea can help
me? Thx a lots.
 
(8)Exec format error: exec of
'/var/www/cgi-bin/tcp_services-443-6hr.png' failed, referer:
http://10.6.64.82/cgi-bin/tcp_services.rcgi
[error] [client 10.6.64.68] Premature end of script headers:
tcp_services-443-6hr.png, referer:
http://10.6.64.82/cgi-bin/tcp_services.rcgi

Cheers,
CK



-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Size: 2k (2509 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/iptraf.txt


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Size: 2k (2332 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/tcp_services.rcgi.txt


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list