Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th November 2011, 00:07
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Exclamation 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
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2011, 09:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,045
Thanks: 842
Thanked 5,661 Times in 4,468 Posts
Default

Run:

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

to restore the link.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th November 2011, 10:01
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Default

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
Reply With Quote
  #4  
Old 10th November 2011, 10:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,045
Thanks: 842
Thanked 5,661 Times in 4,468 Posts
Default

Check if the mysql password for the user 'ispconfig' in the file /usr/local/ispconfig/interface/lib/config.inc.php is correct.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 10th November 2011, 15:21
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Default

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

Best regards,
Mattias
Reply With Quote
  #6  
Old 10th November 2011, 15:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,045
Thanks: 842
Thanked 5,661 Times in 4,468 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 10th November 2011, 20:24
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Default

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
Reply With Quote
  #8  
Old 10th November 2011, 21:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,045
Thanks: 842
Thanked 5,661 Times in 4,468 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 10th November 2011, 23:09
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Default

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
Reply With Quote
  #10  
Old 10th November 2011, 23:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,045
Thanks: 842
Thanked 5,661 Times in 4,468 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
/var/www/ispconfig, apache, ispconfig, multiserver, restore

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
I can't finish install due a problem Sam9999 Installation/Configuration 7 17th September 2010 23:33
ISPConfig faiture glt50 Installation/Configuration 16 6th July 2006 02:58
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 14:42
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 18:02


All times are GMT +2. The time now is 16:33.


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