Issues with login (ftp/mail/ssh) after install

Discussion in 'Installation/Configuration' started by noize, Dec 15, 2008.

  1. noize

    noize New Member

    Recently setup a Ubuntu 8.04 Box following the Perfect Server guide. Everything went find and smooth until it came time for setting up users for domains.

    Created one domain and added some test users to start testing with. Tried to ftp in, no luck, the ftp log shows invalid password being the reason. Tried to check webmail, once again, no luck. Enabled shell access for the accounts, still no luck logging in. I can however ssh in as administrator, and scp using that account (no surprise really).

    I've looked around the forums and found several things about ftp and it not working, and then people suggesting using SCP.

    On the plus side I can get the logins to work if I ssh in and 'sudo passwd web#_usr' after i set the password that way, it all works. Webmail, SCP, FTP, all of it. I'd like to avoid doing this since it probably messes something else up. Any suggestions on what I must have missed?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Are the users that you created in ispconfig listed in /etc/passwd?
    2) Any errors in /home/admispconfig/ispconfig/ispconfig.log?
     
  3. noize

    noize New Member

    1) yep, they show up in /etc/passwd
    web2_errorchase:x:10008:10002:Error Chase:/web/www/web2/user/web2_errorchase:/bin/bash
    and /etc/shadow
    web2_errorchase:$1$--31 characters--:14229:0:99999:7:::


    tail -f /home/admispconfig/ispconfig/ispconfig.log
    Code:
    16.12.2008 - 10:48:50 => INFO - Signalfile Set: insert
    16.12.2008 - 10:48:57 => INFO - USER: 
    web2_errorchase:x:10008:10002:Error Chase:/web/www/web2/user/web2_errorchase:/bin/bash
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 664: cp -fr /root/ispconfig/isp/user_standard_index.html_en /web/www/web2/user/web2_errorchase/web/index.html
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 720: setquota -u web2_errorchase 0 0 0 0 -a &> /dev/null
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 721: setquota -T -u web2_errorchase 604800 604800 -a &> /dev/null
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /web/www/web2/user/web2_errorchase/.forward
    16.12.2008 - 10:48:57 => INFO - maildirmake /web/www/web2/user/web2_errorchase/Maildir &> /dev/null, Line 110: maildirmake /web/www/web2/user/web2_errorchase/Maildir &> /dev/null
    16.12.2008 - 10:48:57 => INFO - chown web2_errorchase:web2 /web/www/web2/user/web2_errorchase/.spamassassin
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1265: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix stop &> /dev/null
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix start &> /dev/null
    16.12.2008 - 10:48:57 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2067: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
    
    no error messages. the passwords look normal compared to the rest of them. the messed up part is i had looked at all this and don't see any errors on the old one either. between posting this message and now the only thing i've done is physically reset one password. just made an example domain and users and everything worked fine.

    ghosts in the machine and i'm left confused as to what caused the error.
     
  4. commentator

    commentator Member

    are you sure you enabled the ftp option in the controlpanel for the website?

    without enable this option you also get login incorrect
     

Share This Page