sshd autostart problem


 
Thread Tools Search this Thread
Operating Systems AIX sshd autostart problem
# 1  
Old 05-24-2012
sshd autostart problem

Hello,

AIX 6.1
sshd worked fine.
Then I upgraded my AIX from 6100-02-04-0920 to 6100-03-10-1119 successfully(no errors, nothing unusual). After reboot sshd was not started, 3 errors in errpt:
Code:
# lssrc -s sshd
Subsystem         Group            PID          Status
 sshd             ssh                           inoperative
 
# errpt | more
A6DF45AA   0524002012 I O RMCdaemon      The daemon is started.
1BA7DF4E   0524002012 P S SRC            SOFTWARE PROGRAM ERROR
CB4A951F   0524002012 I S SRC            SOFTWARE PROGRAM ERROR
CB4A951F   0524002012 I S SRC            SOFTWARE PROGRAM ERROR
2BFA76F6   0524001812 T S SYSPROC        SYSTEM SHUTDOWN BY USER

Extended error view:
Code:
---------------------------------------------------------------------------
LABEL:          SRC_TRYX
IDENTIFIER:     1BA7DF4E
 
Date/Time:       Thu May 24 00:20:49 GMT+03:00 2012
Sequence Number: 2237
Machine Id:      xxxxxxxxxxxx
Node Id:         xxxx
Class:           S
Type:            PERM
WPAR:            Global
Resource Name:   SRC
 
Description
SOFTWARE PROGRAM ERROR
 
Probable Causes
APPLICATION PROGRAM
 
Failure Causes
SOFTWARE PROGRAM
 
        Recommended Actions
        DETERMINE WHY SUBSYSTEM CANNOT RESTART
 
Detail Data
SYMPTOM CODE
       65280
SOFTWARE ERROR CODE
       -9020
ERROR CODE
           0
DETECTING MODULE
'srchevn.c'@line:'369'
FAILING MODULE
sshd
---------------------------------------------------------------------------
LABEL:          SRC_RSTRT
IDENTIFIER:     CB4A951F
 
Date/Time:       Thu May 24 00:20:49 GMT+03:00 2012
Sequence Number: 2236
Machine Id:      xxxxxxxxxxxx
Node Id:         xxxx
Class:           S
Type:            INFO
WPAR:            Global
Resource Name:   SRC
 
Description
SOFTWARE PROGRAM ERROR
 
Probable Causes
APPLICATION PROGRAM
 
Failure Causes
SOFTWARE PROGRAM
 
        Recommended Actions
        VERIFY SUBSYSTEM RESTARTED AUTOMATICALLY
 
Detail Data
SYMPTOM CODE
       65280
SOFTWARE ERROR CODE
       -9035
ERROR CODE
           0
DETECTING MODULE
'srchevn.c'@line:'234'
FAILING MODULE
sshd
---------------------------------------------------------------------------
LABEL:          SRC_RSTRT
IDENTIFIER:     CB4A951F
 
Date/Time:       Thu May 24 00:20:47 GMT+03:00 2012
Sequence Number: 2235
Machine Id:      xxxxxxxxxxxx
Node Id:         xxxx
Class:           S
Type:            INFO
WPAR:            Global
Resource Name:   SRC
 
Description
SOFTWARE PROGRAM ERROR
 
Probable Causes
APPLICATION PROGRAM
 
Failure Causes
SOFTWARE PROGRAM
 
        Recommended Actions
        VERIFY SUBSYSTEM RESTARTED AUTOMATICALLY
 
Detail Data
SYMPTOM CODE
       65280
SOFTWARE ERROR CODE
       -9035
ERROR CODE
           0
DETECTING MODULE
'srchevn.c'@line:'234'
FAILING MODULE
sshd
---------------------------------------------------------------------------

So I tried to start sshd manually:
Code:
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is xxxxxx.

So if I start sshd manually after reboot - it allways starts and works fine. But not automatically. So I thought that my ssh was not ok(was a bit old). Reinstalled newest version:
Code:
# lslpp -L|grep ssh
  openssh.base.client     5.8.0.6102    C     F    Open Secure Shell Commands
  openssh.base.server     5.8.0.6102    C     F    Open Secure Shell Server
  openssh.license         5.8.0.6102    C     F    Open Secure Shell License
  openssh.man.en_US       5.8.0.6102    C     F    Open Secure Shell
  openssh.msg.en_US       5.8.0.6102    C     F    Open Secure Shell Messages -
#
# lslpp -L|grep ssl
  openssl.base            0.9.8.1801    C     F    Open Secure Socket Layer
  openssl.license         0.9.8.1801    C     F    Open Secure Socket License
  openssl.man.en_US       0.9.8.1801    C     F    Open Secure Socket Layer

That didn't help - still unable to autostart with 3 errors. All config options I tried look the same as on my other machines which autostart sshd just fine.

Any ideas ?

thanks,
Vilius

---------- Post updated at 10:17 AM ---------- Previous update was at 01:08 AM ----------

This problem is somehow related to /dev/console.
My console device is serial tty:
Code:
# lscons
/dev/tty0
# lsdev -c tty
tty0 Available 01-S1-00-00 Asynchronous Terminal

So if I connect to server's serial port using some kind of serial client(putty for example) - it's not even necessary to login, and reboot server while serial session is enabled - no errors sshd starts fine! But if I unplug serial cable (no serial session) and reboot - 3 errors and sshd no go.
If I change /dev/console to something like /dev/lft0 - no problems sshd starts fine.

Any ideas why this is happening ?
I still hope to keep /dev/console redirected to serial tty for troubleshooting.

thanks,
Vilius
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

autostart script for stopped services

I need script that to start the stopped service when its stopped. This script always controls status of service. For example nagios service stopped script have to start nagios service. And It can send an email for notification when stopped. (6 Replies)
Discussion started by: getrue
6 Replies

2. Solaris

Autostart MySQL db on restart or startup

Could not find a good explanation that was Solaris specified. Need to add MySQL to start up on system startup or restart. I was gone for a few days from work and someone decided to relocate the server. When it came back up, of course mysql was down. On my previous linux systems I always just had... (2 Replies)
Discussion started by: ippy98
2 Replies

3. AIX

service/process management -autostart at startup

Hi, I want to modify some of the services/processes (related to the oracle database) to start automatically at the startup of the server. which commands may help me? which commands do I need to use? my server configuration is, in brief: hardware:IBM P550 / OS : AIX 5300 thanks,... (1 Reply)
Discussion started by: talipk
1 Replies

4. AIX

Autostart of LPAR

Hi, I have 2 lpars on my AIX that needs to be started manually after each reboot. Because the servers are storing the NFS and NIS info, other servers won't run correctly until they start up. I found in IBM documentation the steps to make it automatic. My question is, I want to know if... (2 Replies)
Discussion started by: rahzzbietel
2 Replies

5. HP-UX

Oracle Autostart Problem

Hi All, I am running HP-UX 11i v2. I installed oracle 10g over it. I was having a startup script from oracle 8i which i modified and copied in /sbin/init.d . In /etc/oratab also I did "Y" for autostart. But still the script isn't starting oracle. As such if i run script from shell prompt, it... (1 Reply)
Discussion started by: ankurjain
1 Replies

6. UNIX and Linux Applications

Autostart/Autorun Applications

I have developed a CD that runs both Windows and Mac software. I would like it to function as an autorun/autostart; I do not have a problem with the Windows code, but I do for the Mac. I do not feel like investing a couple of hundred $$$ into software, when, I am sure that several lines of UNIX... (2 Replies)
Discussion started by: HornetDr
2 Replies

7. HP-UX

rc.log problem about autostart script

On HP-UX, we add some our autostart scripts in the system script under /sbin/rc*.d directory. The output of application is redirected to /dev/null in our script,but once the application has been startup with the OS starting,its ouput is redirected to the /etc/rc.log finally and cause the rc.log... (2 Replies)
Discussion started by: Frank2004
2 Replies

8. AIX

Problem starting sshd on AIX

I just installed SSH on an AIX machine: > lslpp -l openssh.base.server Fileset Level State Description ---------------------------------------------------------------------------- Path: /usr/lib/objrepos openssh.base.server 4.1.0.5301 COMMITTED Open... (1 Reply)
Discussion started by: outtacontrol
1 Replies

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

10. Solaris

Unix autostart in GUI mode

hi, i'm a newbie in UNIX. i have a disk crash and re-install the unix. But the new installation does not boot the server automatically. Then i set the auto-boot to true, and it's ok. But now the system is booting in text mode. Before this, when i type boot, the system is booting in GUI mode.... (2 Replies)
Discussion started by: lwll
2 Replies
Login or Register to Ask a Question