Sponsored Content
Full Discussion: SSHD does not start
Operating Systems AIX SSHD does not start Post 302156783 by bakunin on Wednesday 9th of January 2008 05:17:13 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
DH_CONFIG_MODEL_UPGRADE(1p)				User Contributed Perl Documentation			       DH_CONFIG_MODEL_UPGRADE(1p)

NAME
dh_config_model_upgrade - add Config::Model based configuration merge SYNOPSIS
dh_config_model_upgrade [ debhelper options ] [ --model_name xx ] [ --model_package xx [ --model_version yy ] ] [ --edit_option "..." ] [ -p pkg ] DESCRIPTION
dh_config_model_upgrade is experimental dh_config_model_upgrade is a debhelper that will modify the package script to perform configuration merge on package upgrade. This merge is based on config-edit from Config::Model. Model information can be specified by command options or a configuration file: "debian/foo.config-model" A Model must be either : o Delivered in the package in "debian/config-model/models/" directory o Provided by another package REQUIREMENTS
For this program to work, package maintainer must ensure that: o ensure that *.postinst and *.config have a #DEBHELPER# line (if these files exist) o ensure that control file has a dependency on ${misc:Depends} OPTIONS
--model_name XX Specifies the model name (a la "Config::Model") that will be used to perform the upgrade. Without this information, "dh_config_model_upgrade" will do nothing. (shortcut "--mn") --model_for "xx yy" Specifies the package to act upon. Without this option, "dh_config_model_upgrade" will do nothing. To specify several packages, list the packages between quotes. (shortcut "--mf") --model_package XX Specifies the debian package that provide the model specified bu "-model_name". (shortcut "--mp") --model_version YY Specifies the minimal version of the package that provides the model. (shortcut "--mv") --edit_option "..." Specify a list of options or command that will be passed verbatim to config-edit during upgrade. Be sure to use quotes. -p debhelper option to specify which package(s) to act on. Usage "dh_config_model_upgrade" can be used with only command line options. For instance dh_config_model_upgrade --model_name Sshd -p openssh-server --model_package lib-config-model-openssh-perl --model_version 1.206 Alternatively, you can specify relevant information in configuration files. For instance: $ cat debian/openssh-server.config-model model_name: Sshd model_package: lib-config-model-openssh-perl model_version: 1.206 $ cat debian/openssh-client.config-model model_name: Ssh model_package: lib-config-model-openssh-perl model_version: 1.206 In this case, "dh_config_model_upgrade" will be invoked this way dh_config_model_upgrade If the model are delivered within the package, you will have to specify them in xx.install file. Here's a example based on "approx" package where the model file and the parser/writer are delivered in approx package. Debian dir contains: debian/config-model/Approx.pm debian/config-model/models/Approx.pl "debian/approx.install" contains: debian/config-model/Approx.pm usr/share/perl5/Config/Model debian/config-model/models/Approx.pl usr/share/perl5/Config/Model/models dh_config_model_upgrade is invoked as : dh_config_model_upgrade -model_name Approx debian files setup "dh_config_model_upgrade" will work if: o "control" file contains a "S{misc:Depends}" variable in "Depends" line o "rules" contains a "#DEBHELPER#" line to insert generated postinst snippet EXAMPLES
"dh_config_model_upgrade" can be called in the rules file via the dh command (no options are possible, you will have to specify "debian/*.config_model" files): %: dh --with config_model Or directly at the start of the build with build: dh_config_model_upgrade -model_name FooBar Here's an example to avoid using Augeas when upgrading build: dh_config_model_upgrade -model_name Sshd -edit_option "-backend custom" CAVEATS
Using options with a single dash (e.g. "-model_name" instead of "--model_name") will lead to ""Unknown option"" errors. ENVIRONMENT
This program will exit(0) if "DH_NO_ACT" is set or if "DEB_BUILD_OPTIONS" contains "noconfigmodel". SEE ALSO
debhelper This program is an addendum to debhelper (part of libconfig-model-perl). AUTHOR
Dominique Dumont <dod@debian.org> perl v5.14.2 2012-11-09 DH_CONFIG_MODEL_UPGRADE(1p)
All times are GMT -4. The time now is 01:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy