Hi

I got a bunch of these errors when I tried to install MRTG using the procedure 
to make MRTG run as a Windows service in 
http://oss.oetiker.ch/mrtg/doc/mrtg-nt-guide.en.html:
 
C:\mrtg\bin>perl mrtg --logging=eventlog c:\mrtg\bin\mrtg.cfg
Use of uninitialized value in subroutine entry at C:/Perl/lib/Win32/EventLog.pm

These errors stopped MRTG from running properly.  For me, the problem was in 
this line:
"AppParameters"="c:\\mrtg\\bin\\mrtg --logging=eventlog 
c:\\mrtg\\bin\\mrtg.cfg".  I had the same problem when I tried to run from the 
command line, until I removed --logging=eventlog.  When I replaced 
--logging=eventlog with --logging=c:\\mrtg\\logs\\log.txt everything worked 
fine.

Don't know if the problem was caused by a change in Windows, MRTG, or 
ActiveState Perl, but --logging=eventlog doesn't work anymore.

Thanks
John

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to