×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

是不是这个问题?

本文发表在 rolia.net 枫下论坛今天偶尔改了一下ftp端口,也出现了一样的信息,不过用其他Ftp工具比如GLOBESCAPE ftp去上传下在是没问题的

----------------------
C:\Documents and Settings\Window>ftp
ftp> open efglobe.com 9921
Connected to efglobe.com.
220 H50 FTP server (Version 4.2 Thu Jul 21 05:28:02 CDT 2005) ready.
User (efglobe.com:(none)): root
331 Password required for root.
Password:
230-Last unsuccessful login: Mon Dec 5 21:48:11 EST 2005 on /dev/pts/7 from 219
.134.186.162
230-Last login: Mon Dec 12 19:40:28 EST 2005 on /dev/pts/5 from ip77
230 User root logged in.
ftp> ls
501 IP Address for data destination doesn't match client's.
425 No data connection
ftp> ls
: The type of socket is not supported in this protocol family.
ftp> ls
150 Opening data connection for ..
.profile
.sh_history
Maildir
smit.log
smit.script
smit.transaction
.vnc
.dt
.dtprofile
.java
.cpan
.Xauthority
dead.letter
.gnupg
.TTauthority
log.txt
.mysql_history
maillog
gao.mail
.bash_history
WebSM.pref
websm.script
WebSM.pref_wsmmonitoring.data
websm.log
mbox
.wmrc
websm1.transaction
chgpass.ksh
logsql.ksh
226 Transfer complete.
150 Opening data connection for ..
ftp: 343 bytes received in 0.00Seconds 343000.00Kbytes/sec.
ftp>更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / 请教: AIX和Solaris如何开放ftp给root用户?缺省都是不对root用户开放的,如何修改?
    • AIX: /etc/ftpaccess.ctl, ftpusers用来控制...但默认是允许root去登陆D
      • root去连ftp是可以的,只是上传和下载文件有问题,似乎受什么限制.
        D:\downloads>ftp 192.168.211.60
        Connected to 192.168.211.60.
        220 devaix FTP server (Version 4.2 Thu Jul 21 05:28:02 CDT 2005) ready.
        User (192.168.211.60:(none)): root
        331 Guest login ok, send ident as password.
        Password:
        230-Last unsuccessful login: Thu Dec 8 19:22:36 CST 2005 on /dev/pts/2 from 192.168.211.254
        230-Last login: Fri Dec 9 11:32:45 CST 2005 on /dev/pts/0 from 192.168.211.254
        230 Guest login ok, access restrictions apply.
        ftp> bin
        200 Type set to I.
        ftp> put cfg5.JPG
        501 IP Address for data destination doesn't match client's.
        425 No data connection
        : The type of socket is not supported in this protocol family.
        ftp> get smit.log
        501 IP Address for data destination doesn't match client's.
        425 No data connection
        ftp> quit
        452 Error writing file: A file descriptor does not refer to an open file.
        D:\downloads>
        • 建议做如下试验:
          0、看你的FTP server (Version 4.2。。是不是AIX 5.3? 打ML3看看先
          1、如果不行,把Anonymous登陆禁用,禁用ipV6
          2、如果还不行,重装ftpd--- bos.net.tcp.client
          • 可以ftp了
            不过是在IE里边用ftp://192.168.211.60访问,用拷贝粘贴方式.似乎是打开匿名方式的ftp了.
            版本是AIX5.3.没有ML3/ml3,这是个命令?它是干啥的?
            总算能ftp了,可以还是不明白.该找个老师学学了.
            • ML3=Maintanence Level 3
              ,并不是命令。而是AIX5.3的最新补丁。
              命令行下ftp过去
              user: Anonymous
              pass: pass
              是否工作?
              不过我认为您的问题多半不是补丁的问题,而是匿名访问ftp的设置问题, 具体设置请参考http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/aixbman/security/HT_security_anonymous_ftp.htm
              比较长,耐心看
              • 非常感谢! Anonymous方式还是不行,输出见内.
                D:\downloads>ftp 192.168.211.60
                Connected to 192.168.211.60.
                220 devaix FTP server (Version 4.2 Thu Jul 21 05:28:02 CDT 2005) ready.
                User (192.168.211.60:(none)): Anonymous
                331 Password required for Anonymous.
                Password:
                530 Login incorrect.
                Login failed.
                ftp>
                • 是不是这个问题?
                  本文发表在 rolia.net 枫下论坛今天偶尔改了一下ftp端口,也出现了一样的信息,不过用其他Ftp工具比如GLOBESCAPE ftp去上传下在是没问题的

                  ----------------------
                  C:\Documents and Settings\Window>ftp
                  ftp> open efglobe.com 9921
                  Connected to efglobe.com.
                  220 H50 FTP server (Version 4.2 Thu Jul 21 05:28:02 CDT 2005) ready.
                  User (efglobe.com:(none)): root
                  331 Password required for root.
                  Password:
                  230-Last unsuccessful login: Mon Dec 5 21:48:11 EST 2005 on /dev/pts/7 from 219
                  .134.186.162
                  230-Last login: Mon Dec 12 19:40:28 EST 2005 on /dev/pts/5 from ip77
                  230 User root logged in.
                  ftp> ls
                  501 IP Address for data destination doesn't match client's.
                  425 No data connection
                  ftp> ls
                  : The type of socket is not supported in this protocol family.
                  ftp> ls
                  150 Opening data connection for ..
                  .profile
                  .sh_history
                  Maildir
                  smit.log
                  smit.script
                  smit.transaction
                  .vnc
                  .dt
                  .dtprofile
                  .java
                  .cpan
                  .Xauthority
                  dead.letter
                  .gnupg
                  .TTauthority
                  log.txt
                  .mysql_history
                  maillog
                  gao.mail
                  .bash_history
                  WebSM.pref
                  websm.script
                  WebSM.pref_wsmmonitoring.data
                  websm.log
                  mbox
                  .wmrc
                  websm1.transaction
                  chgpass.ksh
                  logsql.ksh
                  226 Transfer complete.
                  150 Opening data connection for ..
                  ftp: 343 bytes received in 0.00Seconds 343000.00Kbytes/sec.
                  ftp>更多精彩文章及讨论,请光临枫下论坛 rolia.net
                  • 我用的是缺省端口
                    • 把/etc/services和/etc/inetd.conf这两个文件贴上来看看?
                      根据小弟的实验,凡是修改了ftp端口的,都出这个错.
                      • see you PM