[syslog-ng]syslog-ng 1.4.13 on solaris 5.6 and 5.8

Jasper Jans jjans@bio.vu.nl
Tue, 2 Oct 2001 13:09:43 +0200 (MEST)


bash-2.04# truss ./syslog-ng -f
/etc/local/syslog-ng-1.4.13/etc/syslog-ng.conf -dv
execve("./syslog-ng", 0xEFFFFD48, 0xEFFFFD5C)  argc = 4
stat("syslog-ng", 0xEFFFFA50)                   = 0
open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
open("/usr/lib/libpthread.so.1", O_RDONLY)      = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF7B0000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF790000
mmap(0xEF7A2000, 5500, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xEF7A2000
munmap(0xEF794000, 57344)                       = 0
memcntl(0xEF790000, 12160, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libdoor.so.1", O_RDONLY)         = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7B0000
mmap(0x00000000, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF770000
mmap(0xEF780000, 3868, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF780000
munmap(0xEF772000, 57344)                       = 0
memcntl(0xEF770000, 2608, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libsocket.so.1", O_RDONLY)       = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7B0000
mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF750000
mmap(0xEF766000, 8185, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xEF766000
open("/dev/zero", O_RDONLY)                     = 4
mmap(0xEF768000, 388, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
4, 0) = 0xEF768000
munmap(0xEF758000, 57344)                       = 0
memcntl(0xEF750000, 12072, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7B0000
mmap(0x00000000, 581632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF680000
mmap(0xEF700000, 32812, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 458752) = 0xEF700000
mmap(0xEF70A000, 15880, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF70A000
munmap(0xEF6F2000, 57344)                       = 0
memcntl(0xEF680000, 70140, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libxnet.so.1", O_RDONLY)         = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7B0000
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF740000
close(3)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF730000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF580000
mmap(0xEF622000, 29984, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 598016) = 0xEF622000
mmap(0xEF62A000, 4144, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF62A000
munmap(0xEF614000, 57344)                       = 0
memcntl(0xEF580000, 101660, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0xEF730000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF730000
close(3)                                        = 0
open("/usr/lib/libmp.so.2", O_RDONLY)           = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF720000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF660000
mmap(0xEF672000, 3581, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xEF672000
munmap(0xEF664000, 57344)                       = 0
memcntl(0xEF660000, 3020, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF654)                            = 0
mmap(0xEF720000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF720000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF650000
close(3)                                        = 0
open("/usr/lib/libthread.so.1", O_RDONLY)       = 3
fstat(3, 0xEFFFF7EC)                            = 0
mmap(0xEF720000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF720000
mmap(0x00000000, 204800, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF540000
mmap(0xEF566000, 9808, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 90112) = 0xEF566000
mmap(0xEF56A000, 28804, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF56A000
munmap(0xEF558000, 57344)                       = 0
memcntl(0xEF540000, 25132, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
close(4)                                        = 0
munmap(0xEF720000, 8192)                        = 0
brk(0x000375D8)                                 = 0
sysconfig(_CONFIG_PAGESIZE)                     = 8192
sigfillset(0xEF629DD0)                          = 0
lwp_self()                                      = 1
lwp_self()                                      = 1
sigprocmask(SIG_SETMASK, 0x00000000, 0xEFFFF8D8) = 0
sigprocmask(SIG_SETMASK, 0xEF567E70, 0x00000000) = 0
sigaction(SIGLWP, 0xEF5684B0, 0x00000000)       = 0
sigaction(SIGCANCEL, 0xEF5684B0, 0x00000000)    = 0
sigaction(SIGSEGV, 0xEF5684B0, 0x00000000)      = 0
brk(0x000375D8)                                 = 0
brk(0x000395D8)                                 = 0
open("/dev/zero", O_RDWR)                       = 3
mmap(0x00000000, 8454144, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_NORESERVE, 3, 0) = 0xEEC00000
close(3)                                        = 0
mprotect(0xEEC00000, 8192, PROT_NONE)           = 0
mprotect(0xEED02000, 8192, PROT_NONE)           = 0
mprotect(0xEEE04000, 8192, PROT_NONE)           = 0
mprotect(0xEEF06000, 8192, PROT_NONE)           = 0
mprotect(0xEF008000, 8192, PROT_NONE)           = 0
mprotect(0xEF10A000, 8192, PROT_NONE)           = 0
mprotect(0xEF20C000, 8192, PROT_NONE)           = 0
mprotect(0xEF30E000, 8192, PROT_NONE)           = 0
lwp_create(0xEFFFF610, 0x0100, 0xEF40FE04)      = 2
lwp_create(0xEFFFF610, 0x0100, 0xEF40FE04)      = -276885348
door_create(0xEF552808, 0x00000000, 0x00000002) = 3
getpid()                                        = 9323 [9322]
lwp_schedctl(SC_STATE|SC_BLOCK, 3, 0xEFFFF814)  = 0
door_info(3, 0xEF56A888)                        = 0
open("/dev/zero", O_RDWR)                       = 4
mmap(0x00000000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_NORESERVE, 4, 0) = 0xEF640000
close(4)                                        = 0
mprotect(0xEF640000, 8192, PROT_NONE)           = 0
lwp_create(0xEFFFF5F8, 0x00C0, 0xEF645E04)      = 3
lwp_continue(3)                                 = 0
lwp_create(0x00000001, 0x6000, 0xEFFFF794)      = 0
lwp_schedctl(SC_STATE|SC_BLOCK, -1, 0xEF645D0C) = 0
lwp_schedctl(SC_DOOR, 0, 0x00000000)            = 4
door_bind(4)                                    = 0
close(4)                                        = 0
close(3)                                        = 0
sigaction(SIGWAITING, 0xEF567CE0, 0x00000000)   = 0
lwp_self()                                      = 1
open("/etc/local/syslog-ng-1.4.13/etc/syslog-ng.conf", O_RDONLY) = 3
brk(0x000395D8)                                 = 0
brk(0x0003D5D8)                                 = 0
ioctl(3, TCGETA, 0xEFFFFA44)                    Err#25 ENOTTY
fstat64(3, 0xEFFFF450)                          = 0
brk(0x0003D5D8)                                 = 0
brk(0x0003F5D8)                                 = 0
ioctl(3, TCGETA, 0xEFFFF3DC)                    Err#25 ENOTTY
read(3, " #   S Y S L O G - N G  ".., 8192)     = 676
read(3, 0x0003BF0C, 8192)                       = 0
brk(0x0003F5D8)                                 = 0
brk(0x000415D8)                                 = 0
ioctl(3, TCGETA, 0xEFFFF4B4)                    Err#25 ENOTTY
llseek(3, 0, SEEK_CUR)                          = 676
close(3)                                        = 0
open("/dev/log", O_RDONLY|O_NONBLOCK|O_NOCTTY)  = 3
ioctl(3, I_STR, 0xEFFFFB18)                     = 0
stat("/etc/.syslog_door", 0xEFFFFA90)           = 0
umount("/etc/.syslog_door")                     = 0
door_create(0x0001C728, 0x00000000, 0x00000000) = 4
getpid()                                        = 9323 [9322]
lwp_create(0xEFFFF650, 0x00C0, 0xEF20BE04)      = 4
lwp_continue(4)                                 = 0
lwp_create(0xEFFFF650, 0x00C0, 0xEF20BE04)      = -268437784
lwp_self()                                      = 4
lwp_schedctl(SC_STATE, -1, 0xEF20BD6C)          = 0
yield()                                         = 0
ioctl(4, I_CANPUT, 0x00000000)                  Err#89 ENOSYS
door_info(4, 0xEFFFF9F8)                        = 0
mount("", "/etc/.syslog_door", MS_DATA, "namefs", 0xEFFFF9F4, 4) = 0
so_socket(2, 2, 6, "", 1)                       = 5
fcntl(5, F_GETFL, 0x00000000)                   = 2
fstat64(5, 0xEFFFF870)                          = 0
getsockopt(5, 65535, 8192, 0xEFFFF974, 0xEFFFF96C) = 0
fstat64(5, 0xEFFFF870)                          = 0
getsockopt(5, 65535, 8192, 0xEFFFF974, 0xEFFFF970) = 0
setsockopt(5, 65535, 8192, 0xEFFFF974, 4)       = 0
fcntl(5, F_SETFL, 0x00000082)                   = 0
fcntl(5, F_SETFD, 0x00000001)                   = 0
io.c: connecting using fd 5
write(2, " i o . c :   c o n n e c".., 28)      = 28
open("/etc/netconfig", O_RDONLY)                = 6
fstat64(6, 0xEFFFF1B8)                          = 0
brk(0x000415D8)                                 = 0
brk(0x000435D8)                                 = 0
ioctl(6, TCGETA, 0xEFFFF144)                    Err#25 ENOTTY
read(6, " #\n #   T h e   " N e t".., 8192)     = 1064
read(6, 0x0003FB6C, 8192)                       = 0
llseek(6, 0, SEEK_CUR)                          = 1064
llseek(6, 0, SEEK_SET)                          = 0
read(6, " #\n #   T h e   " N e t".., 8192)     = 1064
read(6, 0x0003FB6C, 8192)                       = 0
llseek(6, 0, SEEK_CUR)                          = 1064
close(6)                                        = 0
open64("/etc/.name_service_door", O_RDONLY)     = 6
fcntl(6, F_SETFD, 0x00000001)                   = 0
door_info(6, 0xEF629C58)                        = 0
door_call(6, 0xEFFFD688)                        = 0
signotifywait()                                 = 32
lwp_sigredirect(0, SIGWAITING)                  = 0
sigaction(SIGWAITING, 0xEF567D00, 0x00000000)   = 0
open("/dev/zero", O_RDWR)                       = 7
mmap(0x00000000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_NORESERVE, 7, 0) = 0xEF530000
close(7)                                        = 0
mprotect(0xEF530000, 8192, PROT_NONE)           = 0
lwp_create(0xEF40FAF0, 0x00C0, 0xEF533E04)      = 5
lwp_continue(5)                                 = 0
lwp_create(0x00000001, 0x4000, 0xEF40FC8C)      = 0
lwp_schedctl(SC_STATE|SC_BLOCK, -1, 0xEF533D0C) = 0
time()                                          = 1002019652
close(5)                                        = 0
Error creating AF_INET socket (Error 0)
write(2, " E r r o r   c r e a t i".., 40)      = 40
Error initializing configuration, exiting.
write(2, " E r r o r   i n i t i a".., 43)      = 43
llseek(0, 0, SEEK_CUR)                          = 25235
_exit(2)