Originally posted by: ysreddy
Hi,
I have recently configured proftpd in an AIX server. I have commented normal FTP service in inetd.conf file and made a entry for proftpd. When I issue "lssrc -t ftp" it is showing only proftpd. I am able to transfer files through "active" mode but I am unable to transfer files through "passive" mode. Can anyone help me out in resolving the problem.
-
grep ftp /etc/inetd.conf
#ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd
#ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd
ftp stream tcp6 nowait root /usr/opt/freeware/sbin/proftpd proftpd
-
root@yesmqp1:> lssrc -t ftp
Service Command Description Status
ftp /usr/opt/freeware/sbin/proftpd proftpd active
I have also updated the proftpd.conf file:
PassivePorts 30000 35000
These are the errors am getting:
ftp> passive
Passive mode on.
ftp> ls
421 Service not available, remote server has closed connection
Passive mode refused. Try PORT
No control connection for command: Transport endpoint is not connected
ftp> quit
the user is studionow, passwd Studi0n0w1
ftp> ls
227 Entering Passive Mode (0,0,0,0,119,155).
ftp: connect: A remote host refused an attempted connect operation.
Thanks in advance. Sree