ProFTP login not possible

Discussion in 'Installation/Configuration' started by Toyer, May 4, 2007.

  1. Toyer

    Toyer New Member

    Hi Guys,

    Users can't log in via FTP (530 Login incorrect) even though FTP is active for their user accounts in ISPConfig. System is Debian Etch.

    proftpd.conf
    In my opinion the problem is that no new entries are generated in /etc/passwd. Existing Users in /etc/passwd CAN successfully log in.
     
    Last edited: May 4, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why do you reinstall? ISPConfig works perfectly on Ubuntu 7.04, it would have been easier to find the problem then reinstalling. But thats your decision ;)
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Are there any errors in the logfile /home/admispconfig/ispconfig/ispconfig.log ?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /root/ispconfig
    and
    Code:
    df -h
    ?
     
  5. Toyer

    Toyer New Member

    No Errors only bunch of these


    ls -la /root/ispconfig gives

    df -h outputs
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the FTP users exist in /etc/passwd? Please post the line from /etc/passwd which contains the username.
     
  7. Toyer

    Toyer New Member

    I have the following ftp related entries in /etc/passwd (wonder why there is a user proftpd....)

     
  8. falko

    falko Super Moderator ISPConfig Developer

    Till meant the username that you try to log in with (e.g. web1_someuser or something like that).
     
  9. Toyer

    Toyer New Member

    No i don't have any of these users in /etc/passwd. As I stated in an earlier post (probably not clear enough as english is not my mothertongue) this is IMHO the source of the problem. New users are not added to /etc/passwd. The big question is why and what to do about that :)
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you egt any errors when you execute:

    rm -f /root/ispconfig/.ispconfig_lock
    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
     
  11. Toyer

    Toyer New Member

    rm -f /root/ispconfig/.ispconfig_lock
    outputs no error

    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

    is the candidate i think...

    Tried that one three times:
    1 time
    start
    ende

    2 times start, than nothing... only Ctrl-C returned me to the bash
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    The output:

    start
    ende

    is ok. The 2 other times, did you delete the lock file too before you started the writeconf script again with the first command?
     
  13. Toyer

    Toyer New Member

    Yes, Lockfile was deleted first.
     
  14. falko

    falko Super Moderator ISPConfig Developer

    So you deleted /root/ispconfig/.ispconfig_lock before you ran that script?
    Is there a new /root/ispconfig/.ispconfig_lock after you're pressed CTRL-C to return to the shell?
     
  15. Toyer

    Toyer New Member

    Yes!

    Yes!
     
  16. falko

    falko Super Moderator ISPConfig Developer

    Then the /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php process is aborting before it deletes the new /root/ispconfig/.ispconfig_lock. Maybe something's wrong with the PHP. Can you install ISPConfig 2.2.12 again (don't delete the old installation; the installer will perform an update)? Maybe that fixes the PHP problem.
     
  17. Toyer

    Toyer New Member

    Reinstalled ISPConfig - same problem. Clean install of Etch and ISPConfig did the job!
    Anyway thanks for supporting that great product!
     

Share This Page