Can´t login as admin in Ispconfig 3.0.5.4p3

Discussion in 'General' started by masc, Oct 31, 2014.

  1. masc

    masc New Member

    Some how we lost the privileges in mysql database, when we restored the grants of the sites they worked all right, but not the ispconfig
    we can not login as admin, it would reject the password. we get "Username or Password empty".
    We can login to phpmyadmin and see al databases.
    the system is debian 6
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check that you can login to mysql with the username ispconfig and the password from the file /usr/local/ispconfig/interface/lib/config.inc.php
     
  3. masc

    masc New Member

    Default Can´t login as admin in Ispconfig 3.0.5.4p3

    We can login to to mysql with the user ispconfig like this: mysql -uispconfig -p
    We are getting in the cron.log these:
    vie oct 31 07:15:16 CST 2014 PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215vie oct 31 07:16:27 CST 2014 DB::__construct Access denied for user 'ispconfig'@'localhost' (using password: YES)
    vie oct 31 07:16:27 CST 2014 PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    vie oct 31 07:16:27 CST 2014 PHP Warning: mysqli::close(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 82
    Thnak´s
     
  4. masc

    masc New Member

    Default Default Can´t login as admin in Ispconfig 3.0.5.4p3

    Im´sorry NO, we can´t login
    with both of these
    $conf['db_password'] = 'aaaaaa...aaaaaaa';
    $conf['dbmaster_password'] = 'Xxxxxx...xxxxx';


    we can login with the the one in mysql_clientdb.conf
    Thank´s
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so you know the probelm. when the mysql passwod of ispconfig is wrong, then ispconfig cant use its database. The password is the one in the line "$conf['db_password']". take that password and set it in mysql for the ispconfig user.
     
  6. masc

    masc New Member

    It didn´t work
    when we try to log in web interface it keeps saying username wrong or empty
     

Share This Page