8 Replies Latest reply: Sep 13, 2014 7:09 PM by RaiderOfTheLostSparc RSS

    Solaris 11.2, mrtg is broken

    RaiderOfTheLostSparc

      Hi,

       

      is it just me or is mrtg broken in Solaris 11.0 - 11.2?

       

      root@vmware:~# pkg list -af | grep mrtg

      SUNWmrtg                                          2.16.2-0.175.0.0.0.0.0     --r

      diagnostic/mrtg                                   2.16.2-0.175.2.0.0.35.0    ---

      root@vmware:~# pkg install mrtg

      ...

      root@vmware:~# LANG=C mrtg -h

      Bareword "P_DETACH" not allowed while "strict subs" in use at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 1172.

      Compilation failed in require at /usr/bin/mrtg line 89.

      BEGIN failed--compilation aborted at /usr/bin/mrtg line 89.

      root@vmware:~# echo $?

      255

       

      According to http://oss.oetiker.ch/mrtg/nabble-mrtg.en.html#nabble-td5708276 the bug is fixed in 2.16.4 (or later).