errors on getaddrinfo(): nodename nor servname provided, or not known

Damien Miller djm at mindrot.org
Tue Oct 14 15:53:43 EST 2008


On Mon, 13 Oct 2008, Jesse Armand wrote:

> Hello openssh developers,
> 
> I had built openssh-4.7p1 on arm-apple-darwin9 platform, but
> I get this error when I load sshd using launchd:
> 
> root# launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist
> errors on getaddrinfo(): nodename nor servname provided, or not known
> 
> When I execute sshd directly, I don't get any warnings or error
> messages, but the sshd is not listening on the intended port, and it's
> not running.
> 
> I didn't change anything significant on the code, except disabling the
> use of utmp.h and util.h.
> 
> Can anyone pinpoint me on what's wrong ?

Can you post a normal debug output? ("sshd -ddd") I have no idea how much
munging is done between launchctl and sshd, but "errors on getaddrinfo()"
is not a sshd error message AFAIK.

-d


More information about the openssh-unix-dev mailing list