Can't connect ftp...but Proftpd service is good!

hao32

Verified User
Joined
Jan 5, 2006
Messages
19
Location
I come from Never
I have nerver seen the problem like this :

the Proftpd service is all right...

[root@server root]# pstree
init-+-bdflush
|-crond
|-directadmin---5*[directadmin]
|-exim
|-httpd---45*[httpd]
|-keventd
|-2*[kjournald]
|-klogd
|-kscand
|-ksoftirqd/0
|-kswapd
|-kupdated
|-mdrecoveryd
|-6*[mingetty]
|-mysqld_safe---mysqld---mysqld---14*[mysqld]
|-named
|-proftpd---proftpd
|-sshd---sshd---bash---pstree
|-syslogd
`-vm-pop3d---10*[vm-pop3d]

but I can't see any listen at 21 port

[root@server root]# netstat -nat | grep ':21'
[root@server root]#

But in another server I find like in the following:
[root@server root]# netstat -nat | grep ':21'
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN

In the DA :
ProFTPd 1.2.9 Running


But :
C:\Documents and Settings>ftp 202.59.156.162
Connected to 202.59.156.162.
Connection closed by remote host.
 
I am actually having a similar problem with IMAP. Everything works, but I (nor my customers) can connect to IMAP in any way. All I get is a 'connection refused'.
 
Make sure the daemon is running; if it's not then check either xinetd or inetd (depending on your OS distribution).

Check with your firewall turned off.

Check addressing as localhost, and as local IP# from the server.

Jeff
 
Thanks a lot for above replies,I have reinstall the OS,I thought maybe it caused by the user in /etv/passwd ftp..but I can't decided ,not caused by the firwall..
 
Hm, it seems xinetd wasn't running as it should, no idea why. I've started it and told DA to keep an eye on it to be sure. Thanks Jeff!
 
Last edited:
Back
Top