Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't exec "/usr/local/bin/ruby" #22

Open
barttenbrinke opened this issue Sep 23, 2013 · 5 comments
Open

Can't exec "/usr/local/bin/ruby" #22

barttenbrinke opened this issue Sep 23, 2013 · 5 comments
Assignees

Comments

@barttenbrinke
Copy link
Owner

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

@ghost ghost assigned barttenbrinke Sep 23, 2013
@barttenbrinke
Copy link
Owner Author

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

@duhanov
Copy link

duhanov commented May 7, 2014

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, line 20

Please, Help!

@barttenbrinke
Copy link
Owner Author

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?

@duhanov
Copy link

duhanov commented Jul 2, 2014

-rwxrwxr-x. 1 root rvm 304 Май 7 11:47 /usr/local/rvm/wrappers/ruby-2.0.0-p353@global/ruby

@duhanov
Copy link

duhanov commented Jul 2, 2014

I run: service munin-node restart (root)
Error found in: /var/log/munin-node/munin-node.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants