Yesterday, i found strange behavior on my AIX BOX. after rebooting, the SSH service didn’t start.
when the:
#lssrc -s sshd
invoked, it show that the service is on inoperative state.
To trace the causes, the following command invoked :
#/usr/sbin/sshd -de
the result show that the service is failed to start due to port conflict. It says:
unable to to bind port xxxx, already in use
i checked the active port using netstat -an, there’s no active service using that port.
as a workaround than, the sshd_config, edited and tha line
#BindAddress xxxxx
is uncommented, means, the ssh service will bind to that address.
Address here is currently active address on one of address bind to active NIC on my box.
and voila …
after rebooting, my ssh service is back to normal again …
NOTES:
this problem often occured on a machine with 2 active NIC
Tanjung Enim, July 24th 2011
A. Ahmad Kusumah