首页 > 服务器 > 64位系统下安装vsftp时遇到的两个问题

64位系统下安装vsftp时遇到的两个问题

2009年04月02号
查看评论 发表评论 836次浏览

在redhat as4.4 64位系统下安装vsftp时遇到的两个问题,都是因为搜寻lib的路径不对引起的
引用
/lib/libpam.so.0: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1

将vsftp源文件下的vsf_findlibs.sh文件中的/lib,/usr/lib全部换成了/lib64,/usr/lib64再编译即可

第二个问题,登陆的时候验证错误
看vsftp的log没有任何信息。在/var/log/messages中发现了一段
引用
Dec 11 22:02:20 localhost vsftpd: PAM unable to dlopen(/lib/security/pam_userdb.so)
Dec 11 22:02:20 localhost vsftpd: PAM [dlerror: /lib/security/pam_userdb.so: cannot open shared object file: No such file or directo
ry]
Dec 11 22:02:20 localhost vsftpd: PAM adding faulty module: /lib/security/pam_userdb.so

验证的时候找不到pam_userdb.so这个文件
将/etc/pam.d/ftp中的/lib/security/pam_userdb.so 改为/lib64/security/pam_userdb.so 即可

  1. Herve Leger Dresses on Sale
    发表于 2010年06月14号 20时04分07秒 | 1楼

    I agree wholeheartedly.

  2. jordan basketball shoes
    发表于 2010年06月18号 11时28分34秒 | 2楼

    i love this story and i think it’s true! thank-you for sharing it.

  3. MBT Changa black
    发表于 2010年07月23号 10时18分37秒 | 3楼

    Thanks for a great post.

  4. cheap nba basketball shoes
    发表于 2010年07月24号 15时00分18秒 | 4楼

    thanks you, maybe I can overstep the limits in my soul and your blog will help me)))

  1. 目前没有通告
你必需 登陆 才能发表评论.