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"?