Reset ISPConfig

Discussion in 'Installation/Configuration' started by dnevels@davidnevels.com, Dec 2, 2007.

  1. :eek: I did not realize that installing Zope takes over ISPConfig. I can see the websites in the directories. My domains now only point to a Zope start page instead of the websites that they used to point to. How can I get ISPConfig back in control. :confused:
    I suppose I can not just re-install ISPConfig can I?
     
    Last edited: Dec 2, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess that ISPConfig is not the problem and reinstalling ISPConfig wont cahnge anything. You will have to undo your zope installation. Maybe zope replaced your apache server.
     
  3. OK! First, Thank You for your rapid response. I removed Zope and restarted my machine. All of the websites that ISPConfig controls are back in full operation. BUT, I can not log into ISPConfig with any of the logins. All attempts at login results in the error below:


    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77

    Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:77) in /home/admispconfig/ispconfig/web/login/login.php on line 60

    The MySQL database is running and I can access it without a problem. Got any ideas?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that the mysql username and password in the file /home/admispconfig/ispconfig/lib/config.inc.php are correct.
     
  5. I checked that file and the username and password are the same as before. I also checked the sys_user table for that username and password. Both look OK to me:confused:
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you updated the mysql version as you installed zope.

    To fix this, install the mysql client dev pacakge for your mysql version and update ISPConfig afterwards. You will have to update ispconfig even if it is already the latest version as the update will recompile the ispconfig php version with the latest mysql driver.
     
  7. So, I just do an install of the latest stable version of ISPConfig? The MySQL was updated by Ubuntu updates.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. The ISPConfig installer will recognize your existing installation and makes a update. In case that the update stopy, make sure that you run:

    mkdir /root/ispconfig

    before you try to run setup a second time.
     

Share This Page