HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Deleted link to ISPconfig3 /var/www directory?? (http://www.howtoforge.com/forums/showthread.php?t=54854)

SwOsHiE 9th November 2011 23:07

Deleted link to ISPconfig3 /var/www directory??
 
Hello,

Under the installation of ISPconfig3 in a multiserver setup I happend to remove the /var/www/ispconfig link on the master server when I was going to do it on the mirror server.

How can I restore this link?

Best regards,
Mattias Nurmi

till 10th November 2011 08:38

Run:

ln -s /usr/local/ispconfig/interface/web /var/www/ispconfig

to restore the link.

SwOsHiE 10th November 2011 09:01

Hello and thank you for your quick answer!

I restored the link but I still have a problem with ISPconfig. I cannot login as user "admin" with the password "admin" on first install, I've checked that ispconfig talks with the MySQL server and the replication and everything else related to MySQL works just fine.

Any guess of what could be the problem?

Best regards,
Mattias

till 10th November 2011 09:21

Check if the mysql password for the user 'ispconfig' in the file /usr/local/ispconfig/interface/lib/config.inc.php is correct.

SwOsHiE 10th November 2011 14:21

The password in the file was different from the one in dbispconfig, changed it in the file because I've tried to change the mysql password to admin before (is this the right way to go?).

Still not working, tried to restart some services and noticed this under the restart of apache:

MySQL connection problem

I'm getting a bit confused :confused:

Best regards,
Mattias

till 10th November 2011 14:28

Quote:

The password in the file was different from the one in dbispconfig, changed it in the file because I've tried to change the mysql password to admin before (is this the right way to go?).
You seem to mix up things here. The password in the file is the mysql password for the ispconfig mysql user. It is not the admin password for the ispconfig controlpanel login, so this password is not the same then the admin password.

Have you made a backup of the file so that you can restore the original file?

SwOsHiE 10th November 2011 19:24

I made a stupid misstake and forgot to make a backup of the file when I changed the password (did it in md5 hash password). Still have the same problem. Tried to change the user ispconfig under mysql with a new password and saved the old one and did the same at config.inc.php but no change :(

Advice?

Best regards,
Mattias

till 10th November 2011 20:18

Quote:

I made a stupid misstake and forgot to make a backup of the file when I changed the password (did it in md5 hash password).
The mysql passwords are never in md5 format. Mysql uses its own encryption method with its internal password() command.

Quote:

Tried to change the user ispconfig under mysql with a new password and saved the old one and did the same at config.inc.php but no change
This wasnt a good idea as this broke now all other services like postfix, pop3, imap and ftp on the server as they rely on the ispconfig mysql user and by changing them in the DB manually, all services will break. If you dont made a backup, I recommend that you uninstall ispconfig and reinstall it on master and slave.

SwOsHiE 10th November 2011 22:09

I figured I had done something wrong. Is there some good guide for uninstalling ISPconfig in the right way?

I really appriciate all your help!

Best regards,
Mattias

till 10th November 2011 22:14

Download the ispconfig tar.gz, unpack it and run the uninstall.php script which is in the install folder. You have to run that script on both servers. Then install ispconfig again.


All times are GMT +2. The time now is 11:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.