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:
# 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:
---------------------------------------------------------------------------
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:
# 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:
# 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:
# 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