Unable to login in FTP Invalid Password

2 posts / 0 new
Last post
#1 Thu, 09/27/2018 - 16:57
marcelorp

Unable to login in FTP Invalid Password

Hello!

I'm trying to connect in FTP service, but It was impossible...I see too much topics with this erros, but nothing that I see is my case and doesn't work. And I don't know why my post became all messup with code

/etc/proftpd.conf

# Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
# If you use NIS/YP/LDAP you may need to disable PersistentPasswd
#PersistentPasswd off

rpm -qa | grep proftp

proftpd-1.3.5e-4.el7.x86_64

systemctl status proftpd -l

processing configuration directory '/etc/proftpd/conf.d'
mod_dso/0.5: unable to load 'mod_tls.c'; check to see if '/usr/libexec/proftpd/mod_tls.la' exists
mod_dso/0.5: module 'mod_tls.c' already loaded
warning: "domain.com.br" address/port (207.148.22.30:21) already in use by "ProFTPD server"

And when I try to conect...

/var/log/secure

Sep 23 22:37:20 ns1 polkitd[910]: Registered Authentication Agent for unix-process:4560:943876 (system bus name :1.172 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Sep 23 22:37:21 ns1 polkitd[910]: Unregistered Authentication Agent for unix-process:4560:943876 (system bus name :1.172, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Sep 23 22:37:33 ns1 polkitd[910]: Registered Authentication Agent for unix-process:4647:945138 (system bus name :1.173 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Sep 23 22:37:33 ns1 polkitd[910]: Unregistered Authentication Agent for unix-process:4647:945138 (system bus name :1.173, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Sep 23 22:40:34 ns1 proftpd[4756]: 207.148.22.30 (179.157.64.34[179.157.64.34]) - USER domain.com.br (Login failed): Incorrect password

/var/log/messages

207.148.22.30 (179.157.64.34[179.157.64.34]) - FTP session opened.
207.148.22.30 (179.157.64.34[179.157.64.34]) - FTP session closed.

Thanks!

Fri, 09/28/2018 - 03:24
noisemarine

I haven't used ftp in years, but the error about port already in use makes me want to post this:

Can you try shutting down proftpd, then look for an active process in ps? Typically, daemons keep track of their own pid in somewhere like /var/run/. I think the daemon may have lost track of itself and it isn't actually shutting down. Or, it thinks it is still running when it tries to start. Kill any running processes if any, then you may have to find a stale pid file and delete it.

Topic locked