Re: Is ftp running?

From: dlangschied (dlangschied_at_ameritech.net)
Date: 09/29/03

  • Next message: Brett Franck: "Logrotate"
    To: <redhat-list@redhat.com>
    Date: Mon, 29 Sep 2003 10:27:58 -0400
    
    

    First off, thanks for the walk-through. I am new to Red Hat, so some things
    are still on my "to learn" list. I am technical support for an app that
    runs on Linux and sometimes I get OS questions that I can't answer.

    Theat being said, I went through the items that you detailed and I got
    stopped at netstat. Obviously, there isn't an ftp process running. I ran
    chkconfig and nothing showed up.

    I did get a list in the rpm step. It included the following:

    gftp-2.0.8-2
    ncftp-3.0.3-6
    ftp-0.17-12.1.1

    Do any of these entries mean anything? I ran the same thing on my Linux
    server and got a great deal more, including all the ones listed above.

    Sincerely,

    David Langschied
    Langschied Consulting Services
    25644 Mackinac
    Roseville, MI 48066

    Phone: (586)777-7542
    Cell: (248)789-8493
    e-mail: dlangschied@ameritech.net
    ----- Original Message -----
    From: "Ed Wilts" <ewilts@ewilts.org>
    To: <redhat-list@redhat.com>
    Sent: Monday, September 29, 2003 9:46 AM
    Subject: Re: Is ftp running?

    > On Mon, Sep 29, 2003 at 08:44:44AM -0400, dlangschied wrote:
    > > facility to check to see if the daemon is running in the Gnome
    interface.
    > > He does not see anything remotely like an ftp daemon in the services
    list.
    > > I would assume that this is part of the Red Hat install. Why is there
    no
    > > "ftp" daemon in the services list? If it isn't loaded by default, I am
    > > assuming that it is available as an rpm on the CDs somewhere. Would
    loading
    > > the rpm also add it to the services list (Iwould assume yes here, but
    just
    > > checking)?
    >
    > First things first:
    > # rpm -qa | grep ftp
    >
    > This will tell you if you have a ftp server even installed. Depending
    > on what kind of install you did, you may or may not have installed one.
    > If you installed an ftp server, it is almost certainly disabled. Most
    > services are turned off by default for security reasons.
    >
    > If you do have one installed, check to see if it is running:
    > [ewilts@corpftp ewilts]$ netstat -an | grep 0.0.0.0:21
    > tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
    >
    > Most ftp servers usually run out of inetd/xinetd, and netstat will tell
    > if anything is listening on the port. If it is running, then you've
    > probably got a firewall issue since firewalls (such as iptables)
    > typically block ftp by default. If it's not running, but you have the
    > server installed, configure it before you go any farther. wu-ftpd and
    > vsftp both should be configured to give you the type of access you need.
    >
    > Now check to see if the server is scheduled to start at boot:
    > # chkconfig --list | grep ftp
    > If you see 3:off, then it's not set to start. Enable it with:
    > # chkconfig <servicename> on
    >
    > Now reload xinetd to get it to reread its config files so that you can
    > connect via ftp"
    > # service xinetd reload
    >
    > Incidentally, you mentioned the customer's 7.3 (2.1 AS) server. Those
    > are very different OS releases!
    >
    > --
    > Ed Wilts, Mounds View, MN, USA
    > mailto:ewilts@ewilts.org
    > Member #1, Red Hat Community Ambassador Program
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Brett Franck: "Logrotate"

    Relevant Pages