是一个目录@ rb_sysopen-/home/oxidized/.config/oxidized/crashes/(ERRNO :: EISDIR)

时间:2019-05-21 07:22:30

标签: ruby linux rubygems

我正在设置服务器运行Oxidized,这是一种网络设备配置备份工具,可以代替RANCID。并且我想与另一个我自己的个人目录称为“氧化”的用户一起运行。

我已经完成了它在文档中所说的所有工作,即编辑文件.config/oxidized/config,这是该工具的配置文件。我已将路由器添加到文件.config/oxidized/router.db中。

文件.config/oxidized/config遵循以下模板编写: router_ip:ios:username:password

问题是当我想使用命令oxidized运行该程序时,出现以下消息:

Is a directory @ rb_sysopen - /home/oxidized/.config/oxidized/crashes/
Traceback (most recent call last):
        7: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/job.rb:9:in 'block in initialize'
        6: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:38:in 'run'
        5: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:38:in 'each'
        4: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:44:in 'block in run'
        3: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:66:in 'run_input'
        2: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:82:in 'rescue in run_input'
        1: from /var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:82:in 'open'
/var/lib/gems/2.5.0/gems/oxidized-0.26.3/lib/oxidized/node.rb:82:in 'initialize': Is a directory @ rb_sysopen - /home/oxidized/.config/oxidized/crashes/ (Errno::EISDIR)

根据文档,运行oxidized后应该可以使用,但是,我收到了上面引用的错误消息。我试图查看日志是否可以为我提供更多详细信息,但是同一条消息恰好显示了日志中写的内容。先验地,问题似乎出在ruby脚本中,但我不确定。如果有人已经遇到此问题,或者知道氧化能力很好的人可以对此问题有所了解,我将不胜感激。预先谢谢你。

0 个答案:

没有答案