vsftpd showing Offline

Discussion in 'Installation/Configuration' started by skdb, Jun 7, 2006.

  1. skdb

    skdb New Member

    Installation went smoothly.
    FTP was set as /etc/vsftpd.conf
    set as initd.

    Installation finished and FTP server is running but ISPConfig says its Offline.

    Can someone explain how ISPConfig integrates within vsftpd for the Virtual Users?

    What I dont understand is when I set the FTP to initd, what does that mean?
    The Port is open and running.

    Any help would be great.
     
  2. falko

    falko Super Moderator

    Make sure vsftpd is listening on localhost. What's the output of
    Code:
    netstat -tap
    ?

    I guess you mean inetd? That means that vsftpd is run by inetd instead of being a standalone daemon.

    BTW, you should have installed Proftpd instead of vsftpd, it integrates better into ISPConfig.
     
  3. skdb

    skdb New Member

    Proftpd, I tryed this originally and had similar problems, everytime I started the proftpd, it kept saying that it could not start because the server was already running by another process....the problem was similar to the one here in the forums, I tryed the solutions written but still, ISPConfig said the Proftpd was still Offline and none of the Users could connect...thats why I chose to try VSFTPD but it looks like a similar problem.

    Any Tips would be greatly welcome.

    I would be more willing to have proftpd if thats the recommended way, but I will probably post here again ;)
     
    Last edited: Jun 7, 2006
  4. falko

    falko Super Moderator

    vsftpd is running as a standalone daemon here, but you said before you configured it to be run by inetd. So I guess we have a conflict here. Please run
    Code:
    kill -9 307
    and restart inetd.
     
  5. skdb

    skdb New Member

    Thanks for helping falko, while I was waiting, I reverted back to ProFTPD as you suggested and made a new Install of ISPConfig.

    The Proftpd is set as "Standalone" on a Debian Sarge box.
    I set this on the ISP install, I have also added the:
    to the /etc/proftpd.conf as suggested here.

    When Users are created, the FTP access is accepted and all is working to plan, but:
    In ISPConfig, the Service is showing as Offline
    When starting Proftpd, the Double Server is shown but "SocketBindTight" cancels out the "Default Server".

    netstat -tap:

    Any Help would be appriciated.
     
  6. till

    till Super Moderator

    This looks fine, Proftp is lisening on all interfaces. Please post the content of the file:

    /etc/hosts
     
  7. skdb

    skdb New Member

    There you go :)
     
  8. falko

    falko Super Moderator

    You should change
    Code:
    127.0.0.1 localhost
    to
    Code:
    127.0.0.1 localhost.localdomain localhost
    Proftpd is listening only on 217.20.115.118. What's in /etc/proftpd.conf?
     
  9. skdb

    skdb New Member

    As requested:
     
  10. falko

    falko Super Moderator

    What's in /etc/proftpd_ispconfig.conf?
    Can you restart Proftpd? What's the output of
    Code:
    netstat -tap
    then?
     
  11. skdb

    skdb New Member

    After making the change to /etc/hosts as Falko suggested, this is the lastest:

    In the proftp_ispconfig.conf is the standard:

     
  12. falko

    falko Super Moderator

    Please add

    Code:
    <VirtualHost 127.0.0.1>
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    </VirtualHost>
    to /etc/proftpd.conf (right before the line Include /etc/proftpd_ispconfig.conf) and restart Proftpd.
     
  13. skdb

    skdb New Member

    Entry added to the proftpd.conf in the line before the include.
    Restarted Proftpd with following message:

    netstat -tap also updated:

    But still showing Offline in ISPConfig.
     
  14. falko

    falko Super Moderator

    But now Proftpd is listening also on localhost:

    Please kill the current Proftpd process:
    Code:
    kill -9 9046
    and start Proftpd again.
     
  15. skdb

    skdb New Member

    Killed and restarted:

    Netstat -tap:

    Still Offline and WebFTP not working.
     
  16. falko

    falko Super Moderator

    What is wBBMods FTP? :confused:
     
  17. skdb

    skdb New Member

  18. falko

    falko Super Moderator

    What happens if you comment out
    Code:
    Include /etc/proftpd_ispconfig.conf
    in /etc/proftpd.conf and restart Proftpd?
     
  19. skdb

    skdb New Member

    Restarted and I dont receive the Warning message anymore, its just telling me its started.
    But
    still no joy in ISPConfig :(
     
  20. till

    till Super Moderator

    Can you please post your proftpd.conf? If the file is too large, make a .zip of it and attach it to the post.
     

Share This Page