[syslog-ng] syslog-ng keeps dying on sol 2.6/2.7

Jacob Zehnder jrz@rackmount.org
Thu, 9 Dec 1999 12:14:15 -0800 (PST)


i just restarted syslog-ng for the 3rd time in 2 weeks today.  our setup
is as follows, sol 2.6 log server, cluster machines running 2.7 which log
remotely to the 2.6 box.  ive successfully restarted syslog-ng on all the
machines except for one. here is truss/core output

root@s0-c2:~> adb core
core file = core -- program ``syslog-ng'' on platform SUNW,Ultra-5_10
SIGABRT: Abort

root@s0-c2:~> truss /etc/init.d/syslog start
execve("/sbin/sh", 0xFFBEFD04, 0xFFBEFD14)  argc = 3
getpid()                                        = 13264 [13263]
getpgid(13264)                                  = 13263
getsid(13264)                                   = 12488
brk(0x000629B0)                                 = 0
sysconfig(_CONFIG_SIGRT_MIN)                    = 38
sysconfig(_CONFIG_SIGRT_MAX)                    = 45
sigaltstack(0xFFBEFBFC, 0x00000000)             = 0
sigaction(SIGHUP, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGHUP, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGINT, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGINT, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGQUIT, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGQUIT, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGILL, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGILL, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGTRAP, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGTRAP, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGABRT, 0x00000000, 0xFFBEFB78)      = 0              
sigaction(SIGABRT, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGEMT, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGEMT, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGFPE, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGFPE, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGBUS, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGBUS, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGSEGV, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGSYS, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGSYS, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGPIPE, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGPIPE, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGALRM, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGALRM, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGTERM, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGTERM, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGUSR1, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGUSR1, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGUSR2, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGUSR2, 0xFFBEFAD8, 0xFFBEFB58)      = 0                   
sigaction(SIGPWR, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGPWR, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGURG, 0x00000000, 0xFFBEFB78)       = 0
sigaction(SIGURG, 0xFFBEFAD8, 0xFFBEFB58)       = 0
sigaction(SIGPOLL, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGPOLL, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGVTALRM, 0x00000000, 0xFFBEFB78)    = 0
sigaction(SIGVTALRM, 0xFFBEFAD8, 0xFFBEFB58)    = 0
sigaction(SIGPROF, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGPROF, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGXCPU, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGXCPU, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGXFSZ, 0x00000000, 0xFFBEFB78)      = 0
sigaction(SIGXFSZ, 0xFFBEFAD8, 0xFFBEFB58)      = 0
sigaction(SIGRTMIN, 0xFFBEFAD8, 0xFFBEFB58)     = 0
sigaction(SIGRTMIN+1, 0xFFBEFAD8, 0xFFBEFB58)   = 0
sigaction(SIGRTMIN+2, 0xFFBEFAD8, 0xFFBEFB58)   = 0
sigaction(SIGRTMIN+3, 0xFFBEFAD8, 0xFFBEFB58)   = 0
sigaction(SIGRTMAX-3, 0xFFBEFAD8, 0xFFBEFB58)   = 0                          
sigaction(SIGRTMAX-2, 0xFFBEFAD8, 0xFFBEFB58)   = 0
sigaction(SIGRTMAX-1, 0xFFBEFAD8, 0xFFBEFB58)   = 0
sigaction(SIGRTMAX, 0xFFBEFAD8, 0xFFBEFB58)     = 0
brk(0x00062BB0)                                 = 0
getuid()                                        = 0 [0]
getuid()                                        = 0 [0]
getgid()                                        = 1 [1]
getgid()                                        = 1 [1]
open64("/etc/init.d/syslog", 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, 0xFFBEFB24)                    = 0
ioctl(19, TCGETA, 0xFFBEFB24)                   Err#25 ENOTTY
read(19, " # ! / s b i n / s h\n #".., 128)     = 128
read(19, "   S M I "\n\n D I R = /".., 128)     = 128
read(19, " n g   ] ;   t h e n\n\t".., 128)     = 128                
brk(0x00062EB0)                                 = 0
read(19, " h a t   m e s s a g e s".., 128)     = 128
read(19, " 1   &\n\t f i\n\t ; ;\n".., 128)     = 128
read(19, " ]   & &   k i l l   - 1".., 128)     = 86
brk(0x000632B0)                                 = 0
stat64("/logs/conf/nodes/syslog-ng.conf", 0xFFBEF6C0) = 0
stat64("/usr/local/sbin/syslog-ng", 0xFFBEF660) = 0
syslog service starting.
write(1, " s y s l o g   s e r v i".., 25)      = 25
fork()                                          = 13265
waitid(P_ALL, 0, 0xFFBEF810, WEXITED|WTRAPPED|WNOHANG) = 0
brk(0x000630B0)                                 = 0
read(19, 0x00061978, 128)                       = 0
ioctl(19, TCGETA, 0xFFBEFABC)                   Err#25 ENOTTY
ioctl(19, TCGETA, 0xFFBEFB1C)                   Err#25 ENOTTY
close(19)                                       = 0
llseek(0, 0, SEEK_CUR)                          = 45696
_exit(0)                                                                    

then it creates a new core file.

* * * * * * * * * * * * * * * * * 
 * Jacob Zehnder * * * * * * * * 
  * Grill Master  * * * * * * *
   * "The dude abides."  * * * 
    *  'The Big Lebowski' * *  
     * * * * * * * * * * * *