(Help) FTP fails in Solaris 9 but not in Solaris 2.6

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default (Help) FTP fails in Solaris 9 but not in Solaris 2.6

    Our Sun E3500 server has been upgraded from Solaris 2.6 (105181-17 )
    to Solaris 9 (112233-11). There are no changes in any of the FTP
    binaries. We take & use all the default FTP binaries and values which
    come with Solaris 9.

    Our 3rd party FTP program, which extract and put datas to our E3500
    server used to work when it's under Solaris 2.6. However, since the
    OS upgraded to Solaris 9, we have been getting the following error
    messages and the program fails. There's no change in the 3rd party
    FTP program end.

    We need help in resolving the problem. Specifically,

    - Are there any latest FTP related patches for Solaris 9 ??

    - We noticed the FTP solaris 9 uses different set of "ports" as
    compared with that in solaris 2.6. Is it contributing to the problems
    ??

    - In solaris 9 server , we see "in.ftpd -a" processes whereas in
    solaris 2.6 server , we see "in.ftpd". Is there any difference ??

    - In solaris 2.6 server , we see "226 ASCII Transfer complete"
    message at the end of remote client ftp session window when he/she
    performs a simple "ls" commands during the ftp session. However, in
    solaris 9 server, we see "226 Transfer complete" message at the end of
    remote client ftp session window
    when he/she performs a simple "ls" commands during the ftp session.
    Please note that, we didn't go with binary mode this time.

    Why is there a difference between the 2 Transfer complete messages
    above. Any FTP config files in Solaris 9 which control and determine
    what completion messages are available ??


    Thanks in advance for your help. Bill



    2004/06/29 14:11:24 STATUS [main] Creating new FTP connection to
    server:[172.20.6.20] on port 21
    2004/06/29 14:11:24 STATUS [main] Connected to server:[172.20.6.20]
    on port 21
    2004/06/29 14:11:24 STATUS [main] Logged in to server:[172.20.6.20]
    as user:[e1ftpa1]
    2004/06/29 14:14:24 EXCEPTION [main]
    com.banctec.bca.ftp.FtpException: After sending command:[NLST]
    couldn't read:[response code:226 (Closing data connection, requested
    file action successful) OR response code:250 (Requested file action
    okay, completed.)] from:[e1ucor01.rich.frb.org/172.20.6.20:21] -
    java.io.InterruptedIOException: Read timed out
    at com.banctec.bca.ftp.FtpClient.getFtpResponse(FtpCl ient.java:143)
    at com.banctec.bca.ftp.FtpClient.sendCommand(FtpClien t.java:187)
    at com.banctec.bca.ftp.FtpClient.list(FtpClient.java: 857)
    at com.banctec.bca.ftp.FtpClient.list(FtpClient.java: 887)
    at com.banctec.bca.ftp.FruMover.getRemoteFiles(Fru.ja va:619)
    at com.banctec.bca.ftp.FruPuller.getSourceFiles(Fru.j ava:937)
    at com.banctec.bca.ftp.FruMover.mainLoop(Fru.java:379 )
    at com.banctec.bca.ftp.Fru.main(Fru.java:331)

    2004/06/29 14:14:25 STATUS [main] Napping for 60 seconds...
    FreeDiver Guest

  2. Similar Questions and Discussions

    1. Solaris 10 Coldfusion MX 61 install fails with ... cannot execute
      (1) login as a user belonging to 'root' group (2) download and unpack coldfusion-61-so.bin.gz (3) # sh ./coldfusion-61-sol.bin -i console ...
    2. solaris 10 zone / container question (or Solaris 9)
      I begin to look at zoning in Solaris 10. I have not configured zones yet but need some answers quite quick (tomorrow :-() and hope someone can help...
    3. Question: C2 Security Configuration for general Unix and Solaris/Trusted Solaris (Auditing)
      While reviewing the DoD 5200.28-STD "DEPARTMENT OF DEFENSE TRUSTED COMPUTER SYSTEM EVALUATION CRITERIA" document and looking over "Security...
    4. Solaris 9 Newbie: Companion CD installation fails
      Hi, I've just installed S 9 sparc on my ultra 60 and went to install the components on the companion cd. all components fail immediately. I...
    5. [PHP-DEV] [PATCH] php-5.0.0b1 configure fails on Solaris (resend)
      (resent to proper list) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
  3. #2

    Default Re: (Help) FTP fails in Solaris 9 but not in Solaris 2.6

    On 6 Jul 2004 12:00:53 -0700
    [email]freedive999@hotmail.com[/email] (FreeDiver) wrote:
    > Our Sun E3500 server has been upgraded from Solaris 2.6 (105181-17 )
    > to Solaris 9 (112233-11). There are no changes in any of the FTP
    > binaries. We take & use all the default FTP binaries and values which
    > come with Solaris 9.
    >
    > Our 3rd party FTP program, which extract and put datas to our E3500
    > server used to work when it's under Solaris 2.6. However, since the
    > OS upgraded to Solaris 9, we have been getting the following error
    > messages and the program fails. There's no change in the 3rd party
    > FTP program end.
    Have you tried simulating the behaviour of that program
    with another FTP client? If this works, the problem is
    with the FTP client, not with the server. Why you start
    off by blaming the server escapes me - there's far more
    chance that your 3rd party FTP client has a problem. It's
    in all likelihood very poorly tested compared to the FTP
    daemon on Solaris 9. If you decide to use the FTP client
    from Solaris 9, issue the command "debug" first, so that
    you can follow the protocol:

    | ftp> debug
    | Debugging on (debug=1).
    | ftp> dir crash*
    | ---> PORT 192,168,1,21,141,117
    | 200 PORT command successful.
    | ---> TYPE A
    | 200 Type set to A.
    | ---> LIST crash*
    | 150 Opening ASCII mode data connection for /bin/ls.
    | -rw-r--r-- 1 sae staff 2047 Feb 19 11:47 crash.1
    | -rw-r--r-- 1 sae staff 2047 Feb 19 11:48 crash.2
    | -rw-r--r-- 1 sae staff 2047 Feb 19 22:35 crash.3
    | 226 Transfer complete.
    | remote: crash*
    | 189 bytes received in 0.015 seconds (11.94 Kbytes/s)
    | ---> TYPE I
    | 200 Type set to I.
    | ftp>
    | ---> NLST crash*
    | 150 Opening ASCII mode data connection for file list.
    | crash.1
    | crash.2
    | crash.3
    | 226 Transfer complete.
    | remote: crash*
    | 27 bytes received in 0.011 seconds (2.35 Kbytes/s)
    > We need help in resolving the problem. Specifically,
    >
    > - Are there any latest FTP related patches for Solaris 9 ??
    There are no bugs as you describe in the Solaris 9 FTP daemon.
    > - We noticed the FTP solaris 9 uses different set of "ports" as
    > compared with that in solaris 2.6. Is it contributing to the problems
    > ??
    Huh? The ports that matter (20 and 21) are fixed by the protocol.
    Port mode will use any available, non-privileged port for the
    data channel, and it really doesn't matter unless your network
    imposes some kind of restrictions on specific port ranges.
    > - In solaris 9 server , we see "in.ftpd -a" processes whereas in
    > solaris 2.6 server , we see "in.ftpd". Is there any difference ??
    Read the man page. It enables the use of the ftpaccess.4 file.
    > - In solaris 2.6 server , we see "226 ASCII Transfer complete"
    > message at the end of remote client ftp session window when he/she
    > performs a simple "ls" commands during the ftp session. However, in
    > solaris 9 server, we see "226 Transfer complete" message at the end of
    > remote client ftp session window
    > when he/she performs a simple "ls" commands during the ftp session.
    > Please note that, we didn't go with binary mode this time.
    >
    > Why is there a difference between the 2 Transfer complete messages
    > above.
    Because they're different programs?
    The only thing that matters to the protocol is the number
    (226) and that's identical.
    > Any FTP config files in Solaris 9 which control and determine
    > what completion messages are available ??
    Yup, and a "man ftpd" would have told you which ones. Have
    a look in /etc/ftpd.
    > 2004/06/29 14:11:24 STATUS [main] Creating new FTP connection to
    > server:[172.20.6.20] on port 21
    > 2004/06/29 14:11:24 STATUS [main] Connected to server:[172.20.6.20]
    > on port 21
    > 2004/06/29 14:11:24 STATUS [main] Logged in to server:[172.20.6.20]
    > as user:[e1ftpa1]
    > 2004/06/29 14:14:24 EXCEPTION [main]
    > com.banctec.bca.ftp.FtpException: After sending command:[NLST]
    > couldn't read:[response code:226 (Closing data connection, requested
    > file action successful) OR response code:250 (Requested file action
    > okay, completed.)] from:[e1ucor01.rich.frb.org/172.20.6.20:21] -
    > java.io.InterruptedIOException: Read timed out
    The data connection didn't work for one or other reason.
    Most likely, you're seeing the effects of a router that
    blocks the ports negotiated by the client and server, but
    you'll need an FTP client that shows the requests and
    responses (in the style of a more traditional FTP client,
    which is why I suggest simulating the transfer with an
    interactive client).

    Take care,

    --
    Stefaan
    --
    "What is stated clearly conceives easily." -- Inspired sales droid
    Stefaan A Eeckels Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139