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 03-30-2008, 04:16 AM
Loyal Member
 
Posts: 85
Default [SOLVED] Error Upgrading 5.0.2 to 5.0.4 URGENT

Hello I have following error when upgrading. Pleas help. Mailserver got to work urgent.
Code:
Upgrading from 5.0.2_GA_1975 to 5.0.4_GA_2101
Stopping zimbra services
Verifying /opt/zimbra/conf/my.cnf
Starting mysql
Starting logger mysql
Sun Mar 30 12:11:18 2008: SELECT value FROM config WHERE name = 'db.version'
ERROR 1040 (08004): Too many connections
This appears to be 5.0.2_GA
Redolog Version: 1.22 New Redolog Version: 1.22
Backup Version: 7.0 New Backup Version: 7.0
Stopping mysql
An upgrade of the logger schema is necessary from version 0
Running /opt/zimbra/libexec/scripts/migrateLogger1-index.pl
Sun Mar 30 12:11:39 2008: Adding Indices
Sun Mar 30 12:11:39 2008: alter table mta add index i_arrive_time (arrive_time);
alter table amavis add index i_arrive_time (arrive_time);
alter table mta_aggregate add index i_period_start (period_start);
alter table mta_aggregate add index i_period_end (period_end);
alter table amavis_aggregate add index i_period_start (period_start);
alter table amavis_aggregate add index i_period_end (period_end);
CREATE TABLE config (
        name        VARCHAR(255) NOT NULL PRIMARY KEY,
        value       TEXT,
        description TEXT,
        modified    TIMESTAMP
) ENGINE = MyISAM;

ERROR 1040 (08004): Too many connections
Running /opt/zimbra/libexec/scripts/migrateLogger2-config.pl
Sun Mar 30 12:11:41 2008: Adding Config
Sun Mar 30 12:11:41 2008: DROP TABLE IF EXISTS config;
CREATE TABLE config (
        name        VARCHAR(255) NOT NULL PRIMARY KEY,
        value       TEXT,
        description TEXT,
        modified    TIMESTAMP
) ENGINE = MyISAM;

ERROR 1040 (08004): Too many connections
Sun Mar 30 12:11:42 2008: DELETE from zimbra_logger.config WHERE name = 'db.version';
INSERT into zimbra_logger.config (name,value) values ('db.version',2);

ERROR 1040 (08004): Too many connections
Running /opt/zimbra/libexec/scripts/migrateLogger3-diskindex.pl
Sun Mar 30 12:11:44 2008: SELECT value FROM config WHERE name = 'db.version'
ERROR 1040 (08004): Too many connections
Sun Mar 30 12:11:44 2008: Schema version mismatch.  Expected version 2.  Version in the database is 0.

Script failed with code 1 - exiting
UPGRADE FAILED - exiting
Help

Greets John
Reply With Quote
  #2 (permalink)  
Old 03-30-2008, 05:44 AM
Loyal Member
 
Posts: 85
Unhappy

How do I return to 5.0.2

I know it is sunday but we are open and the email server doesn't work. Its about 4 hours now that I am trying to make it work. When just want to run zmcontrol start after the error of upgrading i get.
Code:
Host mail.robotronic.be
        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 string length 0 < 1: mail_owner =
postalias: fatal: bad string length 0 < 1: mail_owner =
postfix failed to start


        Starting stats...Done.
John
Reply With Quote
  #3 (permalink)  
Old 03-30-2008, 06:34 AM
Loyal Member
 
Posts: 85
Unhappy

I tried to rerun the old zimbra 5.0.2 to upgrade. that doesn't work also
Pleas help guys.
This is in zimbra.log file
Code:
Mar 30 14:32:04 mail CRON[8615]: (pam_unix) session opened for user zimbra by (uid=0)
Mar 30 14:32:13 mail zmmailboxdmgr[8808]: status requested
Mar 30 14:32:13 mail zmmailboxdmgr[8808]: status OK
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: antispam: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: antivirus: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: ldap: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: logger: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: mailbox: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: mta: Stopped
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: saslauthd: is
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: snmp: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: spell: Running
Mar 30 14:32:14 mail zimbramon[8618]: 8618:info: 2008-03-30 14:32:04, STATUS: mail.robotronic.be: stats: Running
Mar 30 14:32:14 mail CRON[8615]: (pam_unix) session closed for user zimbra
Mar 30 14:32:31 mail postfix/postqueue[8884]: fatal: bad string length 0 < 1: mail_owner =
John
Reply With Quote
  #4 (permalink)  
Old 03-30-2008, 07:04 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

your upgrade failed for whatever reason, repairing it will be very difficult. restore from your backup.
Reply With Quote
  #5 (permalink)  
Old 03-30-2008, 07:18 AM
Loyal Member
 
Posts: 85
Default

Hey thx for the response.

Restore from my backup ?
How do I do that?
I can't get the mailserver running !! How can I restore the backup then?

John
Reply With Quote
  #6 (permalink)  
Old 03-30-2008, 07:42 AM
Loyal Member
 
Posts: 85
Default

Hey,

I am al out of ideas here. I am not an Linux expert.
We bought a 5 years license in january.
But with a simpel upgrade, my mail system crashes???

I can't believe that there is nobody that can help me ??

John
Reply With Quote
  #7 (permalink)  
Old 03-30-2008, 07:45 AM
Moderator
 
Posts: 451
Default

Did you do a full backup before you started the upgrade? Do you have a copy of /opt/zimbra prior to your upgrade? You may want to open a ticket with Zimbra Support (http://support.zimbra.com)
__________________
http://perceiva.com
Reply With Quote
  #8 (permalink)  
Old 03-30-2008, 07:50 AM
Loyal Member
 
Posts: 85
Default

I did a copy but it freezed copying on /opt/zimbra/postfix/spool/
After an hour I stopped the copy process with ctrl/c. Because my boss wanted the mail system running.
So I have an partial copy. but not the whole thing. I know its stupid.
I have a daily backup. But that is just the mails I think.

I am still in the learning process of linux and zimbra.

A ticket ? How do I do that?? And will my problem be solved then?

John
Reply With Quote
  #9 (permalink)  
Old 03-30-2008, 07:53 AM
Moderator
 
Posts: 451
Default

Part of your NE license includes support, by submitting a ticket at http://support.zimbra.com they should be able to help you as best they can. Remember without a good backup, you may run into some problems.
__________________
http://perceiva.com
Reply With Quote
  #10 (permalink)  
Old 03-30-2008, 07:55 AM
Loyal Member
 
Posts: 85
Default

I see that I have "2 tickets remaining".
But how do I open a new ticket. Do I have to "Submit a new case" ?

John
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.