[ixpmanager] MRTG

Giorgi Kajaia giokajana at gmail.com
Thu May 24 10:56:05 IST 2018


i have moved it was in /etc/mrtg.cfg and i moved to /etc/mrtg/mrtg.cfg but
still cant start mrtg  it displays another output now

May 24 13:53:07 root systemd[1]: Starting LSB: mrtg init script...
May 24 13:53:07 root mrtg[13929]:  * Starting mrtg
May 24 13:53:07 root mrtg[13929]: ERROR: CFG Error in "workdir", file
/etc/mrtg/mrtg.cfg line 8: Working
May 24 13:53:07 root systemd[1]: mrtg.service: Control process exited,
code=exited status=2
May 24 13:53:07 root systemd[1]: Failed to start LSB: mrtg init script.
May 24 13:53:07 root systemd[1]: mrtg.service: Unit entered failed state.
May 24 13:53:07 root systemd[1]: mrtg.service: Failed with result
'exit-code'.


Any help for this?

Thanks in advance.





On Thu, May 24, 2018 at 1:49 PM, Nick Hilliard <nick at inex.ie> wrote:

> Giorgi Kajaia wrote:
>
>> also php artisan grapher:generate-configuration -B mrtg
>>         php artisan grapher:gerenate-configuraton -B mrtg -O
>> /tmp/cfg/mrtg.cfg.candidate they work too
>> But i see on web page i see blank pages for graph and when i try to type
>> command
>> /etc/init.d/mrtg start  it gives FAILED
>> and with systemctl status mrtg.service it gives me output :
>>
>>
>> May 24 11:27:27 root systemd[1]: Starting LSB: mrtg init script...
>> May 24 11:27:27 root mrtg[12836]:  * Starting mrtg
>> May 24 11:27:27 root mrtg[12836]: cannot write to /etc/mrtg/mrtg.pid: No
>> such file or directory
>> May 24 11:27:27 root mrtg[12836]: ERROR: unable to open config file:
>> /etc/mrtg/mrtg.cfg
>>
>
> You need to make sure that the mrtg.cfg file which is generated by
> grapher:generate-configuration is moved to /etc/mrtg/mrtg.cfg.
>
> Nick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180524/64de5f07/attachment.html>


More information about the ixpmanager mailing list