Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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…

747 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

10 Experts available now in Live!

Get 1:1 Help Now