SSHD does not start


 
Thread Tools Search this Thread
Operating Systems AIX SSHD does not start
# 22  
Old 01-09-2008
Yes, 5.1 is definitely out of service (and soon 5.2 will be too, if it is not already), therefore an upgrade to 5.3, ML6 (CSP3) would be a good idea.

Still there are a few points i'd like to mention as possible problems:

1) As far as i know the sshd daemon is started not on the commandline but via the system resource controller (SRC). Try to issue the command:

startsrc -s ssh

If there is a error message like "the ssh subsystem is not on file" you might not have executed the correct installation procedure

2) On AIX 5.3 (and on 5.1 too, IIRC) you need to install the rpm-package openssl.0.9.7g-1 prior to install ssh/sshd. Issue

rpm -q openssl

and look if the output is like "openssl-0.9.7g-1". If not this might be the source of your problems.

3) Have you checked if you have installed the correct package? There are *several* packages to be installed via installp, issue:

lslpp -l openss*

the output should be like:

Code:
# lslpp -l openss*
  Fileset                      Level  State      Description         
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  openssh.base.client     4.3.0.5300  COMMITTED  Open Secure Shell Commands
  openssh.base.server     4.3.0.5300  COMMITTED  Open Secure Shell Server
  openssh.man.en_US       4.3.0.5300  COMMITTED  Open Secure Shell
                                                 Documentation - U.S. English
  openssh.msg.en_US       4.3.0.5300  COMMITTED  Open Secure Shell Messages -
                                                 U.S. English

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

I hope this helps

bakunin

PS: ah, and a final point: do NOT use bash to start daemons in AIX. Usually it doesn't matter, but why take the risk? On AIX Korn Shell is used throughout the system and you should stick to that.
# 23  
Old 01-09-2008
Quote:
Originally Posted by bakunin
Yes, 5.1 is definitely out of service (and soon 5.2 will be too, if it is not already), therefore an upgrade to 5.3, ML6 (CSP3) would be a good idea.

Still there are a few points i'd like to mention as possible problems:

1) As far as i know the sshd daemon is started not on the commandline but via the system resource controller (SRC). Try to issue the command:

startsrc -s ssh

If there is a error message like "the ssh subsystem is not on file" you might not have executed the correct installation procedure
Code:
bash-2.05a# startsrc -s ssh
0513-085 The ssh Subsystem is not on file.

Quote:
Originally Posted by bakunin
2) On AIX 5.3 (and on 5.1 too, IIRC) you need to install the rpm-package openssl.0.9.7g-1 prior to install ssh/sshd. Issue

rpm -q openssl

and look if the output is like "openssl-0.9.7g-1". If not this might be the source of your problems.
Code:
bash-2.05a# rpm -q openssl
openssl-0.9.7l-2

Quote:
Originally Posted by bakunin
3) Have you checked if you have installed the correct package? There are *several* packages to be installed via installp, issue:

lslpp -l openss*

the output should be like:

Code:
# lslpp -l openss*
  Fileset                      Level  State      Description         
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  openssh.base.client     4.3.0.5300  COMMITTED  Open Secure Shell Commands
  openssh.base.server     4.3.0.5300  COMMITTED  Open Secure Shell Server
  openssh.man.en_US       4.3.0.5300  COMMITTED  Open Secure Shell
                                                 Documentation - U.S. English
  openssh.msg.en_US       4.3.0.5300  COMMITTED  Open Secure Shell Messages -
                                                 U.S. English

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

I hope this helps

bakunin

PS: ah, and a final point: do NOT use bash to start daemons in AIX. Usually it doesn't matter, but why take the risk? On AIX Korn Shell is used throughout the system and you should stick to that.
Code:
bash-2.05a# lslpp -l openss*
lslpp: 0504-132  Fileset openssh-4.7p1 not installed.
lslpp: 0504-132  Fileset openssh-4.7p1.tar not installed.
lslpp: 0504-132  Fileset openssl-0.9.7l-2.aix5.1.ppc.rpm not installed.
lslpp: 0504-132  Fileset openssl-0.9.8g not installed.
lslpp: 0504-132  Fileset openssl-0.9.8g.tar not installed.

Smilie
# 24  
Old 01-09-2008
Quote:
Originally Posted by untamed
Code:
bash-2.05a# startsrc -s ssh
0513-085 The ssh Subsystem is not on file.

Code:
bash-2.05a# lslpp -l openss*
lslpp: 0504-132  Fileset openssh-4.7p1 not installed.
lslpp: 0504-132  Fileset openssh-4.7p1.tar not installed.
lslpp: 0504-132  Fileset openssl-0.9.7l-2.aix5.1.ppc.rpm not installed.
lslpp: 0504-132  Fileset openssl-0.9.8g not installed.
lslpp: 0504-132  Fileset openssl-0.9.8g.tar not installed.

That means you haven't installed ssh correctly, as i have suggested. You find a complete HOW-TO about how to obtain and install SSH correctly on AIX 4.3.3, 5.1, 52 and 5.3 here.



Quote:
Code:
bash-2.05a# rpm -q openssl
openssl-0.9.7l-2

good - met the requirements

Seems like you just have to install SSH correctly (that is: using AIX methods) and your problem should be solved.

bakunin
# 25  
Old 01-09-2008
I downloaded the file openssh-4.1p1_51.tar.Z, I extracted its content and ran "inutoc"....

Code:
bash-2.05a# pwd
/tmp/openssh
bash-2.05a# ls
Customer_README       openssh.msg.CA_ES     openssh.msg.EN_US     openssh.msg.HU_HU     openssh.msg.ko_KR     openssh.msg.ru_RU     openssh.msg.ZH_CN
openssh-4.1p1_51.tar  openssh.msg.cs_CZ     openssh.msg.es_ES     openssh.msg.it_IT     openssh.msg.KO_KR     openssh.msg.RU_RU     openssh.msg.zh_TW
openssh.base          openssh.msg.CS_CZ     openssh.msg.ES_ES     openssh.msg.IT_IT     openssh.msg.pl_PL     openssh.msg.sk_SK     openssh.msg.Zh_TW
openssh.license       openssh.msg.de_DE     openssh.msg.fr_FR     openssh.msg.ja_JP     openssh.msg.PL_PL     openssh.msg.SK_SK     openssh.msg.ZH_TW
openssh.man.en_US     openssh.msg.DE_DE     openssh.msg.FR_FR     openssh.msg.Ja_JP     openssh.msg.pt_BR     openssh.msg.zh_CN     .toc
openssh.msg.ca_ES     openssh.msg.en_US     openssh.msg.hu_HU     openssh.msg.JA_JP     openssh.msg.PT_BR     openssh.msg.Zh_CN

now, when I try to install it with "smitty install", it says:

Code:
#---------------------------------------------------------------------
# No installable software products were found on the media.
#---------------------------------------------------------------------

I tried with with "." from that directory and with absolute path /tmp/openssh/ .......

Smilie

Smilie
# 26  
Old 01-09-2008
I specified "openss.base" and the installatione went succesfully but....

Code:
bash-2.05a# startsrc -s ssh
0513-085 The ssh Subsystem is not on file.
bash-2.05a# lslpp -l openss*
  Fileset                      Level  State      Description
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  openssh.license            4.1.0.1  COMMITTED  Open Secure Shell License
  openssh.man.en_US          4.1.0.1  COMMITTED  Open Secure Shell
                                                 Documentation - U.S. English
  openssh.msg.en_US          4.1.0.1  COMMITTED  Open Secure Shell Messages -
                                                 U.S. English
lslpp: 0504-132  Fileset openssh-4.1p1_51.tar not installed.
lslpp: 0504-132  Fileset openssh.base not installed.
lslpp: 0504-132  Fileset openssh.msg.ca_ES not installed.
lslpp: 0504-132  Fileset openssh.msg.CA_ES not installed.
lslpp: 0504-132  Fileset openssh.msg.cs_CZ not installed.
lslpp: 0504-132  Fileset openssh.msg.CS_CZ not installed.
lslpp: 0504-132  Fileset openssh.msg.de_DE not installed.
lslpp: 0504-132  Fileset openssh.msg.DE_DE not installed.
lslpp: 0504-132  Fileset openssh.msg.EN_US not installed.
lslpp: 0504-132  Fileset openssh.msg.es_ES not installed.
lslpp: 0504-132  Fileset openssh.msg.ES_ES not installed.
lslpp: 0504-132  Fileset openssh.msg.fr_FR not installed.
lslpp: 0504-132  Fileset openssh.msg.FR_FR not installed.
lslpp: 0504-132  Fileset openssh.msg.hu_HU not installed.
lslpp: 0504-132  Fileset openssh.msg.HU_HU not installed.
lslpp: 0504-132  Fileset openssh.msg.it_IT not installed.
lslpp: 0504-132  Fileset openssh.msg.IT_IT not installed.
lslpp: 0504-132  Fileset openssh.msg.ja_JP not installed.
lslpp: 0504-132  Fileset openssh.msg.Ja_JP not installed.
lslpp: 0504-132  Fileset openssh.msg.JA_JP not installed.
lslpp: 0504-132  Fileset openssh.msg.ko_KR not installed.
lslpp: 0504-132  Fileset openssh.msg.KO_KR not installed.
lslpp: 0504-132  Fileset openssh.msg.pl_PL not installed.
lslpp: 0504-132  Fileset openssh.msg.PL_PL not installed.
lslpp: 0504-132  Fileset openssh.msg.pt_BR not installed.
lslpp: 0504-132  Fileset openssh.msg.PT_BR not installed.
lslpp: 0504-132  Fileset openssh.msg.ru_RU not installed.
lslpp: 0504-132  Fileset openssh.msg.RU_RU not installed.
lslpp: 0504-132  Fileset openssh.msg.sk_SK not installed.
lslpp: 0504-132  Fileset openssh.msg.SK_SK not installed.
lslpp: 0504-132  Fileset openssh.msg.zh_CN not installed.
lslpp: 0504-132  Fileset openssh.msg.Zh_CN not installed.
lslpp: 0504-132  Fileset openssh.msg.ZH_CN not installed.
lslpp: 0504-132  Fileset openssh.msg.zh_TW not installed.
lslpp: 0504-132  Fileset openssh.msg.Zh_TW not installed.
lslpp: 0504-132  Fileset openssh.msg.ZH_TW not installed.

I have no openssh server installed...??

aarghhhhhhh....
# 27  
Old 01-09-2008
You need to install the openssh.base too. Use "smitty install_all" to get to the installation menu and specify "." as the installation medium/path (presuming your current directory is where the images are). Go to the field "Software to install" and select the packages you want to install (base, license and all the messages you want to have on the machine), then select "COMMIT software updates", "EXTEND file systems if space needed" and "ACCEPT new license agreements", deselect "PREVIEW only?", "SAVE replaced files" and "Preview new LICENSE agreements" (who'd read them, anyways?) and start the installation.

Read the output of installp and analyze it. Maybe you see prerequisite failures or something such, which prevent the installation.

Hope this helps.

bakunin
# 28  
Old 01-09-2008
The problem is that I select the field "Software to install" and I press tab for a list. A window pops up and says "Use PF4 or Esc+4 to generate a list" but if I press F4 or Esc+4 doesn't list anything at all... I only can use "openssh.base" in that field.
Here's the output of the installation with "openssh.base" (it says it is already installed)...

Code:
Before command completion, additional instructions may appear below.

geninstall -I "a -cgNqwXY -V2 -J"  -Z   -d . -f File 2>&1

File:
    I:openssh.base.client          4.1.0.1
    I:openssh.base.server          4.1.0.1


+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

WARNINGS
--------
  Problems described in this section are not likely to be the source of any
  immediate or serious failures, but further actions may be necessary or
  desired.

  Already Installed
  -----------------
  The number of selected filesets that are either already installed
  or effectively installed through superseding filesets is 2.  See
  the summaries at the end of this installation for details.

  NOTE:  Base level filesets may be reinstalled using the "Force"
  option (-F flag), or they may be removed, using the deinstall or
  "Remove Software Products" facility (-u flag), and then reinstalled.

  << End of Warning Section >>

FILESET STATISTICS
------------------
    2  Selected to be installed, of which:
        2  Already installed (directly or via superseding filesets)
  ----
    0  Total to be installed


Pre-installation Failure/Warning Summary
----------------------------------------
Name                      Level           Pre-installation Failure/Warning
-------------------------------------------------------------------------------
openssh.base.client       4.1.0.1         Already installed
openssh.base.server       4.1.0.1         Already installed
                                                                               COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

geninstall -I "a -cgNqwXY -V2 -J"  -Z   -d . -f File 2>&1

File:
    I:openssh.base.client          4.1.0.1
    I:openssh.base.server          4.1.0.1


+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

WARNINGS
--------
  Problems described in this section are not likely to be the source of any
  immediate or serious failures, but further actions may be necessary or
  desired.

  Already Installed
  -----------------
  The number of selected filesets that are either already installed
  or effectively installed through superseding filesets is 2.  See
  the summaries at the end of this installation for details.

  NOTE:  Base level filesets may be reinstalled using the "Force"
  option (-F flag), or they may be removed, using the deinstall or
  "Remove Software Products" facility (-u flag), and then reinstalled.

  << End of Warning Section >>

FILESET STATISTICS
------------------
    2  Selected to be installed, of which:
        2  Already installed (directly or via superseding filesets)
  ----
    0  Total to be installed


Pre-installation Failure/Warning Summary
----------------------------------------
Name                      Level           Pre-installation Failure/Warning
-------------------------------------------------------------------------------
openssh.base.client       4.1.0.1         Already installed
openssh.base.server       4.1.0.1         Already installed

but

Code:
startsrc -s ssh
0513-085 The ssh Subsystem is not on file.

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Sshd - error

Hi, Do you know what cause the error message ? Nov 19 13:42:19 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in /etc/environment', ignoring Nov 19 13:42:20 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in... (0 Replies)
Discussion started by: xitrum
0 Replies

2. Solaris

pam sshd error

Hi I wanted to convert my pam libraries to 64 bit. so recently compiled my pam_banner and pam_wheel to 64 bit. I got the following error... sshd: dlsym failed pam_sm_authenticate:error ld.so.1 : sshd fatal: pam_sm_authenticate: can't find symbol thnaks (8 Replies)
Discussion started by: chinchao
8 Replies

3. Solaris

sshd and loginlog

I have shamelessly tried all the possible ways to see if my /var/adm/loginlog logs user access entries for ssh but nothing has worked for me so far..:confused: for telnet login its working fine. Adding auth.info in syslog.conf works but i dont want that output. Is there any way to edit... (2 Replies)
Discussion started by: ningy
2 Replies

4. Solaris

sshd not able to restart

Hi, I was able to putty a few server (Solaris 10) of mine using hostname, but when i change to ip address, it shows login as: root Using keyboard-interactive authentication. Password: Access denied I change PermitRootLogin to yes. I tried to do a sshd restart, however ... (6 Replies)
Discussion started by: beginningDBA
6 Replies

5. Solaris

no sshd log

My ssh log appear to the screen which i want it to be log to /var/log/sshd.log how to log the sshd to /var/log? (5 Replies)
Discussion started by: hezry79
5 Replies

6. UNIX for Dummies Questions & Answers

sshd question

Can someone tell me the difference between the (2) listed below: oracle pts/1 ip1 May1 7:11 9:11 oracle sshd ip1 May1 7:11 8:22 How do I read the above information, the fact that the row for pts/1 has a longer time duration than the row for sshd. Why is the... (2 Replies)
Discussion started by: banyan
2 Replies

7. UNIX for Advanced & Expert Users

sshd deamon issue !!!!

On one of my production server sshd process is running on top . consuming 100 % amount of CPU . Below is the output of the sshd process... Please advice I am not sure what should I be doing about this. Can I kill the process ? ... Thanking you in advance. CPU TTY PID USERNAME PRI NI SIZE ... (1 Reply)
Discussion started by: kpatel786
1 Replies

8. AIX

It helps in the sshd on sshd.log

Friends, I made the installation of the ssh in the it conspires, I configured in the ssh_config the following parameters.. SyslogFacility AUTH LogLevel INFO that should generate sshd.log in the /var/log.... more no this generating. Somebody could help myself in... (0 Replies)
Discussion started by: sandba
0 Replies

9. AIX

sshd restart

need some clarification: if i ssh to the server & i restart the sshd process, did my connection gone? one more thing, there are a few sshd processes in aix, how do i restart it all to read new config? using HUP? thanks in advance! (2 Replies)
Discussion started by: ashterix
2 Replies

10. UNIX for Dummies Questions & Answers

sshd

i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
Login or Register to Ask a Question