Operating System - HP-UX
1834697 Members
2759 Online
110069 Solutions
New Discussion

Re: MRGT on HP-UX Problems

 
Steve Burton_1
Contributor

MRGT on HP-UX Problems

I downloaded MRTG 2.20 depot and installed it.

I keep getting the following on running MRTG:

Can't locate package $VERSION for @MRTG_lib::ISA at /usr/local/bin/mrtg line 59
main::BEGIN() called at /usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 59
eval {...} called at /usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 59

It appears to be a perl problem of some sort however I am using a supported version. Any help would be appreciated.
A mans got to know his limitations.
2 REPLIES 2
Steve Steel
Honored Contributor

Re: MRGT on HP-UX Problems

Hi

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd7a2afe90f1cd71190050090279cd0f9,00.html

http://www.ee.ethz.ch/~slist/mrtg/msg19414.html

May Help


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)

Re: MRGT on HP-UX Problems

Steve,

I had the same problem.

It's his $PATH (probably from /etc/PATH) thaht puts /usr/contrib before /opt/perl/bin

Perl is located in /usr/contrib/bin

Solution 1. Move /usr/contrib/bin to the end of your $PATH
Solution 2. Remove /usr/contrib/bin/perl

#which perl

should show you wisch perl is used first

Enjoy

Arnaud
Administrator Unix