[Orca-users] orcallator.se Issues
Mark Goldenberg
mgoldenb at goldenberg-consulting.com
Thu Dec 12 15:29:02 PST 2002
I have several systems that have a "minimum" Solaris OS install. When
I start the orcallator.se data collector (/etc/init.d/orcallator) the
'/opt/RICHPse/bin/se.sparcv9.5.8 -DWATCH_OS
/usr/local/lib/orcallator.se' process does not keep running. A
'orcallator.pid' file is created in the
/usr/local/var/orca/orcallator/system directory.
Can anyone tell me what I need to install in order to make this work?
I have already installed /usr/ucb/ps and files that it requires.
The following output is from running truss on the above process.
# truss ./start_orcallator
execve("start_orcallator", 0xFFBEFD2C, 0xFFBEFD38) argc = 2
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open("/opt/CPfw1-50/lib/libgen.so.1", O_RDONLY) Err#2 ENOENT
open("/opt/CPshared/5.0/lib/libgen.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libgen.so.1", O_RDONLY) = 3
fstat(3, 0xFFBEF464) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF390000
mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF370000
mmap(0xFF386000, 2335, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF386000
munmap(0xFF376000, 65536) = 0
memcntl(0xFF370000, 6932, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
open("/opt/CPfw1-50/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
open("/opt/CPshared/5.0/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY) = 3
fstat(3, 0xFFBEF464) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
0) = 0xFF390000
mmap(0x00000000, 786432, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF280000
mmap(0xFF338000, 24720, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 688128) = 0xFF338000
munmap(0xFF328000, 65536) = 0
memcntl(0xFF280000, 112632, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
open("/opt/CPfw1-50/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
open("/opt/CPshared/5.0/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
fstat(3, 0xFFBEF464) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
0) = 0xFF390000
close(3) = 0
open("/usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xFFBEF2F4) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF360000
close(3) = 0
getpid() = 6226 [6225]
getpgid(6226) = 6196
getsid(6226) = 6189
brk(0x0003A0F0) = 0
sysconfig(_CONFIG_SIGRT_MIN) = 38
sysconfig(_CONFIG_SIGRT_MAX) = 45
sigaltstack(0xFFBEFC1C, 0x00000000) = 0
sigaction(SIGHUP, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGHUP, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGINT, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGINT, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGQUIT, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGQUIT, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGILL, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGILL, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGTRAP, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGTRAP, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGABRT, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGABRT, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGEMT, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGEMT, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGFPE, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGFPE, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGBUS, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGBUS, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGSEGV, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGSYS, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGSYS, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGPIPE, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGPIPE, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGALRM, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGALRM, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGTERM, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGTERM, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGUSR1, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGUSR1, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGUSR2, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGUSR2, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGPWR, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGPWR, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGURG, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGURG, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGPOLL, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGPOLL, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGVTALRM, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGVTALRM, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGPROF, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGPROF, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGXCPU, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGXCPU, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGXFSZ, 0x00000000, 0xFFBEFB98) = 0
sigaction(SIGXFSZ, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMIN, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMIN+1, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMIN+2, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMIN+3, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMAX-3, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMAX-2, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMAX-1, 0xFFBEFAF8, 0xFFBEFB78) = 0
sigaction(SIGRTMAX, 0xFFBEFAF8, 0xFFBEFB78) = 0
brk(0x0003A2F0) = 0
getuid() = 0 [0]
getuid() = 0 [0]
getgid() = 1 [1]
getgid() = 1 [1]
open64("./start_orcallator", O_RDONLY) = 3
close(19) Err#9 EBADF
fcntl(3, F_DUPFD, 0x00000013) = 19
close(3) = 0
fcntl(19, F_SETFD, 0x00000001) = 0
ioctl(2, TCGETA, 0xFFBEFB44) = 0
ioctl(19, TCGETA, 0xFFBEFB44) Err#25 ENOTTY
read(19, " # ! / b i n / s h\n\n #".., 128) = 128
read(19, " e d .\n p r e f i x = /".., 128) = 128
brk(0x0003A5F0) = 0
read(19, " b i n / c u t\n E X P R".., 128) = 128
brk(0x0003A3F0) = 0
read(19, " t a i n s t h e l o".., 128) = 128
brk(0x0003A580) = 0
brk(0x0003A980) = 0
read(19, " s i o n u s e d t o".., 128) = 128
read(19, " o n t a i n s a r e".., 128) = 128
read(19, " t t p s d\n\n # W A T".., 128) = 128
read(19, " " - D W A T C H _ W E B".., 128) = 128
read(19, " W A T C H _ W E B = " -".., 128) = 128
read(19, " u r e S E w o r k s".., 128) = 128
read(19, " S E _ P A T C H E S = "".., 128) = 128
read(19, " t < < E N D 1 > & 2".., 128) = 128
open64("/tmp/sh62260", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
read(19, " e m , t h e n f o l".., 128) = 128
read(19, " t e m , t h e n e i".., 128) = 128
write(3, " W h e n y o u c o n".., 362) = 362
close(3) = 0
getuid() = 0 [0]
stat64("/opt/CPfw1-50/bin/cat", 0xFFBEF740) Err#2 ENOENT
stat64("/opt/CPshared/5.0/bin/cat", 0xFFBEF740) Err#2 ENOENT
stat64("/usr/local/sbin/cat", 0xFFBEF740) Err#2 ENOENT
stat64("/usr/local/bin/cat", 0xFFBEF740) Err#2 ENOENT
stat64("/usr/sbin/cat", 0xFFBEF740) Err#2 ENOENT
stat64("/sbin/cat", 0xFFBEF740) Err#2 ENOENT
stat64("/usr/bin/cat", 0xFFBEF740) = 0
access("/usr/bin/cat", 9) = 0
read(19, " t 1\n f i\n\n i f t".., 128) = 128
brk(0x0003AD80) = 0
unlink("/tmp/sh62260") = 0
brk(0x0003AB80) = 0
brk(0x0003A980) = 0
stat64("/opt/RICHPse/bin/se", 0xFFBEF720) = 0
access("/opt/RICHPse/bin/se", 9) = 0
read(19, " G e t t h e h o s t".., 128) = 128
read(19, " - f 1 `\n\n # M a k e".., 128) = 128
pipe() = 3 [4]
fork() = 6227
close(4) = 0
read(3, " v s f f w 0 1\n", 128) = 8
read(3, 0xFFBEF878, 128) = 0
ioctl(3, TCGETA, 0xFFBEF6FC) Err#22 EINVAL
ioctl(3, TCGETA, 0xFFBEF75C) Err#22 EINVAL
close(3) = 0
waitid(P_PID, 6227, 0xFFBEF758, WEXITED|WTRAPPED) = 0
read(19, " " 1 > & 2\n e x i".., 128) = 128
read(19, " e n v i r o n m e n t a".., 128) = 128
read(19, " .\n p i d s = ` / u s r".., 128) = 128
pipe() = 3 [4]
fork() = 6229
close(4) = 0
read(3, 0xFFBEF878, 128) = 0
ioctl(3, TCGETA, 0xFFBEF6FC) Err#22 EINVAL
ioctl(3, TCGETA, 0xFFBEF75C) Err#22 EINVAL
close(3) = 0
waitid(P_PID, 6229, 0xFFBEF758, WEXITED|WTRAPPED) = 0
read(19, " a d y r u n n i n g .".., 128) = 128
Writing data into /usr/local/var/orca/orcallator/vsffw01/
write(1, " W r i t i n g d a t a".., 58) = 58
read(19, " B _ L O G "\n f i\n\n #".., 128) = 128
chdir("/") = 0
read(19, " s t y e t .\n i f t".., 128) = 128
stat64("/opt/CPfw1-50/bin/mkdir", 0xFFBEF6E0) Err#2 ENOENT
stat64("/opt/CPshared/5.0/bin/mkdir", 0xFFBEF6E0) Err#2 ENOENT
stat64("/usr/local/sbin/mkdir", 0xFFBEF6E0) Err#2 ENOENT
stat64("/usr/local/bin/mkdir", 0xFFBEF6E0) Err#2 ENOENT
stat64("/usr/sbin/mkdir", 0xFFBEF6E0) Err#2 ENOENT
stat64("/sbin/mkdir", 0xFFBEF6E0) Err#2 ENOENT
stat64("/usr/bin/mkdir", 0xFFBEF6E0) = 0
access("/usr/bin/mkdir", 9) = 0
brk(0x0003AE80) = 0
stat64("/usr/local/var/orca/orcallator/vsffw01", 0xFFBEF720) = 0
brk(0x0003AC80) = 0
brk(0x0003AA80) = 0
read(19, " l e t o c r e a t e".., 128) = 128
stat64("/usr/local/var/orca/orcallator/vsffw01", 0xFFBEF720) = 0
brk(0x0003A880) = 0
Starting logging
write(1, " S t a r t i n g l o g".., 17) = 17
read(19, " H _ W E B $ l i b d i".., 128) = 128
brk(0x0003AE80) = 0
stat64("/opt/CPfw1-50/bin/nohup", 0xFFBEF8C0) Err#2 ENOENT
stat64("/opt/CPshared/5.0/bin/nohup", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/local/sbin/nohup", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/local/bin/nohup", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/sbin/nohup", 0xFFBEF8C0) Err#2 ENOENT
stat64("/sbin/nohup", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/bin/nohup", 0xFFBEF8C0) = 0
access("/usr/bin/nohup", 9) = 0
fork() = 6231
Sending output to nohup.out
waitid(P_ALL, 0, 0xFFBEF9E8, WEXITED|WTRAPPED|WNOHANG) = 0
brk(0x0003AC80) = 0
brk(0x0003AA80) = 0
brk(0x0003A880) = 0
read(19, " a t o r . p i d\n\n # ".., 128) = 94
fcntl(1, F_DUPFD, 0x0000000A) = 10
creat64("/usr/local/var/orca/orcallator/vsffw01/orcallator.pid", 0666)
= 3
fcntl(1, F_GETFD, 0x00000000) = 0
close(1) = 0
fcntl(3, F_DUPFD, 0x00000001) = 1
close(3) = 0
write(1, " 6 2 3 1\n", 5) = 5
fcntl(1, F_GETFD, 0x00000000) = 0
close(1) = 0
fcntl(10, F_DUPFD, 0x00000001) = 1
close(10) = 0
waitid(P_ALL, 0, 0xFFBEF9E8, WEXITED|WTRAPPED|WNOHANG) = 0
stat64("/opt/CPfw1-50/bin/sleep", 0xFFBEF8C0) Err#2 ENOENT
stat64("/opt/CPshared/5.0/bin/sleep", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/local/sbin/sleep", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/local/bin/sleep", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/sbin/sleep", 0xFFBEF8C0) Err#2 ENOENT
stat64("/sbin/sleep", 0xFFBEF8C0) Err#2 ENOENT
stat64("/usr/bin/sleep", 0xFFBEF8C0) = 0
access("/usr/bin/sleep", 9) = 0
brk(0x0003AF80) = 0
fork() = 6237
waitid(P_PID, 6237, 0xFFBEFA48, WEXITED|WTRAPPED|WNOWAIT) (sleeping...)
waitid(P_PID, 6237, 0xFFBEFA48, WEXITED|WTRAPPED|WNOWAIT) = 0
ioctl(0, TIOCGPGRP, 0xFFBEFA04) = 0
ioctl(0, TCGETS, 0x000391B8) = 0
waitid(P_PID, 6237, 0xFFBEFA48, WEXITED|WTRAPPED) = 0
waitid(P_ALL, 0, 0xFFBEF9E8, WEXITED|WTRAPPED|WNOHANG) = 0
brk(0x0003AD80) = 0
read(19, 0x000394D8, 128) = 0
ioctl(19, TCGETA, 0xFFBEFADC) Err#25 ENOTTY
ioctl(19, TCGETA, 0xFFBEFB3C) Err#25 ENOTTY
close(19) = 0
llseek(0, 0, SEEK_CUR) = 12051
_exit(0)
More information about the Orca-users
mailing list