Can't login after setup.

Discussion in 'Installation/Configuration' started by edude03, Sep 9, 2010.

  1. edude03

    edude03 New Member

    I followed the perfect server guide to setup ISPConfig on CentOS 5.5 x64. I deviated slightly in the mySQL setup because I already have a dedicated mySQL server that I use for all my databases.

    I created a new user called "ispconfig" and gave it all privileges for the host that ispconfig is installed on. The install completed successfully and I can see that it created the database and tables on the mySQL server however whenever I try an login It fails (using admin & admin).

    When I look at the error log I see a message that says

    I tried connection to the DB server from that host and I am able to connect (using mysql -h mydbserver -u ispconfig -p).

    Where else could this problem lie?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If "myip" is not then you entered a wrong IP address during ispconfig installation or the "localhost" line in /etc/hosts points to a wrong IP. Ensure that you entered "localhost" as hostname of the mysql server as you installed ispconfig and that the "localhost" line in /etc/hosts has the IP and no other IP address. Also ensure that you used the mysql user "root" when you install the system, ispconfig has to be bale to create the database and users that it requires. Using a existing oor non root user will cause the setup to fail.

    To fix the problems, uninstall ispconfig, install a local mysql server and reinstall ispconfig.
    Last edited: Sep 9, 2010
  3. edude03

    edude03 New Member

    OK, that works, however is there any reason I can't use an external server for ISPConfig?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Mainly performance reasons. You can use external database servers e.g. for the client databases for the websites but using a external db as main database for ispconfig makes not much sense as it is simply too slow as services like the mail setup and dns are connected to it.

Share This Page