IBM Support

ANONYMOUS logon being rejected

Troubleshooting


Problem

The z/OS FTP server has been configured to allow ANONYMOUS logons. However, any attempt to use this feature is rejected.

Symptom

The client will receive the following response after entering the userid and password:
    550-anonymous login rejected by FTP server
    550 closing control connection

Cause

If ANONYMOUSLEVEL 2 or 3 is specified in the server's FTP.DATA, a shadow copy of the /usr/sbin/ftpdns path and file must be created under the anonymous user's directory.

Diagnosing The Problem

Enable server tracing with the INT option. Messages similar to the following will be generated:
    RXnnnn copyCntlBlks: cbSaveArea at 7F536818
    RXnnnn copyCntlBlks: ... for 42984 bytes
    RXnnnn main: newuserid => execv main
    RXnnnn main: execv() failed on /usr/sbin/ftpdns - EDC5130I Exec format error. (errno2=0B1B0C28)
    SRnnnn reply: --> 550-anonymous login rejected by FTP server
    SRnnnn reply: --> 550 closing control connection
    RXnnnn main: server thread terminates

Resolving The Problem

Ensure that the steps documented in Configuring the FTP Server for ANONYMOUS Logons in the z/OS Communications Server: IP Configuration Guide have been performed. Verify that the /usr/sbin/ftpdns file has the sticky bit set, and use one of the following to correct it:

[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"All","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"1.6;1.7;1.8;1.9;1.10;1.11;1.12;1.13;2.1;2.2;2.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 June 2018

UID

swg21396802