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 <[email protected]>:
  
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
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users


    



  

_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to