[Update] admin account

Discussion in 'Installation/Configuration' started by adriaan, Aug 15, 2006.

  1. adriaan

    adriaan New Member

    Hello ISPConfig team and users,

    I installed a update (2.2.6 from 2.2.4) today, everything was fine. All my websites work now, but I can't login to the admin anymore.
    When I login with admin - 'root password' I get error 101 (wrong username or password).
    Is this a known bug?

    Adriaan
     
  2. acidh

    acidh New Member

    Same problem here,

    Today updated from 2.2.4 to 2.2.6, and can't login to the admin account anymore.
    Tried my adminpassword and the default login admin/admin.

    Does someone have the same problem, and a solution for this problem ?

    greetz
     
  3. adriaan

    adriaan New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the following:

    1) is mysql running?
    2) Are you able to login to your mysql database e.g. with phpmyadmin, if yes, is the ispconfig mysql database there and does the sys_user table contain a user with the username admin.
    3) Is the mysql user and password in the file /home/admispconfig/ispconfig/lib/config.inc.php correct?
     
  5. adriaan

    adriaan New Member

    yes
    yes, no (#1049 - Unknown database 'ispconfig')
    yes
     
    Last edited: Aug 16, 2006
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The database is not named ispconfig, it is the database for ispconfig and the name you had chosen yourself as you installed ispconfig.
     
  7. adriaan

    adriaan New Member

    I named it ispconfig... :(

    I don't have any other database then web?_* and mysql/test/tmp.
    I can't remember I have ever seen a database named ispconfig or something simular.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Please log in to MYSQL:
    Code:
    mysql -u root -p
    SHOW DATABASES;
    quit;
    What's the output of the
    Code:
    SHOW DATABASES
    command??
     
  9. adriaan

    adriaan New Member

    Code:
    mysql> SHOW DATABASES;
    +-----------+
    | Database  |
    +-----------+
    | cacti     |
    | campsite  |
    | gallery   |
    | mysql     |
    | test      |
    | tmp       |
    | web10_db1 |
    | web10_db2 |
    | web10_db3 |
    | web11_db1 |
    | web11_db2 |
    | web12_db1 |
    | web12_db2 |
    | web13_db3 |
    | web13_db4 |
    | web16_db1 |
    | web16_db2 |
    | web17_db1 |
    | web18_db1 |
    | web19_db1 |
    | web1_db1  |
    | web1_db10 |
    | web1_db11 |
    | web1_db12 |
    | web1_db2  |
    | web1_db3  |
    | web1_db4  |
    | web1_db5  |
    | web1_db6  |
    | web1_db7  |
    | web1_db9  |
    | web20_db1 |
    | web21_db1 |
    +-----------+
    33 rows in set (0.15 sec)
     
  10. adriaan

    adriaan New Member

    This is my configuration:
    PHP:
    $go_info["server"]["db_host"] = "localhost";
    $go_info["server"]["db_name"] = "ispconfig";
    $go_info["server"]["db_user"] = "root";
    $go_info["server"]["db_password"] = "****"// hidden ;)
    $go_info["server"]["db_type"] = "mysql";
     
  11. adriaan

    adriaan New Member

    I also can't find my Apache configuration files, but all my sites are still working.

    (My operating system is SuSE 10.0)
     
  12. falko

    falko Super Moderator ISPConfig Developer

    I don't see an ISPConfig database here. Seems as if you deleted it. Do you have a backup?
     
  13. adriaan

    adriaan New Member

    I didn't ;).
    A very old one, but I think it will work...
     
  14. adriaan

    adriaan New Member

    Oeps!

    Found it ;)

    My fault...
     
  15. adriaan

    adriaan New Member

    When I make a change to the settings of a domain, how creates ISPConfig the new file?
    From the database or makes it only a change in the configfile?
     
  16. falko

    falko Super Moderator ISPConfig Developer

    It writes new configuration files, but with the data from the database.
     
  17. adriaan

    adriaan New Member

    Ok.

    When I make a backup, how is the file named? I can't remember where I put it...
     
  18. falko

    falko Super Moderator ISPConfig Developer

    To which backup are you referring?
     
  19. adriaan

    adriaan New Member

    One I made before with the standard ISPConfig tool.
    Could I find it with the 'find' linux command?
     
  20. falko

    falko Super Moderator ISPConfig Developer

    With which standard ISPConfig tool? Do youo mean the one under Management? With that your backups are saved on your local hard disk, not on the server.
     

Share This Page