[mrtg] Re: Errors running MRTG

Stieers, Ken KStieers at dainrauscher.com
Thu Aug 26 22:48:46 MEST 1999


You can't just dump the MRTG file in the new directory.  You have to copy
all of the files in new /run directory.  Those often rev with MRTG. 

Ken 


> -----Original Message-----
> From: Neil Calvert [mailto:ncalvert at cabletron.com]
> Sent: Thursday, August 26, 1999 3:44 PM
> To: Garth K. Williams
> Cc: mrtg list
> Subject: [mrtg] Re: Errors running MRTG
> 
> 
> Hi again,
> 
> I'm assuming you meant a commandline like the following : 
> 
> d:\<path to mrtg>\mrtg <path to cfg file> > output file .. 
> right? I tried this
> and got an even more strange error...
> 
> D:\MRTG-2~1.7\run>perl d:\mrtg-2.8.7\run\mrtg 
> d:\mrtg-2.8.7\run\first.cfg >
> output.html
> Can't locate RRDs.pm in @INC (@INC contains: 
> d:\mrtg-2.8.7\run\ C:/Perl/lib
> C:/Perl/site/lib .) at d:\mrtg-2.8.7\run\mrtg line 1059.
> BEGIN failed--compilation aborted at d:\mrtg-2.8.7\run\mrtg line 1059.
> 
> note that the "D:\MRTG-2~1.7" part is just the NT Command 
> prompt truncating the
> full pathname in the output window.
> 
> Thanks for any further suggestions..
> 
> Neil
> 
> "Garth K. Williams" wrote:
> > 
> > give a ful path to mrtg.pl
> > 
> > Garth K. Williams - Systems Engineer (MCP+I, MCSE, CNA)
> > Williams Technology Consulting Services
> > Edmonton, Alberta  Canada       Phone: (780) 469-4341
> > 
> > Web: http://www.wtcs.org        Email: 
> mailto:garth.williams at home.com
> > Home of: http://snmp.cjb.net - SNMP for the Public Community
> > 
> > -----Original Message-----
> > From: mrtg-bounce at list.ee.ethz.ch 
> [mailto:mrtg-bounce at list.ee.ethz.ch]On
> > Behalf Of Neil Calvert
> > Sent: Thursday, August 26, 1999 2:20 PM
> > To: mrtg list
> > Subject: [mrtg] Errors running MRTG
> > 
> > Hi all,
> > 
> > I just installed the latest MRTG and ran into some problems. MRTG is
> > installed
> > in D:\mrtg-2.8.7 on my NT server (installed by unzipping). 
> Perl is already
> > installed (this machine ran 2.8.6 flawlessly).
> > 
> > cfgmaker runs without a problem and generates config files. 
> However when I
> > attempt to run MRTG it fails with the following error :
> > 
> > D:\MRTG-2~1.7\run>perl mrtg first.cfg > output.html
> > ERROR: Can't find location of mrtg executable
> > BEGIN failed--compilation aborted at mrtg line 56.
> > 
> > The mrtg file has the unix elements commented out and the NT line
> > uncommented as
> > per the documentation. Anyone seen this problem?
> > 
> > --
> > * To unsubscribe from the mrtg mailing list, send a message with the
> >   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> > * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> 
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list