PureFTP on FC13

Discussion in 'Server Operation' started by sammd006, Dec 27, 2010.

  1. sammd006

    sammd006 New Member

    Hi Falco/All,

    I have installed step by step this tutorial:

    Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Fedora 13

    I am finding difficulty when trying to authenticate a user (step 6). I am able to connect and I can see that mysql db is there. Everything seems to be running as it should as explained in the tutorial. When I enter password for user i get an error "530 Login Authentication failed".

    Do you know the cause of the error? What else can I check? I have tried to create various users but in vain.

    Thanks for you time and help!

    regards,
    Dustin
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please make sure that SELinux is disabled.

    If it still doesn't work, make sure you try both active and passive transfers in your FTP client.
     
  3. sammd006

    sammd006 New Member

    Hi,

    Thanks for the reply.

    I am using filezilla at the moment and i tried using both passive and active FTP transfers but both are giving the same error.

    Selinux is disabled. Do you have any suggestion what i might check?

    regards,
    Dustin
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Is this a virtual machine or a physical server?
     
  5. sammd006

    sammd006 New Member

    Hi,

    It's a physical server.

    Regards,
    Dustin
     
  6. sammd006

    sammd006 New Member

    Hi Falko,

    Do you have any other suggestion??

    Thanks!
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Do you have a firewall running on the server? What's the output of
    Code:
    iptables -L
    ?
     
  8. sammd006

    sammd006 New Member

    Hi Falko,

    Below is my output:
    iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Also, I can only connect successfully with Anonymous user.
    Regards,
    Dustin
     
    Last edited: Jan 6, 2011
  9. sammd006

    sammd006 New Member

    Hi Falko,

    Apparently my issue is solved... From my side I did nothing special but last night I just switched off my PC hosting my fedora CORE 13.

    This morning I have booted up and while I decided to give it another try users authenticated successfully. I was quite puzzled to be honest!!

    I could also connect from outside my home network too (since i configured my router too). I am very thankful for your time and wish you all in this forum a happy new year!

    Best regards,
    Dustin :)
     
  10. sammd006

    sammd006 New Member

    Dear All,

    I am now encountering a diffuclty in setting Quotasize for the Virtual FTP users on the DB. I am only allowed to set up to 32767k amount.

    Do you a workaround to this problem?

    thanks,
    Dustin
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Open phpMyAdmin and change QuotaSize from smallint to int or bigint in the pureftpd.ftpd table.
     
  12. sammd006

    sammd006 New Member

    Hi Falko,

    I managed to increase the limit as you suggested.

    Thank you!
    Dustin
     

Share This Page