PDA

View Full Version : bind segfaults on startup/shutdown


darkrose
08-02-2005, 04:42 PM
Today I rebooted my server after installing a new kernel (via teknic), and I couldn't get bind to start back up.

Here's the (lackluster) info from the messages log:

Aug 2 11:17:55 server named[765]: starting BIND 9.2.4 -u named
Aug 2 11:17:55 server named[765]: using 1 CPU
Aug 2 11:17:55 server named: named startup failed

This VM is running directadmin on CentOS 3.4, so I tried reinstalling DA to see if that would take care of it. I also removed and reinstalled the installed bind RPMs, that didn't help either.

When I run named -f, it returns:
Segmentation fault

I am in the process of reinstalling yet again, but I was wondering if anyone has any ideas as to why this is happening (and subsequently driving me crazy).

darkrose
08-02-2005, 05:11 PM
The plot thickens.. Ran an strace, amongst other things, I got:

open("/usr/share/locale/C/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x40124628, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
open("/usr/share/locale/C/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x40268504, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
futex(0x4026855c, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
futex(0x40125ad0, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
open("/usr/share/locale/C/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x4012662c, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
futex(0x401266d8, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
open("/usr/share/locale/C/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/LC_MESSAGES/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x40231150, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
futex(0x40231154, FUTEX_WAKE, 2147483647) = -1 ENOSYS (Function not implemented)
open("/etc/localtime", O_RDONLY)

The jist of it is the following files are not found:

/usr/share/locale/C/libdns.cat
/usr/share/locale/C/LC_MESSAGES/libdns.cat
/usr/share/locale/C/libisc.cat
/usr/share/locale/C/LC_MESSAGES/libisc.cat
/usr/share/locale/C/libdst.cat
/usr/share/locale/C/LC_MESSAGES/libdst.cat
/usr/share/locale/C/libisccc.cat
/usr/share/locale/C/LC_MESSAGES/libisccc.cat

I ran a locate on these files and could not find them on my machine. :(

Still working with google. This might be related to a chroot/jail issue they've done in CentOS according to things I've found so far. Any help would be appreciated (before my head starts impacting the monitor)