DNS - BIND 8.3.4-REL process dying without core on Solaris 7

Pasika, P M [NTK] Pimp.M.Pasika at mail.sprint.com
Sat Aug 28 08:51:44 UTC 2004


Hello,b
I'm running BIND 8.3.4-REL on a Netra 1400 w/ Solaris 7 installed.  I've
been noticing that named has been dying about every 2-5 minutes with no
pattern at all.  I have a process monitoring script respawning it
seamlessly; however I am unable to identify the cause of this error.  I
tried running a truss on the process to identify what is going on when
the process dies, below will be some pastes from 3 different
occurrences.  It may have something to do with /usr/local/etc/ndc.d.ndc
being unable to stat.  The permissions are:

# ls -l
total 0
srwxr-xr-x   1 root     other          0 Aug 28 01:38 ndc
# file ndc
ndc:            socket

The process is being run as user named, should I manually change the
owner of the file or leave it as is? (edit: I changed ownership to
named, to no avail.)


I know I need to update to 8.3.7, however the vulnerability of 8.3.4
should not be causing this to happen, I believe.  I compiled with gcc
2.95 (I couldn't get it to compile with 3.x) and the box is serving
about 1 million queries/hour.  I would like to identify the issue at
hand, upgrading to 9 seems prudent and unavoidable, however at this
time, this is my most pressing issue.  Thanks for all of your help in
advance.


Attempt #1

getpid()                                        = 9632 [1]
door_call(7, 0xFFBEE788)                        = 0
close(7)                                        = 0
fstat(3, 0xFFBEF1B0)                            = 0
time()                                          = 1093682128
getpid()                                        = 9632 [1]
putmsg(3, 0xFFBEE868, 0xFFBEE85C, 0)            = 0
open("/etc/.syslog_door", O_RDONLY)             = 7
door_info(7, 0xFFBEE7A0)                        = 0
getpid()                                        = 9632 [1]
door_call(7, 0xFFBEE788)                        = 0
close(7)                                        = 0
fcntl(5, F_GETFL, 0x00000000)                   = 130
fstat64(5, 0xFFBEF7E0)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF8E0, 0xFFBEF8D8, -14572420) = 0
fcntl(5, F_GETFL, 0x00000000)                   = 130
fstat64(5, 0xFFBEF858)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF958, 0xFFBEF950, 267386896) = 0
fstat64(5, 0xFFBEF858)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF958, 0xFFBEF954, 267386896) = 0
setsockopt(5, 65535, 8192, 0xFFBEF958, 4, 267386896) = 0
fcntl(5, F_SETFL, 0x00000082)                   = 0
close(5)                                        = 0
stat("/usr/local/etc/ndc.d/ndc", 0xFFBEFAC0)    Err#13 EACCES
llseek(0, 0, SEEK_CUR)                          = 0
_exit(0)


Attempt #2

fstat64(5, 0xFFBEF858)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF958, 0xFFBEF954, 1609564176) = 0
setsockopt(5, 65535, 8192, 0xFFBEF958, 4, 1609564176) = 0
fcntl(5, F_SETFL, 0x00000082)                   = 0
close(5)                                        = 0
stat("/usr/local/etc/ndc.d/ndc", 0xFFBEFAC0)    Err#13 EACCES
llseek(0, 0, SEEK_CUR)                          = 0
_exit(0)

------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
---------------

Attempt #3

getpid()                                        = 13900 [1]
door_call(7, 0xFFBEE788)                        = 0
close(7)                                        = 0
fstat(3, 0xFFBEF1B0)                            = 0
time()                                          = 1093682626
getpid()                                        = 13900 [1]
putmsg(3, 0xFFBEE868, 0xFFBEE85C, 0)            = 0
open("/etc/.syslog_door", O_RDONLY)             = 7
door_info(7, 0xFFBEE7A0)                        = 0
getpid()                                        = 13900 [1]
door_call(7, 0xFFBEE788)                        = 0
close(7)                                        = 0
fcntl(5, F_GETFL, 0x00000000)                   = 130
fstat64(5, 0xFFBEF7E0)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF8E0, 0xFFBEF8D8, 0) = 0
fcntl(5, F_GETFL, 0x00000000)                   = 130
fstat64(5, 0xFFBEF858)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF958, 0xFFBEF950, 267386896) = 0
fstat64(5, 0xFFBEF858)                          = 0
getsockopt(5, 65535, 8192, 0xFFBEF958, 0xFFBEF954, 267386896) = 0
setsockopt(5, 65535, 8192, 0xFFBEF958, 4, 267386896) = 0
fcntl(5, F_SETFL, 0x00000082)                   = 0
close(5)                                        = 0
stat("/usr/local/etc/ndc.d/ndc", 0xFFBEFAC0)    Err#13 EACCES
llseek(0, 0, SEEK_CUR)                          = 0
_exit(0)


-Paul Pasika
Sprint PCS
913-227-5097
paulpasika at nmcc.sprintspectrum.com




More information about the bind-users mailing list