Announcement

Collapse
No announcement yet.

Connection refused => ProFTPd

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Connection refused => ProFTPd

    Hi:
    I've installed proftpd as per the instructions at http://ubuntuguide.org/wiki/Ubuntu:Feisty#FTP_Server
    While running apt-get, I choose the inetd option.
    When I attempt the following command:
    sudo /etc/init.d/proftpd restart
    I get the following message:
    "ProFTPd is started from inetd"
    1)What is the *correct* syntax
    2)Even when I've rebooted the machine, running
    ftp and attempting the command:
    `open 192.168.1.3' ## I.P. address of machine
    or
    `open 127.0.0.1' ## loopback
    I get the following error message
    "Connection refused"
    3)I'm not sure if inetd has even been started, I see no sign of it
    from ps -aux. No from dmesg or /var/log/syslog
    4)I can't seem to find a "services" item in the KDE menu. Is one
    available, if so where?
    My /etc/hosts file looks like this:
    ("## manually edited" = added by me)
    #############################
    127.0.0.1 localhost
    127.0.1.1 bart
    192.168.1.3 bart ## manually added
    192.168.1.6 linus ## manually added

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    ###############################
    Any and all suggestions welcome.
    thanks
    Tim

    #2
    Re: Connection refused => ProFTPd

    http://www.proftpd.org/docs/faq/linked/faq-ch4.html

    Comment


      #3
      Re: Connection refused => ProFTPd (inetd not installed)

      Thanks: I followed the following instructions:
      Find the line in /etc/inetd.conf that looks something like this:

      ftp stream tcp nowait root in.ftpd in.ftpd

      Replace it with:

      ftp stream tcp nowait root in.proftpd in.proftpd
      *however*
      Inetd does not appear to be installed.
      When I run
      apt-get install inetd:
      I get the following message:
      """
      sudo apt-get install inetd
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Package inetd is not available, but is referred to by another package.
      This may mean that the package is missing, has been obsoleted, or
      is only available from another source
      E: Package inetd has no installation candidate
      """
      Does that mean that inetd is part of some other package?
      If so, what package?
      If not, what now?
      thanks again
      tim

      Comment


        #4
        Re: Connection refused => ProFTPd

        I think the answer is xinetd.
        I did install it and it shows as a running service.
        I'll test ftp tomorrow and if you don't see me
        complaining here tomorrow, we know it's good.
        thanks again for the link.
        tim

        Comment


          #5
          Re: Connection refused => ProFTPd

          Originally posted by tim042849
          I think the answer is xinetd
          Which is why I've configured my (vs)FTP server to "work on it's own", read: as an independent daemon :P

          Comment


            #6
            Re: Connection refused => ProFTPd

            I'm not serving to the "outside world". Just for ad hoc file transfers - tj.

            Comment

            Working...
            X