ftp issues user cannot connect Centos

Discussion in 'Installation/Configuration' started by IzFazt, Jul 17, 2009.

  1. IzFazt

    IzFazt Member HowtoForge Supporter

    pure-ftpd (followed howto install for centos) generates this in with PASV off and a hanging loop passive mode, see data below? Any ideas?

    PASV on:

    PASV off:

     
  2. falko

    falko Super Moderator Howtoforge Staff

    This is probably a firewall problem.
     
  3. IzFazt

    IzFazt Member HowtoForge Supporter

    ok, which firewall are you referring to? The user tested on more then one occasion with his firewall off and the same result. The system is using the ISP firewall and ports 120,121, 42000 tot 42010 are open, portforwarding is set correctly and of course in pure-ftpd.conf 42000 to 42010 is PassivePortsRange. FTP server was restarted more then once and just to be sure reboot also done. The result does not change. Could you be a bit more specific and explain what else there is that can cause a firewall problem ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap

    and

    iptables -L
     
  5. IzFazt

    IzFazt Member HowtoForge Supporter

    ok, here they are

     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    grep erpc /etc/services
    ?
     
  7. IzFazt

    IzFazt Member HowtoForge Supporter

    as requested....

     
  8. falko

    falko Super Moderator Howtoforge Staff

    Your FTP daemon is listening on port 121 instead of 21...
     
  9. IzFazt

    IzFazt Member HowtoForge Supporter

    I know, everything is set for port 121 and not for 21 we have a reason for that, but as you can see in the top of this post, that is not the problem, the problem is the hangs and the loops when logged in on port 121
     
  10. IzFazt

    IzFazt Member HowtoForge Supporter

    Even when Joomla tries to use PASV FTP on the site to delete some cache files somewhere else in its own directory this is the response.

     

Share This Page