"sh: /usr/sbin/xenstored: not found" - But it's there?
Posted
by
Matt H
on Super User
See other posts from Super User
or by Matt H
Published on 2012-04-03T22:10:22Z
Indexed on
2012/04/03
23:33 UTC
Read the original article
Hit count: 302
What would cause running the file /usr/sbin/xenstored to print
sh: /usr/sbin/xenstored: not found
However, the file /usr/sbin/xenstored is there and is not a symbolic link.
Actually I should be running this as root. That prints a similarly odd message.
sudo: unable to execute /usr/sbin/xenstored: No such file or directory
By the way, xenstored is not a script, it's an ELF executable.
My guess is that it's because I haven't gotten all the dependent libraries installed. However, I would expect it to say something like this:
./xenstored: error while loading shared libraries: libxenctrl.so.4.0: cannot open shared object file: No such file or directory
Which is true of running xenstored on a system that doesn't have all the required libraries. Why do I get "not found" vs the much more useful "cannot open shared object file"?
© Super User or respective owner