Cant run oxidized

oxidized
I, [2019-05-30T13:56:58.252900 #10340] INFO – : Oxidized starting, running as pid 10340
I, [2019-05-30T13:56:58.253454 #10340] INFO – : lib/oxidized/nodes.rb: Loading nodes
F, [2019-05-30T13:56:58.253552 #10340] FATAL – : Oxidized crashed, crashfile written in /opt/oxidized/crash
Permission denied @ rb_sysopen - /opt/oxidized/crash

any help thanks

username:
password:
model: Procurve
interval: 3600
use_syslog: false
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 10.1.1.15:8888
next_adds_job: false
vars: {}
groups: {}
models: {}
pid: “/home/oxidized/.config/oxidized/pid”
input:
default: ssh, telnet
debug: true
ssh:
secure: false
output:
file:
directory: “/home/oxidized/deviceconfigs”
source:
default: csv
csv:
file: “/home/oxidized/.config/oxidized/router.db”
delimiter: !ruby/regexp /:confused:
map:
ip: 0
model: 1
username: 2
password: 3
model_map:
hp: Procurve

FATAL – : Oxidized crashed, crashfile written in /opt/oxidized/crash
Translates to…
“hey something happened, I recorded it in a file, go read to make it not happen again”

always read the logs and avoid troubleshooting empty handed.

1 Like

is that inside the crash file?

If you installed oxidized gem under the user “oxidized”, you may need to chown -R oxidized:oxidized /opt/oxidized for that file to write

What install guide did you follow?

Where does your config file live? If it’s here /home/oxidized/.config/oxidized/config then ensure
/etc/oxidized/config file does not exist as it will take priority