SSHD does not start


 
Thread Tools Search this Thread
Operating Systems AIX SSHD does not start
# 8  
Old 01-08-2008
Quote:
Originally Posted by Neo
You have a DNS problem (host name, IP address, name-IP resolution), it seems.
I don't think so...

Code:
bash-2.05a# ping www.google.it
PING www.l.google.com: (216.239.59.104): 56 data bytes
64 bytes from 216.239.59.104: icmp_seq=0 ttl=241 time=94 ms
64 bytes from 216.239.59.104: icmp_seq=1 ttl=241 time=45 ms
^C
----www.l.google.com PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 45/69/94 ms


Could it be really a bug...? Have I to upgrade th ML?

Code:
bash-2.05a# oslevel -r
5100-02

# 9  
Old 01-08-2008
Pinging a remote host does not show that your own DNS name services on the host you are using are configured correctly.

You have to ping yourself Smilie
# 10  
Old 01-08-2008
Code:
bash-2.05a# ping localhost
PING localhost: (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0 ms
^C
----localhost PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

# 11  
Old 01-08-2008
Pinging localhost does not test a DNS issue. Localhost does not use DNS.

You have to ping your fully qualified host name and your hostname without the domain name. etc.
# 12  
Old 01-08-2008
Quote:
Originally Posted by Neo
Pinging localhost does not test a DNS issue. Localhost does not use DNS.

You have to ping your fully qualified host name and your hostname without the domain name. etc.
Smilie


Code:
bash-2.05a# hostname
xyz.abcd.com

bash-2.05a# ping xyz
PING xyz.abcd.com: (192.168.2.7): 56 data bytes
64 bytes from 192.168.2.7: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 192.168.2.7: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 192.168.2.7: icmp_seq=2 ttl=255 time=0 ms
^C
----xyz.abcd.com PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

# 13  
Old 01-08-2008
You cannot check getnameinfo (your error) by pinging with your hostname, now that I look into this further.

pSeries and AIX Information Center

You need to do an nslookup on your IP address and see if the reverse lookup (IP address to name) is working.
# 14  
Old 01-08-2008
Also see:



Code:
RETURN VALUE
A zero return value for getnameinfo() indicates successful completion; a non-zero return value indicates failure. The possible values for the failures are listed in the ERRORS section.

Upon successful completion, getnameinfo() shall return the node and service names, if requested, in the buffers provided. The returned names are always null-terminated strings.

ERRORS
The getnameinfo() function shall fail and return the corresponding value if:

[EAI_AGAIN] 
The name could not be resolved at this time. Future attempts may succeed. 
[EAI_BADFLAGS] 
The flags had an invalid value. 
[EAI_FAIL] 
A non-recoverable error occurred. 
[EAI_FAMILY] 
The address family was not recognized or the address length was invalid for the specified family. 
[EAI_MEMORY] 
There was a memory allocation failure. 
[EAI_NONAME] 
The name does not resolve for the supplied parameters. 
NI_NAMEREQD is set and the host's name cannot be located, or both nodename and servname were null.

[EAI_OVERFLOW] 
An argument buffer overflowed. The buffer pointed to by the node argument or the service argument was too small. 
[EAI_SYSTEM] 
A system error occurred. The error code can be found in errno.

Reference:

getnameinfo
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Sshd - error

Hi, Do you know what cause the error message ? Nov 19 13:42:19 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in /etc/environment', ignoring Nov 19 13:42:20 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in... (0 Replies)
Discussion started by: xitrum
0 Replies

2. Solaris

pam sshd error

Hi I wanted to convert my pam libraries to 64 bit. so recently compiled my pam_banner and pam_wheel to 64 bit. I got the following error... sshd: dlsym failed pam_sm_authenticate:error ld.so.1 : sshd fatal: pam_sm_authenticate: can't find symbol thnaks (8 Replies)
Discussion started by: chinchao
8 Replies

3. Solaris

sshd and loginlog

I have shamelessly tried all the possible ways to see if my /var/adm/loginlog logs user access entries for ssh but nothing has worked for me so far..:confused: for telnet login its working fine. Adding auth.info in syslog.conf works but i dont want that output. Is there any way to edit... (2 Replies)
Discussion started by: ningy
2 Replies

4. Solaris

sshd not able to restart

Hi, I was able to putty a few server (Solaris 10) of mine using hostname, but when i change to ip address, it shows login as: root Using keyboard-interactive authentication. Password: Access denied I change PermitRootLogin to yes. I tried to do a sshd restart, however ... (6 Replies)
Discussion started by: beginningDBA
6 Replies

5. Solaris

no sshd log

My ssh log appear to the screen which i want it to be log to /var/log/sshd.log how to log the sshd to /var/log? (5 Replies)
Discussion started by: hezry79
5 Replies

6. UNIX for Dummies Questions & Answers

sshd question

Can someone tell me the difference between the (2) listed below: oracle pts/1 ip1 May1 7:11 9:11 oracle sshd ip1 May1 7:11 8:22 How do I read the above information, the fact that the row for pts/1 has a longer time duration than the row for sshd. Why is the... (2 Replies)
Discussion started by: banyan
2 Replies

7. UNIX for Advanced & Expert Users

sshd deamon issue !!!!

On one of my production server sshd process is running on top . consuming 100 % amount of CPU . Below is the output of the sshd process... Please advice I am not sure what should I be doing about this. Can I kill the process ? ... Thanking you in advance. CPU TTY PID USERNAME PRI NI SIZE ... (1 Reply)
Discussion started by: kpatel786
1 Replies

8. AIX

It helps in the sshd on sshd.log

Friends, I made the installation of the ssh in the it conspires, I configured in the ssh_config the following parameters.. SyslogFacility AUTH LogLevel INFO that should generate sshd.log in the /var/log.... more no this generating. Somebody could help myself in... (0 Replies)
Discussion started by: sandba
0 Replies

9. AIX

sshd restart

need some clarification: if i ssh to the server & i restart the sshd process, did my connection gone? one more thing, there are a few sshd processes in aix, how do i restart it all to read new config? using HUP? thanks in advance! (2 Replies)
Discussion started by: ashterix
2 Replies

10. UNIX for Dummies Questions & Answers

sshd

i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
Login or Register to Ask a Question