Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-2007, 01:11 PM
Senior Member
 
Posts: 58
Default upgrade issues (4.0.2ga to 4.5.1ga)

So, I'm having issues going from 4.0.2ga to 4.5.1ga on an FC4 server.

I tried the direct route and got the dreaded "no proc table mysql error". I recovered from a backup, ran workaround SQL script and got:

Code:
_zimbra@stud:~\[zimbra@stud ~]$ mysql -f -Dmysql -u root --password=`zmlocalconfig -s -m nokey mysql_root_password` < /opt/zi mbra/mysql/share/mysql/mysql_fix_privilege_tables.sql 
ERROR 1060 (42S21) at line 22: Duplicate column name 'File_priv'
@hadGrantPriv:=1
1
1
1
1
1
1
1
1
ERROR 1060 (42S21) at line 28: Duplicate column name 'Grant_priv'
ERROR 1060 (42S21) at line 29: Duplicate column name 'Grant_priv'
ERROR 1060 (42S21) at line 30: Duplicate column name 'Grant_priv'
ERROR 1060 (42S21) at line 41: Duplicate column name 'ssl_type'
ERROR 1054 (42S22) at line 87: Unknown column 'Type' in 'columns_priv'
ERROR 1060 (42S21) at line 93: Duplicate column name 'type'
@hadShowDbPriv:=1
1
1
1
1
1
1
1
1
ERROR 1060 (42S21) at line 103: Duplicate column name 'Show_db_priv'
ERROR 1060 (42S21) at line 120: Duplicate column name 'max_questions'
ERROR 1060 (42S21) at line 130: Duplicate column name 'Create_tmp_table_priv'
ERROR 1060 (42S21) at line 133: Duplicate column name 'Create_tmp_table_priv'
ERROR 1061 (42000) at line 141: Duplicate key name 'Grantor'
_zimbra@stud:~\[zimbra@stud ~]$ mysql -f -Dmysql -u root --password=`zmlocalconfig -s -m nokey mysql_root_password`
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7 to server version: 4.1.20-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show tables;
+---------------------------+
| Tables_in_mysql           |
+---------------------------+
| columns_priv              |
| db                        |
| func                      |
| help_category             |
| help_keyword              |
| help_relation             |
| help_topic                |
| host                      |
| tables_priv               |
| time_zone                 |
| time_zone_leap_second     |
| time_zone_name            |
| time_zone_transition      |
| time_zone_transition_type |
| user                      |
+---------------------------+
15 rows in set (0.00 sec)

mysql> ^DBye

So since, that didn't work, I tried doing an upgrade from 4.0.2 to 4.0.5. That seemed to work, but I got the exact same error as above. Even worse, I got the following errors when I tried to start up after the 4.0.2. to 4.0.5 upgrade:

Code:
[zimbra@stud ~]$ zmcontrol start
Host stud.test.us
	Starting ldap...Done.
	Starting logger...Done.
	Starting mailbox...Done.
	Starting antispam...Done.
	Starting antivirus...Done.
	Starting snmp...Done.
	Starting spell...Done.
	Starting mta...FAILED
postmap: fatal: bad numerical configuration: message_size_limit = 
postalias: fatal: bad numerical configuration: message_size_limit = 
postfix failed to start


[zimbra@stud ~]$ zmcontrol status
Host stud.test.us
	antispam                Running
	antivirus               Stopped
		zmclamdctl is not running
	ldap                    Running
	logger                  Running
	mailbox                 Stopped
		tomcat is not running
	mta                     Stopped
		postfix is not running
	snmp                    Running
	spell                   Running
[zimbra@stud ~]$ zmcontrol stop
Host stud.test.us
	Stopping mta...Done
	Stopping spell...Done
	Stopping snmp...Done
	Stopping antivirus...Done
	Stopping antispam...Done
	Stopping imapproxy...Done
	Stopping mailbox...Done
	Stopping logger...Done
	Stopping ldap...Done
[zimbra@stud ~]$ logout

FYI - this is an install that started with 3.0.0GA and has progressed through all of the upgrades since then. Up until now, I've never had an issue during the upgrade process.

I'm now recovering, again, my backup of 4.0.2 and going back to that.

What do you guys think is going on?

Help! - TIA

ps One thing I did notice during the 4.0.2 upgrade to 4.0.5 is this error:
Code:
...
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
chown: cannot access `/opt/zimbra/conf/perdition.pem': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.key': No such file or directory
Operations logged to /tmp/zmsetup.log.5028
Setting defaults...Setting defaults from existing config...Done
Upgrading from 4.0.2_GA_362 to 4.0.5_GA_518
Sat Feb 17 14:46:00 2007: Stopping zimbra services
Sat Feb 17 14:46:14 2007: Starting mysql
Sat Feb 17 14:46:21 2007: Checking logger mysql status
Sat Feb 17 14:46:23 2007: Starting logger mysql
Sat Feb 17 14:46:25 2007: SELECT value FROM config WHERE name = 'db.version'
This appears to be 4.0.2_GA
....

Last edited by tachijuan; 02-17-2007 at 01:15 PM.. Reason: added the perdition stuff
Reply With Quote
  #2 (permalink)  
Old 02-17-2007, 01:13 PM
Former Zimbran
 
Posts: 5,606
Default

Is your backup working?

If so, wait until next week. We'll be releasing 4.5.2 which resolves this issue.

john
Reply With Quote
  #3 (permalink)  
Old 02-17-2007, 01:14 PM
Zimbra Employee
 
Posts: 1,434
Default 4.5.2 upgrade should include a solution

The 4.5.2 upgrade (this coming week, I believe) should include a MySQL proc table fix as part of the upgrade. If you can wait a few days, that might be easiest...
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 02-17-2007, 01:16 PM
Senior Member
 
Posts: 58
Default backup is working

Thank God that I do storage for a living. My backups are good and working.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.