ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AIX scp Failed to open devpkcs11

AIX scp Failed to open devpkcs11

原创 Linux操作系统 作者:eymit 时间:2012-02-03 10:44:42 0 删除 编辑
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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-05-09

  • 博文量
    65
  • 访问量
    320755