#1  
Old 23rd May 2012, 13:55
bc2946088 bc2946088 is offline
Junior Member
 
Join Date: Mar 2012
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default Cluster upgrade not working...

I went from 3.0.4.3 on my master no problem, but on the slave, it asks for mysql information then fails. I turned on debugging and ran the server.sh on the slave and here is the output.

root@ws02:/home/administrator# /usr/local/ispconfig/server/server.sh
23.05.2012-11:51 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
23.05.2012-11:51 - WARNING - Unable to connect to local server.
23.05.2012-11:51 - DEBUG - No Updated records found, starting only the core.
23.05.2012-11:51 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.

Is this failing to connect to mysql?

Brian
Reply With Quote
Sponsored Links
  #2  
Old 23rd May 2012, 13:56
bc2946088 bc2946088 is offline
Junior Member
 
Join Date: Mar 2012
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm guessing it's that, since here is the error message from the upgrade proccess..


Checking ISPConfig database .. OK
Unable to read server configuration from database.
Reply With Quote
  #3  
Old 23rd May 2012, 15:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Quote:
Is this failing to connect to mysql?
Yes.

Quote:
I'm guessing it's that, since here is the error message from the upgrade proccess..
Yes. The /usr/local/ispconfig/server/lib/config.inc.php file is missing or contains wrong data. You should restore it from the backup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 23rd May 2012, 15:50
bc2946088 bc2946088 is offline
Junior Member
 
Join Date: Mar 2012
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default

What's strange to me, is that the master config.inc.php is missing elements that I would think it should have. The dbmaster_type is pretty much empty, missing user, host, etc..

The current and backup of the slave config.inc.php has those elements filled in. Should I have chose yes to the reconfigure permissions on the database on the master? I chose no...
Reply With Quote
  #5  
Old 23rd May 2012, 16:24
bc2946088 bc2946088 is offline
Junior Member
 
Join Date: Mar 2012
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think I know when and how I messed it up. Awhile back, the mysql master/slave wasnt working. I can't remember, but I likely restored some the master db to the slave.

My best bet, might be to uninstall ispconfig from the slave and reinstall it from scratch, setting everything up again.
Reply With Quote
  #6  
Old 23rd May 2012, 17:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

Quote:
What's strange to me, is that the master config.inc.php is missing elements that I would think it should have. The dbmaster_type is pretty much empty, missing user, host, etc..
On the master server the dbmaster fields must be empty, otherwise it would be a slave and not the master. The dbmaster fields are onyl for the slave server.

Quote:
Should I have chose yes to the reconfigure permissions on the database on the master?
No, thats not nescessary for a update between 3.0.4.3 and 3.0.4.5 as the database permissions have not be changed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
site down after apt-get upgrade adnese General 1 20th November 2011 22:31
ISPConfig not working after upgrade to Ubuntu 10.04 jkrell Installation/Configuration 22 26th September 2011 11:07
Debian 5 (Lenny) upgrade to Debian 6 (Squeeze) DNS and Mail Not working por Installation/Configuration 8 27th March 2011 20:17
Web browsing not working after upgrade most4tune8 General 3 11th March 2007 11:52
Upgrade 2.3.3 -> 2.2.5 NOT Working on VMWare Image pesja Installation/Configuration 6 7th August 2006 14:28


All times are GMT +2. The time now is 09:17.


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