View Single Post
Old 12-02-2004, 10:38 PM   #2 (permalink)
skaven
Insane
 
Location: Austin, TX
Have you tried stracing the executable? It might be missing some other support file, but then giving an incorrect error message. For example, if you try to use the 'chroot' command without all the approprate libraries in the new root location, it will spit out a "/bin/sh: No such file or directory" error, even though /bin/sh exists in the new location. Using strace reveals that the "No such file or directory" error is actually from when /bin/sh tries to load a library that isn't there.

/Just had to deal with that particular problem last night
//Just man strace.
skaven is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73