proftpd pam error

Hello,

When I try to setup a ftp connection to a site administrated in siteworx, we get the following error in the messages file.
I replaced the IP number with 0.0.0.0
The user cannot login.

Feb 23 09:43:36 web1 proftpd: PAM [dlerror: /lib/security/pam_listfile.so: cannot open shared object file: No such file or directory]
Feb 23 09:43:36 web1 proftpd: PAM adding faulty module: /lib/security/pam_listfile.so
Feb 23 09:43:36 web1 proftpd: PAM unable to dlopen(/lib/security/pam_pwdb.so)
Feb 23 09:43:36 web1 proftpd: PAM [dlerror: /lib/security/pam_pwdb.so: cannot open shared object file: No such file or directory]
Feb 23 09:43:36 web1 proftpd: PAM adding faulty module: /lib/security/pam_pwdb.so
Feb 23 09:43:36 web1 proftpd[12042]: web1 (0.0.0.0[0.0.0.0]) - PAM(ftp): Module is unknown.
Feb 23 09:43:40 web1 proftpd[12042]: web1 (0.0.0.0[0.0.0.0]) - FTP session closed.

Anyone has got a clue what this means ?

Hello,

Generaly when there is this kind of message

cannot open shared object file: No such file or directory

It might means two things :

1- This shared library doesn’t exist in that directory
2- you use a 32Bits rather than a 64Bits shared library or vice versa (it might happens the bin tries to load a 32bits shared lib where it should be a 64 bits one)

In the case of this error, I bet these files (pam_listfile.so) are in /lib/security/ ?
Don’t you have a 64 bits boxe ?

If it is the case look for these files in /lib64/security/. If they are missing then install it with
(use yum provides pam_pwdb.so to see what package provides these files but if I remember it should be pam.i386 / pam.x86_64 )

If you have a 64bits boxe You surely need to install both

Pascal