Solved

sshd daemon won't start on AIX 5300-11.  No errors returned

Posted on 2011-02-12
2
1,743 Views
Last Modified: 2013-11-17
I have a server that will not start the sshd daemon. No errors are returned.  See examples below:
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 569546.
:root@cobra:/etc/rc.d/rc2.d:# ps -ef | grep sshd
:root@cobra:/etc/rc.d/rc2.d:#

# Ssshd start
0513-059 The sshd Subsystem has been started. Subsystem PID is 553126.
:root@cobra:/etc/rc.d/rc2.d:# ps -ef | grep sshd
    root 536730 422008   0 09:07:56  pts/0  0:00 grep sshd
:root@cobra:/etc/rc.d/rc2.d:#

Here is what I have installed:
# ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009


# lslpp -l *ssh*  
  Fileset                      Level  State      Description        
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  openssh.base.client     5.2.0.5301  COMMITTED  Open Secure Shell Commands
  openssh.base.server     5.2.0.5301  COMMITTED  Open Secure Shell Server
  openssh.license         3.6.1.5200  COMMITTED  Open Secure Shell License
  openssh.man.en_US       5.2.0.5300  COMMITTED  Open Secure Shell
                                                 Documentation - U.S. English
  openssh.msg.en_US       5.2.0.5300  COMMITTED  Open Secure Shell Messages -
                                                 U.S. English

Path: /etc/objrepos
  openssh.base.client     5.2.0.5301  COMMITTED  Open Secure Shell Commands
  openssh.base.server     5.2.0.5301  COMMITTED  Open Secure Shell Server

Thanks for you help,
Don
0
Comment
Question by:demcmahan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34879700
Hi,

one reason could be that port 22 is in use by some other process - to check issue:

netstat -an | grep '\.22'

Any clue?

Next try to start sshd from commandline:

/usr/sbin/sshd

Any messages? Does it stay up?

Maybe the subsystem configuration is wrong (from your old freeware installation) - check with:

lssrc -S -s sshd

Is the 4th colon-separated field "/usr/sbin/sshd", and does this match the output of "which sshd"?

Any messages in syslog?

If you don't have a catch-all entry in /etc/syslogd, add to this file:

auth.debug /var/adm/auth.log

Issue "touch /var/adm/auth.log" and "refresh -s syslogd"

Now start sshd again. Any messages in /var/adm/auth.log?

wmp



0
 

Author Closing Comment

by:demcmahan
ID: 34880269
Doing /usr/sbin/sshd revealed the problem:  A misconfiguration in sshd_config.

Thanks so much for your help -- again!.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question