While trying to start oxidized, it gives me the following error
Please advise
[root@xxxx librenms]# oxidized
oxidized-web not found: sudo gem install oxidized-web -
or disable web support by setting “rest: false” in your configuration
/usr/local/share/gems/gems/oxidized-0.21.0/lib/oxidized/core.rb:22:in rescue in initialize': oxidized-web not found: sudo gem install oxidized-web - \ (Oxidized::OxidizedError) or disable web support by setting "rest: false" in your configuration from /usr/local/share/gems/gems/oxidized-0.21.0/lib/oxidized/core.rb:19:ininitialize’
from /usr/local/share/gems/gems/oxidized-0.21.0/lib/oxidized/core.rb:4:in new' from /usr/local/share/gems/gems/oxidized-0.21.0/lib/oxidized/core.rb:4:innew’
from /usr/local/share/gems/gems/oxidized-0.21.0/lib/oxidized/cli.rb:12:in run' from /usr/local/share/gems/gems/oxidized-0.21.0/bin/oxidized:9:in<top (required)>'
from /usr/local/bin/oxidized:23:in load' from /usr/local/bin/oxidized:23:in’
As the error message indicates - either you need to install the oxidized-web gem (“sudo gem install oxidized-web”) or add the setting “rest: false” to ~/.config/oxidized/config to not allow the web interface of oxidized.
Feb 06 15:24:14 dl1-librenms01.pan.local systemd[1]: Started Oxidized - Network Device Configuration Backup Tool.
Feb 06 15:24:14 dl1-librenms01.pan.local systemd[1]: Starting Oxidized - Network Device Configuration Backup Tool…
Feb 06 15:24:14 dl1-librenms01.pan.local systemd[25620]: Failed at step USER spawning /usr/local/bin/oxidized: No such process
Feb 06 15:24:14 dl1-librenms01.pan.local systemd[1]: oxidized.service: main process exited, code=exited, status=217/USER
Feb 06 15:24:14 dl1-librenms01.pan.local systemd[1]: Unit oxidized.service entered failed state.
Feb 06 15:24:14 dl1-librenms01.pan.local systemd[1]: oxidized.service failed.
I try to open oxidized-web but it could not possible.
Does anyone here have a procedure to install and configure oxidized?
[root@srvspoxidized oxidized]# oxidized
I, [2019-03-06T16:10:02.458478 #16070] INFO – : Oxidized starting, running as pid 16070
I, [2019-03-06T16:10:02.459471 #16070] INFO – : lib/oxidized/nodes.rb: Loading nodes
F, [2019-03-06T16:10:02.459611 #16070] FATAL – : Oxidized crashed, crashfile written in /root/.config/oxidized/crash
No such file or directory @ rb_sysopen - /root/.config/oxidized/router.db
[root@srvspoxidized oxidized]# systemctl status oxidized
Unit oxidized.service could not be found.
[root@srvspoxidized oxidized]#
[root@srvspoxidized oxidized]# gem list
oxidized (0.26.2)
oxidized-script (0.6.0)
oxidized-web (0.13.1)