vsftpd showing Offline

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

  1. skdb

    skdb New Member

    Ok, see attached file, its the same as the one I posted in this thread, just with Falko's changes added to it.!
     

    Attached Files:

  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ?
     
  3. skdb

    skdb New Member

    Below is the output:

     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/hosts?
    What's the output of
    Code:
    telnet localhost 21
    ?
     
  5. skdb

    skdb New Member

    This is getting a bit like Deja Vu:

    hosts:
    Telnet:
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Where do these lines come from?

    What's the output of
    Code:
    iptables -L
    ?
     
  7. skdb

    skdb New Member

    Standard Debian sarge 3.1 entry.

    As you mentioned in this Thread, I should comment out this line and add the corrected localhost entry.!
    Which was done.

    IPTables output:

     
  8. falko

    falko Super Moderator Howtoforge Staff

    What happens if you turn off the firewall?
     
  9. skdb

    skdb New Member

    Has no effect.
    The firewall is the Bastille which is "mit installiert" with ISPConfig.

    Your log also just says:

    When trying WebFTP which also does not say much.

    Could you explain a little bit how the WebFTP tryes to connect to the FTP, maybe in detail? It might help!
     
  10. falko

    falko Super Moderator Howtoforge Staff

    It uses the standard PHP FTP functions...

    I guess I'm at my wit's end then... :(
     
  11. skdb

    skdb New Member

    Oh, dont give up now, we have gone too far now to just give up :p

    Question:
    Could we amend the FTP connection in ISPConfig to look at a specific IP address and NOT localhost?

    This already works when directing an FTP client to my Servers IP, its just the "Localhost" thats having trouble.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Currently not, it is hardcoded in the PHP scripts.
     
  13. skdb

    skdb New Member

    Hi till, I think you miss-understood me, I know that the Localhost connect is hardcoded into the PHP scripts, thats the reason why I asked if the script can be changed to connect to an IP and not localhost.

    I am not asking for a feature change, I just would like to know which script to amend...
     
  14. falko

    falko Super Moderator Howtoforge Staff

    The Web-FTP scripts are located in /home/admispconfig/ispconfig/web/isp_file.
     
  15. skdb

    skdb New Member

    Ok, I will have a look if I can make this work thanks.

    If in the mean time, you have any ideas, please let me know.
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Do you use SuSE or Fedora on your system?
     
  17. skdb

    skdb New Member

    No, Sarge.
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Hm, I thought that maybe SELinux or AppArmor could be the reason for your problems, but there is no SELinux or AppArmor on Sarge...
     
  19. skdb

    skdb New Member

    Strange but I started to receive System EMails today referance my FTP server being down...even though its up!

    Can you tell me how to de-activate the Admin Mail for the Services, or if possable, just the ftpd Mail?
     
  20. falko

    falko Super Moderator Howtoforge Staff

    Make sure that your FTP server is listening also on 127.0.0.1. You can check with
    Code:
    netstat -tap
    You can change this under Management -> Server -> Services -> Monitoring.
     

Share This Page