[Users] no such file or directory

Papp Tamás tompos at martos.bme.hu
Thu Dec 4 05:05:00 EST 2008


hi!

$ strace -ff /vz/100/root/bin/ls
execve("/vz/100/root/bin/ls", ["/vz/100/root/bin/ls"], [/* 34 vars */]) 
= -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa64810b000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such 
file or directory
) = 40
close(3)                                = 0
munmap(0x7fa64810b000, 4096)            = 0
exit_group(1)                           = ?
Process 9148 detached


It works with an other VE, and of course the same happens inside the VE.

It's interesting, because for example 'zsh' or 'bash' is working.

Also network is off.

How can I debug a VE, make its starting verbose or something like that?

Thank you,

tamas







More information about the Users mailing list