[Users] no such file or directory
Alexander Prinsier
openvz at aphexer.mailhaven.com
Thu Dec 4 06:01:33 EST 2008
Papp Tamás wrote:
> Dariush Pietrzak wrote:
>>> $ strace -ff /vz/100/root/bin/ls
>>>
>> You're trying to run a binary from inside the VE in HN's context? I't
>> dangerous.
>> And it probably doesn't work because ls is linked to something in VE
>> that
>> doesn't exist on HN (try ldd /bin/ls or ldd /vz/100/root/bin/ls) (which
>> would be surprising, because ls is small program and shouldn't depend on
>> anything exotic).
>>
> /bin/ls is hardlinked, it should not depend on anything.
You probably mean "statically linked". /bin/ls usually is dynamically
linked. At least in any standard distro... Statically linked executables
aren't very common.
Anyway, please post the output of ldd /bin/ls and ldd
/vz/100/root/bin/ls to help us help you.
By the way, are you sure the path is correct? Shouldn't it be
/vz/ROOT/100 instead of /vz/100/ROOT?
Alexander
More information about the Users
mailing list