<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I compiled it from the FreeBSD powerdns port.<br>
<br>
Augie Schwer wrote:
<blockquote
 id="mid_192e943c0903181221gaa8cb57jcc1a52ce794a98ef_mail_gmail_com"
 cite="mid:192e943c0903181221gaa8cb57jcc1a52ce794a98ef@mail.gmail.com"
 type="cite">
  <pre wrap="">Did you compile this yourself for FreeBSD?  --Augie


On Tue, Mar 17, 2009 at 7:17 PM, Dave Corsello <a class="moz-txt-link-rfc2396E" href="mailto:davecorsello@gmail.com"><davecorsello@gmail.com></a> wrote:
  </pre>
  <blockquote id="StationeryCiteGenerated_1" type="cite">
    <pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:davecorsello@gmail.com"><davecorsello@gmail.com></a>:


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
<a class="moz-txt-link-abbreviated" href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.powerdns.com/mailman/listinfo/pdns-users">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a>






    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
</body>
</html>