[mrtg] 14all - "Can't locate package $VERSION"

Richard Kennard Richard.Kennard at ogs.co.uk
Wed Jul 23 14:54:35 MEST 2003


Dear All,
I'm running MRTG 2.9 on RH9.
I've had it successfully working as a standard (built in to RH) setup and
have now taken the leap to RRD and 14all.
I already had rrd running fine for BB, (site perl install etc done)
I've edited the 14all cgi script for my environment, including changing the
version number from 2.090003  to 2.090017 which is the mrtg version I'm
running.
When I try to run the cgi I get the following:

[root at kennardws2 cgi-bin]# ./14all-1_1.cgi
[Wed Jul 23 13:44:51 2003] BER.pm: Possible precedence problem on bitwise |
oper
ator at /usr/lib/mrtg2/BER.pm line 601.
Can't locate package $VERSION for @MRTG_lib::ISA at ./14all-1_1.cgi line 34
main::BEGIN() called at /usr/lib/mrtg2/MRTG_lib.pm line 34
eval {...} called at /usr/lib/mrtg2/MRTG_lib.pm line 34
Expires: Thu, 24 Jul 2003 12:44:52 GMT
Date: Wed, 23 Jul 2003 12:44:52 GMT
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"
xml:lang="en-US"><head><
title>MRTG/14all 14all.cgi 1.1p25</title>
<link rev="made" href="mailto:bawidama%40users.sourceforge.net" />
</head><body bgcolor="#ffffff"><h1>Available Targets</h1>
<h2>Targets</h2>
<table width=100%>
<tr><td><p><a href="14all-1_1.cgi?log=10.62.0.112_1">Traffic Analysis for 1
-- H
appy</a></p><a href="14all-1_1.cgi?log=10.62.0.112_1"><img alt="index-graph"
src
="14all-1_1.cgi?log=10.62.0.112_1&amp;png=daily.s&amp;small=1" /></a></td>
<td>&nbsp;</td></tr>
</table><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
Snip.......

The permisions on the files all LOOK ok, with mrtg.cgg and 14all set to 777
for the purposes of test.
Looks to me like the cgi is calling the config ok but failing to parse the
version info properly.
I've run out of ideas ;-( anyone else got any?
Cheers!
Rich


********************************************************************
The information transmitted by this email is private and
confidential and is intended for the use of the intended 
recipients specified therein.
If you are neither an intended recipient nor an employee 
or agent responsible for delivery to an intended recipient, 
you should be aware that any dissemination, distribution 
or copying of this communication is strictly prohibited.
If you received this communication in error, please 
notify us immediately.
********************************************************************

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list