Difference between revisions of "Frequent errors from cron for MRTG"

From Notes_Wiki
m
m
Line 1: Line 1:
<yambe:breadcrumb>Server administration tips and tricks</yambe:breadcrumb>
<yambe:breadcrumb self="Frequent errors from cron for MRTG">Server administration tips and tricks|Server administration tips and tricks</yambe:breadcrumb>
=Frequent errors from cron for mrtg=
=Frequent errors from cron for mrtg=


Line 6: Line 6:
#Edit file '<tt>/usr/bin/mrtg</tt>' (Use 'which mrtg' to find location if path changes)
#Edit file '<tt>/usr/bin/mrtg</tt>' (Use 'which mrtg' to find location if path changes)
#Add line '<tt>use lib qw(/usr/lib64/mrtg2);</tt>' before the line which is causing the error to be displayed.
#Add line '<tt>use lib qw(/usr/lib64/mrtg2);</tt>' before the line which is causing the error to be displayed.
<yambe:breadcrumb self="Frequent errors from cron for MRTG">Server administration tips and tricks|Server administration tips and tricks</yambe:breadcrumb>

Revision as of 07:34, 27 August 2018

<yambe:breadcrumb self="Frequent errors from cron for MRTG">Server administration tips and tricks|Server administration tips and tricks</yambe:breadcrumb>

Frequent errors from cron for mrtg

If you get frequent errors from cron for mrtg with message 'Can't locate MRTG_lib.pm in @INC' then you can use following steps to get rid of error message:

  1. Edit file '/usr/bin/mrtg' (Use 'which mrtg' to find location if path changes)
  2. Add line 'use lib qw(/usr/lib64/mrtg2);' before the line which is causing the error to be displayed.



<yambe:breadcrumb self="Frequent errors from cron for MRTG">Server administration tips and tricks|Server administration tips and tricks</yambe:breadcrumb>