avatar
t*v
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..
avatar
j*y
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..

avatar
m*e
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..

avatar
t*v
4
SGI is the server.
I tried different clients such a Linux, SGI, SUN

【在 j***y 的大作中提到】
: SGI is the client OS or server OS?
avatar
t*v
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.
avatar
m*e
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?

avatar
t*v
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.

avatar
j*y
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.

avatar
t*v
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

avatar
ft
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

avatar
l*l
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.
avatar
t*v
12
No, we have no such things running..

【在 ft 的大作中提到】
: Are you trying to connect through a firewall or NAT?
avatar
t*v
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。