problem with script

From: Ashish Nigam (ashishn@ntechra.com)
Date: Thu Jul 18 2002 - 22:50:41 EDT


Hi,
I am having some problem with a shell script.
When I run the shell script from prompt, I have no problems.
But when I try to run the same scrpit through an application, it just does
not work.
I have attached the last few lines of "truss" output on that shell script.
Please somebody help me locate the problem .
Also can anybody tell me where to look for description of these "Err#".

Thanks,
Ashish

llseek(3, 0xFFFFFFFFFFFFFFF6, SEEK_CUR) = 2511
fork() = 529
sigprocmask(SIG_SETMASK, 0xFFBEDEC0, 0x00000000) = 0
    Received signal #18, SIGCLD [caught]
      siginfo: SIGCLD CLD_KILLED pid=529 status=0x000D
waitid(P_ALL, 0, 0xFFBED9F0, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xFFBED9F0, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
setcontext(0xFFBEDBA8)
sigprocmask(SIG_BLOCK, 0xFFBEDFB8, 0xFFBEDFA8) = 0
sigprocmask(SIG_SETMASK, 0xFFBEDFA8, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBEDFB8, 0xFFBEDFA8) = 0
sigaction(SIGINT, 0xFFBEDE88, 0xFFBEDF08) = 0
sigprocmask(SIG_BLOCK, 0xFFBEDED8, 0xFFBEDEC8) = 0
sigprocmask(SIG_BLOCK, 0xFFBEDE58, 0xFFBEDE48) = 0
sigprocmask(SIG_BLOCK, 0xFFBECD78, 0xFFBECD68) = 0
sigprocmask(SIG_SETMASK, 0xFFBECD68, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBECDD8, 0xFFBECDC8) = 0
brk(0x000BA000) = 0
sigprocmask(SIG_SETMASK, 0xFFBECDC8, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBECDD8, 0xFFBECDC8) = 0
sigprocmask(SIG_SETMASK, 0xFFBECDC8, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBECE38, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBECE38, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBECE38, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECE38, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECE38, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBECE38, 0x00000000) = 0
open("/usr/dt/lib/nls/msg/C/SUNW_OST_OSLIB.cat", O_RDONLY) Err#2 ENOENT
sigprocmask(SIG_BLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBED210, 0xFFBED200) = 0
sigprocmask(SIG_SETMASK, 0xFFBED200, 0x00000000) = 0
open("/usr/lib/locale/C/LC_MESSAGES/SUNW_OST_OSLIB.mo", O_RDONLY) Err#2
ENOENT
sigprocmask(SIG_BLOCK, 0xFFBED210, 0xFFBED200) = 0
sigprocmask(SIG_SETMASK, 0xFFBED200, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBED2D0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFFBED2D0, 0x00000000) = 0
write(2, " / o p t / A s s e t R a".., 111) Err#32 EPIPE
    Received signal #13, SIGPIPE [default]
        *** process killed ***
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:37 EDT