FTP connect to IBM AIX server

Posted on 2007-08-12
Last Modified: 2013-11-17
Hello Expert!

I have problem with connection to IBM AIX server. I can not FTP connect to AIX from a remote computer and also telnet connection is not possible. When I try to connect locally as a root (su) with correct password, AIX do not allow to connect. Any idea what could be wrong? Oracle 9 database is installed in AIX.

Thanks in advance for help! Robert
Question by:rtratar
    LVL 13

    Expert Comment

    OK, so it doesn't allow you to connect remotely or locally. Do you even get a prompt or just connection refused? Are you sure you have an FTP Daemon installed and active?

    Author Comment

    Well, it is problem with hardware. With diagnosctics tool we found out, that something is wrong with Raid controller or disks... This is the reason why sometimes could not remote or locally connect to the server. I hope that data will not be lost, when the experts will change bad parts with new one...
    LVL 61

    Expert Comment

    What happens if you wait couple of minutes after initiating connection procedure?
    LVL 3

    Accepted Solution


    check the /etc/inetd.conf file and look for the telnet and ftp entries, for them to be active they have to look like the following entries...

    ftp    stream  tcp6    nowait  root    /usr/sbin/ftpd  ftpd
    telnet  stream  tcp6    nowait  root    /usr/sbin/telnetd       telnetd -a

    the tcp6 entry could also reflect just tcp (tcp6 might be only for AIX 5.3 and newer versions). Also make sure telnet and ftp entries are also present and not commented out in /etc/services file.

    ftp-data                20/tcp          # File Transfer [Default Data]
    ftp                        21/tcp          # File Transfer [Control]
    telnet                   23/tcp           # Telnet

    Once these two files have the correct settings make sure to refresh the inetd daemon using the following command....

        refresh -s inetd

    Ok, as far as diagnosing why telnet and ftp don't work this should get you going, but I would advise that if they are disabled, keep them in such state and start using the S-commands counter parts... ssh for interactive and remote command execution and either SCP or SFTP for file transfer.

    best regards,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now