munin-plugins-rails
munin-plugins-rails copied to clipboard
Can't exec "/usr/local/bin/ruby"
Alberto Galisteo Prieto 6:35 PM (2 hours ago)
Can't exec "/usr/local/bin/ruby": No existe el fichero o el directorio at /usr/lib64/perl5/vendor_perl/5.12.4/Munin/Node/Service.pm line 263.
FATAL: Failed to exec.
This is my problem
Hi, It seems like you don't have Ruby installed or ruby can't be found at /usr/local/bin/ruby. Can you check if Ruby is installed? If so, check your munin conf to see if the path to ruby is correct: i.e.
[passenger_*]
user root
command /usr/local/bin/ruby %c
I edit /etc/munin/plugin-conf.d/munin-node [passenger_*] user root command /usr/local/rvm/wrappers/ruby-2.0.0-p353@global/ruby %c
But i have error:
Can't exec "/usr/local/rvm/wrappers/ruby-2.0.0-p353@global/ruby": Permission denied at /usr/share/perl5/vendor_perl/Munin/Node/Service.pm line 263, <STDIN> line 20
Please, Help!
Have you tried running the command from bash and sh? Do you get the same error? If so, what are the permissions on /usr/local/rvm/wrappers/ruby-2.0.0-p353@global/ruby?
-rwxrwxr-x. 1 root rvm 304 Май 7 11:47 /usr/local/rvm/wrappers/ruby-2.0.0-p353@global/ruby
I run: service munin-node restart (root) Error found in: /var/log/munin-node/munin-node.log