操作系统版本:AIX 6.1
背景
新装的(完全安装)AIX 6.1系统需要从其它服务器拷贝文件至本机,但是SCP拷贝时报错
问题描述
AIX进行scp的时候报下面错误
bash-3.00# scp -rp root@172.17.1.207:/etc/hosts /etc/
***********************************
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
]
***********************************
root@172.17.1.207's password:
hosts 100% 2100 2.1KB/s 00:00
解决过程
1网上查了,也看到类以的案例,主要因为安装了pkcs包的原因
查看是不是装了pkcs
bash-3.00# lslpp -l | grep pkcs
security.pkcs11 6.1.6.1 COMMITTED PKCS11 Device Driver
security.pkcs11.tools 6.1.6.0 COMMITTED PKCS11 Key Management Tool
security.pkcs11 6.1.6.1 COMMITTED PKCS11 Device Driver
2.使用smit remove删security.pkcs11 和 security.pkcs11.tools 后,问题解决
Remove Installed Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes. [Entry Fields]
* SOFTWARE name [security.pkcs11 security.pkcs11.tools] +
PREVIEW only? (remove operation will NOT occur) no +
REMOVE dependent software? no +
EXTEND file systems if space needed? yes +
DETAILED output? no +
WPAR Management Perform. Operation in Global Environment yes +
Perform. Operation on Detached WPARs no +
Detached WPAR Names [_all_wpars] +
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21605631/viewspace-715565/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21605631/viewspace-715565/