Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sshd won't start

Status
Not open for further replies.

funkyd

IS-IT--Management
Apr 27, 2000
32
US
AIX 5.1, OpenSSh 4.1, OpenSSL 0.97g

#> /usr/sbin/sshd -d
debug1: sshd version OpenSSH_4.1p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
getnameinfo failed: Invalid argument
getnameinfo failed: Invalid argument
Cannot bind any address.


Anyone see this issue before? TIA!

- Funky D
 
0513-086 The sshd Group is not on file.

"startsrc -s sshd" works fine, it's just that the sshd dæmon dies after starting up with the "Invalid argument" shown above.

Any ideas?


- Funky D
 
Does the ssh user and the sshd group exist? Is the home-directory of the ssh user /var/empty?

Stefan
 
This is the part thats failing

if ((ret = getnameinfo(ai->ai_addr, ai->ai_addrlen,
ntop, sizeof(ntop), strport, sizeof(strport),
NI_NUMERICHOST|NI_NUMERICSERV)) != 0) {
error("getnameinfo failed: %.100s",
(ret != EAI_SYSTEM) ? gai_strerror(ret) :
strerror(errno));
continue;

I may be mistaken but it looks like the hostname or I.P lookup isn't working.

Have you configured ssh for IPv6 or IPv4. I believe IPv6 is broken at some releases of AIX.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Stefan: Everything is set up as described

Mike: That was my first though as well, but nothing else is broken on this server (telent, ftp, DNS, etc.).

I even tried staring up in IPv4 only and got the same result.

Any other ideas? There is little to go on Google-wise



- Funky D
 
Where did you get SSH from may be worth getting a later / ealier version if poss....?

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top