Is the shell (from which the 'strace' is issued) working in the same directory with the "weblogic_pc" script when the command is issued?
-- R; On Wed, 12 Apr 2006, Craig, Roger C [LTD] wrote: > Hello, > > After issuing xautolog pkdl0105 from our V M : O p e r a t o > r System Window > > We get the following message: 22:14:16 PKDL0105 *8 Starting > weblogic_pc: execvp: No such file or directory > 22:14:16 PKDL0105 *8 > [FAILED] > > We can start weblogic_pc manually > > After issuing [EMAIL PROTECTED]> strace -it ./weblogic_pc start > we get: > > 10:12:44 [400c8f02] execve("./weblogic_pc", ["./weblogic_pc", "start"], > [/* 21 v > ars */]) = -1 ENOENT (No such file or directory) > 10:12:44 [400eefe6] dup(2) = 3 > 10:12:44 [400ee980] fcntl64(3, F_GETFL) = 0x8002 (flags > O_RDWR|O_LARGEFILE) > 10:12:44 [400edcf2] fstat64(3, {st_mode=S_IFCHR|0620, > st_rdev=makedev(136, 1), . > ..}) = 0 > 10:12:44 [400f9654] mmap(NULL, 4096, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONY > MOUS, -1, 0) = 0x40017000 > 10:12:44 [400fcba4] _llseek(3, 0, 0x7fffc5b0, SEEK_CUR) = -1 ESPIPE > (Illegal see > k) > 10:12:44 [400ee752] write(3, "strace: exec: No such file or di"..., > 40strace: ex > ec: No such file or directory > ) = 40 > 10:12:44 [400ee67a] close(3) = 0 > 10:12:44 [400f971e] munmap(0x40017000, 4096) = 0 > 10:12:44 [400c8eb8] exit_group(1) = ? > > Does anyone have a clue as to why execve might be returning a -1? > > > Roger Craig > Mainframe OS/OEM Support > Office - 972-536-6079 > Cell - 972-333-0566 > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390