使用SecureCRT无法登录AIX系统:
1、Telnet登录正常
2、lssrc -s sshd正常
3、先登录到另一个系统,再通过ssh登录这个有问题的系统,发现能登录,但有下面的报错:
Ssh登录时有如下报错:
***********************************
Error stack trace (1 frames):
((01)) [C_Initialize] failed at c_init_fini.c:152, rc = 2 (0x2), reason: [Failed to open /dev/pkcs11, reason : No such file or directory
]
***********************************
***********************************
Error stack trace (1 frames):
((01)) [C_Initialize] failed at c_init_fini.c:152, rc = 2 (0x2), reason: [Failed to open /dev/pkcs11, reason : No such file or directory
]
主要原因是安装了security.pkcs11这个包,把这个包卸载就可以了。可是卸载的时候,又报错:
Verifying selections...Method error (/usr/lib/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the
specified device is busy.
感觉是有什么进程占用了这个资源,于是下了猛药:
fuser -kuxc /dev/pkcs11
然后就可以将security.pkcs11这个包顺利卸载了。
本博客不再更新,如有需求请关注微信公众号:bankit2014
阅读(11150) | 评论(0) | 转发(0) |