[Pdns-users] newbie pdns crashing on startup

Augie Schwer augie.schwer at gmail.com
Thu Mar 19 17:42:47 UTC 2009


You could try compiling the source from the website; also is that the
full strace?  --Augie

2009/3/18 Dave Corsello <davecorsello at gmail.com>:
> I compiled it from the FreeBSD powerdns port.
>
> Augie Schwer wrote:
>
> Did you compile this yourself for FreeBSD?  --Augie
>
>
> On Tue, Mar 17, 2009 at 7:17 PM, Dave Corsello <davecorsello at gmail.com>
> wrote:
>
>
> No, user and group do exist. --Dave
>
> Augie Schwer wrote:
>
> Is it trying to setgid to "pdns" but the pdns user/group do not exist?
> --Augie
>
> 2009/3/17 Dave Corsello <davecorsello at gmail.com>:
>
>
> Ask Bjørn Hansen wrote:
>
> Sometimes in situations like this it can be helpful to run strace (or your
> platforms equivalent).  On linux something like:
>
> strace -o /tmp/pdns.trace -f /usr/bin/pdns
>
> will generate list of system calls in /tmp/pdns.trace -- it might give a
> hint as to what the process gets stuck on.
>
>
>  - ask
>
>
> Thanks a lot, Ask.  I don't know what to look for in the trace output, so
> for what it's worth, here's a listing of all the calls that have a return
> code of "-1":
>
> 5386  open("/etc/libmap.conf", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> 5386  access("/lib/libstdc++.so.6", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  readlink("/etc/malloc.conf", 0xbfbfe557, 1024) = -1 ENOENT (No such
> file or directory)
> 5386  mkdir("/var/run/", 0700)          = -1 EEXIST (File exists)
> 5386  ioctl(5, TIOCGETA, 0xbfbfe578)    = -1 ENOTTY (Inappropriate ioctl for
> device)
> 5386  access("/lib/nss_compat.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_compat.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/compat/nss_compat.so.1", F_OK) = -1 ENOENT (No such
> file or directory)
> 5386  access("/usr/local/lib/nss_compat.so.1", F_OK) = -1 ENOENT (No such
> file or directory)
> 5386  access("/usr/local/lib/mysql/nss_compat.so.1", F_OK) = -1 ENOENT (No
> such file or directory)
> 5386  access("/lib/nss_compat.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_compat.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/lib/nss_nis.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_nis.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/compat/nss_nis.so.1", F_OK) = -1 ENOENT (No such file
> or directory)
> 5386  access("/usr/local/lib/nss_nis.so.1", F_OK) = -1 ENOENT (No such file
> or directory)
> 5386  access("/usr/local/lib/mysql/nss_nis.so.1", F_OK) = -1 ENOENT (No such
> file or directory)
> 5386  access("/lib/nss_nis.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_nis.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/lib/nss_files.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_files.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/compat/nss_files.so.1", F_OK) = -1 ENOENT (No such
> file or directory)
> 5386  access("/usr/local/lib/nss_files.so.1", F_OK) = -1 ENOENT (No such
> file or directory)
> 5386  access("/usr/local/lib/mysql/nss_files.so.1", F_OK) = -1 ENOENT (No
> such file or directory)
> 5386  access("/lib/nss_files.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_files.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/lib/nss_dns.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_dns.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/compat/nss_dns.so.1", F_OK) = -1 ENOENT (No such file
> or directory)
> 5386  access("/usr/local/lib/nss_dns.so.1", F_OK) = -1 ENOENT (No such file
> or directory)
> 5386  access("/usr/local/lib/mysql/nss_dns.so.1", F_OK) = -1 ENOENT (No such
> file or directory)
> 5386  access("/lib/nss_dns.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  access("/usr/lib/nss_dns.so.1", F_OK) = -1 ENOENT (No such file or
> directory)
> 5386  ioctl(5, TIOCGETA, 0xbfbfe578)    = -1 ENOTTY (Inappropriate ioctl for
> device)
>
> The call that seems to be interrupted mid-stream is this one:
>
> 5386  setgid(0x3eans1
>
> Thanks,
> Dave
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>



-- 
Augie Schwer    -    Augie at Schwer.us    -    http://schwer.us
Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072


More information about the Pdns-users mailing list