AIX5.3下的sshd升级完毕后启动不正常,进程丢失
(2012-06-18 22:52:43)
标签:
inoperativeaix5.3sshd升级启动不正常进程丢失activeit |
分类: 工作 |
sshd ssh inoperative
ps也查看不到进程,看端口22也没有开放。无奈开启debug日志看看适合缘故。
Jun 18 22:49:31 aix_5.3-01 auth|security:err|error sshd[213088]: error: Couldn't create pid file "/usr/local/etc/sshd.pid": A file or directory in the path name does not exist.
原来是不存在/usr/local/etc目录所导致的,无法创建pid.
ok,新建一个etc目录再启动。
[aix_5.3-01:root:/]#stopsrc -s sshd0513-004 The Subsystem or Group, sshd, is currently inoperative.
[aix_5.3-01:root:/]#startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 213088.
[aix_5.3-01:root:/]#lssrc -a|grep ssh
这就OK了哦,可以正常登录了。