AIX scp Failed to open devpkcs11

Normal 0 7.8 pt 0 2 false false false MicrosoftInternetExplorer4  

操作系统版本: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 removesecurity.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/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值