SUSE Perfect Setup - ProFTPD Problem

Discussion in 'HOWTO-Related Questions' started by melefire, Nov 13, 2006.

  1. melefire

    melefire New Member

    Hello, I set up a suse 10.1 server using your instructiuons and every thing worked exept proftpd. When i atempt to connect to my server via ftp i connect then the connection is closed.

    Could someone please help me fix the problem?
    Thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your logs? What's the output of
    Code:
    netstat -tap
    and
    Code:
    ps aux|grep -i apparmor
    ?
     
  3. melefire

    melefire New Member

    re

    there does not appear to be any errors. i can also accses FTP from an online ftp client, don't know if this means anything
     
  4. melefire

    melefire New Member

    re

    Oh and this is what i see in SmartFTP from a remote computer:

    Code:
    SmartFTP v1.5.991.32
        Resolving host name "**.***.***.**"
        Connecting to **.***.***.** Port: 21
        Connected to **.***.***.**.
    220 ProFTPD 1.3.0 Server (mainserver) [::ffff:192.168.1.25]
        USER [email protected]
    331 Password required for [email protected]
        PASS (hidden)
    230 User [email protected] logged in.
        SYST
    215 UNIX Type: L8
        FEAT
    211-Features:
     MDTM
     REST STREAM
     SIZE
    211 End
        PWD
    257 "/" is current directory.
        TYPE A
    200 Type set to A
        PASV
        An established connection was aborted by the software in your host machine.
        Server closed connection
    
    so possibly someone can tell the problem from that
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Did you try both active and passive transfers in your FTP client? Might be a firewall problem.
     
  6. melefire

    melefire New Member

    I can not transfer at all, i get on then defore the directory loads it kicks me off...
    EDIT:
    when i do
    Code:
    [i]ftp localhost[/i]
    it works so i think there is a problem with accsesing it out of the firewall
     
    Last edited: Nov 15, 2006
  7. falko

    falko Super Moderator ISPConfig Developer

    Please switch off the firewall and try again.
     
  8. melefire

    melefire New Member

    Um i think i located the problem, the passive ftp does not work, i can log in but when i run the ls command its hangs.
    it configured the ftp to only use port 6111 for passive,
    then i forwarded it on my netgear router to 192.168.1.25, my suse server
    but it still does not work!! i know ftp server works becuase i can do transfers from within the network but i can't transfer from out side
     
  9. falko

    falko Super Moderator ISPConfig Developer

Share This Page