求助

由 honestone 在 06-17-2003 19:03 发表:

求助

相必你曾经用过Mrtg,现我有问题向你求助,望答复。 谢谢!

按照 http://www.linuxsir.com/bbs/showthr...安装mrtg,在输入

./indexmaker --output=/var/www/html/mrtg/net/index.html --title=Sonic /var/www/html/mrtg/mrtg.cfg

后出现如下错误:

Possible precedence problem on bitwise | operator at /usr/bin/../lib/mrtg2/BER.pm line 601.

Can't locate package $VERSION for @MRTG_lib::ISA at ./indexmaker line 49

main::BEGIN() called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49

eval {...} called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49

其中mrtg.cfg文件如下:

Created by

/usr/bin/cfgmaker --output=/var/www/html/mrtg/mrtg.cfg [email protected]

Global Config Options

for UNIX

WorkDir: /var/www/html/mrtg/

or for NT

WorkDir: c:\mrtgdata

Global Defaults

to get bits instead of bytes and graphs growing to the right

Options[_]: growright, bits

Language:GB2312

##########

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus