t*v 发帖数: 32 | 1 SGI: IRIX64 6.5
after I login the FTP server,
ftp> ls
200 PORT command successful.
425 Can't create data socket (xxx.xxx.xxx.xxx,20): Permission denied.
Can anyone tell what could the problem?
thanx a lot.. |
j***y 发帖数: 87 | 2 SGI is the client OS or server OS?
【在 t*v 的大作中提到】 : SGI: IRIX64 6.5 : after I login the FTP server, : ftp> ls : 200 PORT command successful. : 425 Can't create data socket (xxx.xxx.xxx.xxx,20): Permission denied. : Can anyone tell what could the problem? : thanx a lot..
|
m*****e 发帖数: 4193 | 3 Are you running FTP server as root? Only root can bind to port 20.
【在 t*v 的大作中提到】 : SGI: IRIX64 6.5 : after I login the FTP server, : ftp> ls : 200 PORT command successful. : 425 Can't create data socket (xxx.xxx.xxx.xxx,20): Permission denied. : Can anyone tell what could the problem? : thanx a lot..
|
t*v 发帖数: 32 | 4 SGI is the server.
I tried different clients such a Linux, SGI, SUN
【在 j***y 的大作中提到】 : SGI is the client OS or server OS?
|
t*v 发帖数: 32 | 5 ftpd is started within inetd, I assume it is run by root.
but the client should be able to list the directory ya?
【在 m*****e 的大作中提到】 : Are you running FTP server as root? Only root can bind to port 20.
|
m*****e 发帖数: 4193 | 6 Are you trying to login as anonymous? If so, the chroot environment
was not set up correctly.
【在 t*v 的大作中提到】 : ftpd is started within inetd, I assume it is run by root. : but the client should be able to list the directory ya?
|
t*v 发帖数: 32 | 7 no, I login as normal user..
Now the weird thing is I finally find a client that can list the directory,
which is a RH7.0 box.
while when I tried others (windoz, RH6.2, SGI, SUN..), it still doesn't work.
【在 m*****e 的大作中提到】 : Are you trying to login as anonymous? If so, the chroot environment : was not set up correctly.
|
j***y 发帖数: 87 | 8 Or you can try to see if some other prorams are listening on port 20.
fuser 20/tcp
【在 t*v 的大作中提到】 : no, I login as normal user.. : Now the weird thing is I finally find a client that can list the directory, : which is a RH7.0 box. : while when I tried others (windoz, RH6.2, SGI, SUN..), it still doesn't work.
|
t*v 发帖数: 32 | 9 $ fuser 21/tcp
21/tcp: 4870502o
$ fuser 20/tcp
20/tcp: fuser: No such file or directory
【在 j***y 的大作中提到】 : Or you can try to see if some other prorams are listening on port 20. : fuser 20/tcp
|
ft 发帖数: 106 | 10 Are you trying to connect through a firewall or NAT?
【在 t*v 的大作中提到】 : $ fuser 21/tcp : 21/tcp: 4870502o : $ fuser 20/tcp : 20/tcp: fuser: No such file or directory
|
l*l 发帖数: 225 | 11 port 20 is data transfer port, 数据通道
port 21 is command port. 指令通道
all for ftp use, you should check if other program bind 20 or
you bad config your ftpserver.
【在 m*****e 的大作中提到】 : Are you running FTP server as root? Only root can bind to port 20.
|
t*v 发帖数: 32 | 12 No, we have no such things running..
【在 ft 的大作中提到】 : Are you trying to connect through a firewall or NAT?
|
t*v 发帖数: 32 | 13
$ fuser 20/tcp
20/tcp: fuser: No such file or directory
don't know what that means..
that's exactly what I am asking.. what configuration could go wrong?
when I connected to this server with a RedHat7.0 client, everything seems
fine,
ftp> ls
227 Entering Passive Mode (***,***,***,***,28,109)
150 Opening ASCII mode data connection for '/bin/ls'.
total 448
.
.
but with other clients, all show
ftp> ls
200 PORT command successful.
425 Can't create data socket (***.***.***.***,20): Permission denied
【在 l*l 的大作中提到】 : port 20 is data transfer port, 数据通道 : port 21 is command port. 指令通道 : all for ftp use, you should check if other program bind 20 or : you bad config your ftpserver.
|