Jesse Armand
2008-Oct-13 09:28 UTC
errors on getaddrinfo(): nodename nor servname provided, or not known
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 ? Jesse Armand ---------------------------------------- (http://jessearm.blogspot.com)
Jesse Armand
2008-Oct-13 10:59 UTC
errors on getaddrinfo(): nodename nor servname provided, or not known
Corrections, it's running and listening if I invoked sshd directly. I may need to find out the proper way of integration of sshd into launchd. On Mon, Oct 13, 2008 at 4:28 PM, Jesse Armand <mnemonic.fx at gmail.com> 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 ? > >
Damien Miller
2008-Oct-14 04:53 UTC
errors on getaddrinfo(): nodename nor servname provided, or not known
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