ProFTPd doesn't start

6 posts / 0 new
Last post
#1 Wed, 06/04/2014 - 19:35
igabc

ProFTPd doesn't start

I am not able to start the service after rebooting the machine.

THis is my lof file...

Jun 5 00:17:03 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '12.228.207.183.in-addr.arpa/PTR/IN': 211.136.17.105#53 Jun 5 00:17:03 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '12.228.207.183.in-addr.arpa/PTR/IN': 211.136.20.201#53 Jun 5 00:17:04 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '253.208.26.70.in-addr.arpa/PTR/IN': 207.236.176.21#53 Jun 5 00:17:04 CentOS-65-64-minimal named[1116]: error (unexpected RCODE SERVFAIL) resolving '169.212.210.192.in-addr.arpa/PTR/IN': 199.21.112.12#53 Jun 5 00:17:06 CentOS-65-64-minimal named[1116]: error (unexpected RCODE SERVFAIL) resolving '169.212.210.192.in-addr.arpa/PTR/IN': 199.21.112.12#53 Jun 5 00:17:06 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '77.66.215.112.in-addr.arpa/PTR/IN': 202.152.254.245#53 Jun 5 00:17:06 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '77.66.215.112.in-addr.arpa/PTR/IN': 202.152.254.246#53 Jun 5 00:17:10 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '12.228.207.183.in-addr.arpa/PTR/IN': 211.136.17.105#53 Jun 5 00:17:10 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '12.228.207.183.in-addr.arpa/PTR/IN': 211.136.20.201#53 Jun 5 00:17:18 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '77.66.215.112.in-addr.arpa/PTR/IN': 112.215.37.183#53 Jun 5 00:17:25 CentOS-65-64-minimal named[1116]: error (unexpected RCODE REFUSED) resolving '77.66.215.112.in-addr.arpa/PTR/IN': 112.215.37.182#53 Jun 5 00:28:11 CentOS-65-64-minimal saslauthd[1381]: do_auth : auth failure: [user=success] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 00:38:58 CentOS-65-64-minimal saslauthd[1382]: do_auth : auth failure: [user=baby] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 00:50:59 CentOS-65-64-minimal saslauthd[1380]: do_auth : auth failure: [user=suckit] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 01:08:29 CentOS-65-64-minimal saslauthd[1384]: do_auth : auth failure: [user=backup] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 01:14:03 CentOS-65-64-minimal saslauthd[1383]: do_auth : auth failure: [user=summer] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 01:37:54 CentOS-65-64-minimal saslauthd[1381]: do_auth : auth failure: [user=badboy] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 01:38:16 CentOS-65-64-minimal saslauthd[1382]: do_auth : auth failure: [user=sunny] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] Jun 5 01:40:12 CentOS-65-64-minimal kernel: warning: `proftpd' uses 32-bit capabilities (legacy support in use) Jun 5 02:01:42 CentOS-65-64-minimal saslauthd[1380]: do_auth : auth failure: [user=sunshine] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]

thanks! G

Wed, 06/04/2014 - 21:03
igabc

problem was a conflict with vsftpd. For some reasons I did try to install it some days ago but since my FTP access was working fine, I never bother to uninstall it. After reboot, ProFTPd didn't work anymore. So I have uninstalled vsftpd and I also reinstalled (via Webmin (YUM)) proftpd.

Now the service starts but it doesn't allow any user to login "530 Login incorrect"

THank you for helping.

Wed, 06/04/2014 - 22:25
andreychek

Howdy,

Do you by chance have a third party repository enabled?

What is the output of this particular command:

rpm -qa | grep -i proftp

Wed, 06/04/2014 - 22:39
igabc

Hi Andrey!

How do I find out if I had 3rd party repos enabled?

I have the same 503 error no matter what FTP server I install.

THis is the latest part of the secure log

Jun  5 05:10:06 CentOS-65-64-minimal vsftpd[9050]: PAM unable to dlopen(/lib/security/pam_userdb.so): /lib/security/pam_userdb.so: cannot open shared object file: No such file or directory
Jun  5 05:10:06 CentOS-65-64-minimal vsftpd[9050]: PAM adding faulty module: /lib/security/pam_userdb.so
Jun  5 05:10:24 CentOS-65-64-minimal vsftpd[9067]: PAM unable to dlopen(/lib/security/pam_userdb.so): /lib/security/pam_userdb.so: cannot open shared object file: No such file or directory
Jun  5 05:10:24 CentOS-65-64-minimal vsftpd[9067]: PAM adding faulty module: /lib/security/pam_userdb.so
Jun  5 05:15:02 CentOS-65-64-minimal su: PAM unable to dlopen(/lib64/security/pam_fprintd.so): /lib64/security/pam_fprintd.so: cannot open shared object file: No such file or directory
Jun  5 05:15:02 CentOS-65-64-minimal su: PAM adding faulty module: /lib64/security/pam_fprintd.so
Jun  5 05:15:02 CentOS-65-64-minimal su: pam_unix(su:session): session opened for user postgres by (uid=0)
Jun  5 05:15:02 CentOS-65-64-minimal su: pam_unix(su:session): session closed for user postgres

and this is the vsftp config

anonymous_enable=NO
local_enable=YES
chroot_local_user=YES
userlist_deny=YES
check_shell=NO
pam_service_name=vsftpd
write_enable=YES
userlist_enable=YES

thanks!

Wed, 06/04/2014 - 22:42
igabc

and by the way... I can login as anonymous

Thu, 06/05/2014 - 00:06
igabc

Here the solution to this sh.. that took my whole f.... day!!!!!!!!!!!!!

http://blog.redbranch.net/2012/04/17/proftpd-centos-6-pam-unable-to-dlop...

I am p....ed!!!!!!

anyway thank you for trying Eric

Topic locked