Find the answer to your Linux question:
Results 1 to 2 of 2
Here's an strace of when I start in.named It looks like something is fundamentally wrong, it doesn't even get to reading the config files?? Whats with all the lib*.cat files?? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    1

    BIND 9 failing to start on redhat


    Here's an strace of when I start in.named
    It looks like something is fundamentally wrong, it doesn't even get to reading the config files??
    Whats with all the lib*.cat files??


    strace /opt/qip/usr/bin/in.named
    execve("/opt/qip/usr/bin/in.named", ["/opt/qip/usr/bin/in.named"], [/* 23 vars */]) = 0
    uname({sys="Linux", node="dns.mycompany.com", ...}) = 0
    brk(0) = 0x95c5000
    open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=17885, ...}) = 0
    old_mmap(NULL, 17885, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75f5000
    close(3) = 0
    open("/lib/libnsl.so.1", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0 \0 <\0\000"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=91040, ...}) = 0
    old_mmap(NULL, 84864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x5d7000
    old_mmap(0x5e9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x5e9000
    old_mmap(0x5ea000, 7040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x5ea000
    close(3) = 0
    open("/lib/tls/libc.so.6", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2 00X\1"..., 512) = 512
    old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f4000
    fstat64(3, {st_mode=S_IFREG|0755, st_size=1571692, ...}) = 0
    old_mmap(NULL, 1275340, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x833000
    old_mmap(0x965000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x132000) = 0x965000
    old_mmap(0x968000, 9676, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x968000
    close(3) = 0
    set_thread_area({entry_number:-1 -> 6, base_addr:0xb75f4860, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
    munmap(0xb75f5000, 17885) = 0
    socket(PF_FILE, SOCK_DGRAM, 0) = 3
    fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
    connect(3, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
    getuid32() = 0
    capset(0x19980330, 0, {CAP_DAC_READ_SEARCH|CAP_SETGID|CAP_SETUID|CAP_NET _BIND_SERVICE|CAP_SYS_CHROOT|CAP_SYS_RESOURCE, CAP_DAC_READ_SEARCH|CAP_SETGID|CAP_SETUID|CAP_NET_ BIND_SERVICE|CAP_SYS_CHROOT|CAP_SYS_RESOURCE, CAP_DAC_READ_SEARCH|CAP_SETGID|CAP_SETUID|CAP_NET_ BIND_SERVICE|CAP_SYS_CHROOT|CAP_SYS_RESOURCE}) = 0
    rt_sigaction(SIGXFSZ, {SIG_IGN}, {SIG_DFL}, = 0
    brk(0) = 0x95c5000
    brk(0x95e6000) = 0x95e6000
    brk(0) = 0x95e6000
    open("/usr/share/locale/en_US.UTF-8/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libisccc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/localtime", O_RDONLY) = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f9000
    read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\ 0\4\0"..., 4096) = 1267
    close(4) = 0
    munmap(0xb75f9000, 4096) = 0
    open("/dev/null", O_RDWR) = 4
    prctl(0x8, 0x1, 0, 0, 0) = 0
    getuid32() = 0
    pipe([5, 6]) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0xb75f48a = 10921
    close(6) = 0
    read(5, "", 1) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    exit_group(1) = ?


    Regards

  2. #2
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    A more useful output is if you execute this command while BIND is not running:
    named -u named -g

    I'm not sure if you're using chroot or not. It may help if you tell me what your operating system is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •