64位系统下安装vsftp时遇到的两个问题
在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 即可
I agree wholeheartedly.
i love this story and i think it’s true! thank-you for sharing it.
Thanks for a great post.
thanks you, maybe I can overstep the limits in my soul and your blog will help me)))