pureftp keeps crashing

Discussion in 'General' started by chaloum, Mar 20, 2012.

  1. chaloum

    chaloum New Member

    I been running a centos/ISPConfig install for a bout a week but all of a sudden PureFTP keeps crashing.

    I can only transfer a few file before it craches and I have to restart and then I get this error on my ftp client 421 Too many connections (8) from this IP

    Over the last week I've transfered hundreds of sites, using the same configuration both client and server with out issue. now its nearly usable.

    Can some one give me some pointer in resolving this as I need the server to be bullet proof

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get any errors in the log files?
     
  3. chaloum

    chaloum New Member

    errors from log

    These are the errors

    Mar 20 19:11:59 server1 pure-ftpd: ([email protected]) [ERROR] Too many authentication failures
    Mar 20 19:11:59 server1 pure-ftpd: ([email protected]) [INFO] New connection from 218.94.40.92
    Mar 20 19:12:04 server1 pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [connect]

    and after a few ties

    Mar 20 20:20:30 server1 pure-ftpd: ([email protected]) [ERROR] Too many authentication failures

    Then PureFTP crashes and I either need to restart it of if I'm prepared to wait it comes back online

    so basically I login with the ftp client "Filezilla" and start transferring files and after a while I get the above errors.

    tHe connection for both Pureftp and the client a 8 so I have no idea why it says there are too many connections.

    I dont understand why it says Authentication failed for user, when I was connected and authenticated and in the middle of a job

    regards
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try a different ftp client like fireftp to see if you get the same error there.
     
  5. chaloum

    chaloum New Member

    I will upgrade filezilla first

    I will upgrade filezilla first and see if that does anything different.

    I assume the FTP Server going off line is because it looks like a DoS attack to the server?
     
  6. chaloum

    chaloum New Member

    FireFTP just goes into an endless cycle of nothingness

    I logged on, opened a directory and I just sits there with the progress bar show there is something in progress but nothing ver happens.

    FireFTP is worse that FileZilla

    I'm logged in but the FTP log says Authentication failed.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Is this a physical server or a virtual machine? If you use OpenVZ, do this on the host:

    Code:
    VPSID=101
    for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
    do
      vzctl set $VPSID --capability ${CAP}:on --save
    done
    Make sure you use the correct VPSID.
     
  8. chaloum

    chaloum New Member

  9. chaloum

    chaloum New Member

    Same problem with fireFTP

    FireFTP has the same problem

    it connects and authenticates
    I start a process
    after a while I get the authentication issue again albeit the message says too many connections.


    As a note fail2ban then steps in and locks me out

    also note I'm transferring anything up from 5,000 files at any upload
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Might be a problem with passive mode and the firewall. Please try to set the ftp coonnection to active mode in the ftp client and check if you get thesame problem with active mode as well.
     

Share This Page