?
Solved

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

Posted on 2011-02-12
2
Medium Priority
?
1,762 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 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

801 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