Solved

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

Posted on 2011-02-12
2
1,709 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
llcommand 6 88
Sparc Solaris hangs without crash dump & no events from messages 3 66
LastLogonTimeStamp Attribute 7 48
UNiX Script filesystem space usage 19 69
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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now