HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   pure-ftpd stopped working (http://www.howtoforge.com/forums/showthread.php?t=37142)

Nicke 1st July 2009 14:29

pure-ftpd stopped working
 
Hello,

I cant FTP to my server anymore.
I dont know where to look.

PASS ********
530 Login incorrect.

No matter what i do.

It also seems like pure-ftpd listens to only one of my two ip's.

In which conf or log-files should i look?

Thanks!

falko 2nd July 2009 14:22

What's the output of
Code:

netstat -tap
and
Code:

iptables -L
? Did you try both active and passive transfers in your FTP client?

Nicke 2nd July 2009 14:32

Quote:

Originally Posted by falko (Post 197155)
What's the output of
Code:

netstat -tap
and
Code:

iptables -L
? Did you try both active and passive transfers in your FTP client?

The server responds with 530 Login incorrect. So my ports is open.

Netstat.
tcp 0 0 *:ftp *:* LISTEN

iptables.
Code:

fail2ban-ssh  tcp  --  anywhere            anywhere            multiport dports ssh
ACCEPT    all  --  anywhere            anywhere
ACCEPT    tcp  --  anywhere            anywhere            tcp flags:ACK/ACK
ACCEPT    all  --  anywhere            anywhere            state ESTABLISHED
ACCEPT    all  --  anywhere            anywhere            state RELATED
ACCEPT    udp  --  anywhere            anywhere            udp spt:domain dpts:1024:65535
ACCEPT    icmp --  anywhere            anywhere            icmp echo-reply
ACCEPT    icmp --  anywhere            anywhere            icmp destination-unreachable
ACCEPT    icmp --  anywhere            anywhere            icmp source-quench
ACCEPT    icmp --  anywhere            anywhere            icmp time-exceeded
ACCEPT    icmp --  anywhere            anywhere            icmp parameter-problem
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:ssh
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:auth
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:ftp-data
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:ftp
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:smtp
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:domain
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:www
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:pop3
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:imap2
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:https
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:mysql
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:http-alt
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:webmin
ACCEPT    udp  --  anywhere            anywhere            udp dpt:mysql
ACCEPT    udp  --  anywhere            anywhere            udp dpt:domain
ACCEPT    icmp --  anywhere            anywhere            icmp echo-request
DROP      tcp  --  anywhere            anywhere            tcp dpts:nfs:2050
DROP      tcp  --  anywhere            anywhere            tcp dpts:x11:6063
DROP      tcp  --  anywhere            anywhere            tcp dpts:afs3-fileserver:7010
ACCEPT    tcp  --  anywhere            anywhere            tcp dpts:1024:65535

Chain FORWARD (policy ACCEPT)
target    prot opt source              destination

Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination

Chain fail2ban-ssh (1 references)
target    prot opt source              destination
RETURN    all  --  anywhere            anywhere

The response:
Code:

220 ProFTPD 1.3.1 Server (Debian) [::ffff:xxx.xxx.xxx.xxx]
USER xxxxx
331 Password required for xxxxx
PASS ********
530 Login incorrect.


Nicke 3rd July 2009 18:13

Any suggestion?

falko 3rd July 2009 18:23

Did you try both active and passive transfers in your FTP client?

Nicke 3rd July 2009 18:34

Quote:

Originally Posted by falko (Post 197281)
Did you try both active and passive transfers in your FTP client?

Yes.

It used to work. Just stopped working.
The FTP should not respond with Login incorrect regardless of passive or active.

gkovacs 3rd July 2009 22:33

pure-ftpd or proftpd
 
Just out of curiosity, in your original post you mention pure-ftpd, but later paste in a response screen from proftpd. I'm not suggesting anything, but this sure seems strange...

Nicke 3rd July 2009 23:08

Quote:

Originally Posted by gkovacs (Post 197294)
Just out of curiosity, in your original post you mention pure-ftpd, but later paste in a response screen from proftpd. I'm not suggesting anything, but this sure seems strange...

Strange! You're right! I will look in to that!

Edit:
Quote:

root@server1:~# ps aux | grep ftp
root 10212 0.0 0.0 6152 792 ? Ss Jul01 0:00 pure-ftpd (SERVER)
root 12056 0.0 0.0 1964 548 pts/0 S+ 23:10 0:00 grep ftp
root@server1:~#
I'm so stupid. Used the wrong IP...
I have two ips. And i tried both... but both was wrong. ;) Sorry for taking your time.


All times are GMT +2. The time now is 04:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.