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

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 04-14-2006, 04:38 AM
Junior Member
 
Posts: 7
Default ZCS 3.1 upgrade

I've made a copy of opt/zimbra and installed the new version after stopping all services. I received the following ERROR:

Setting defaults...Setting defaults from existing config...Done
Upgrading from 3.0.1_GA_160 to 3.1.0_GA_328
Fri Apr 14 12:19:16 2006: Stopping zimbra services
Fri Apr 14 12:19:18 2006: Checking mysql status
Fri Apr 14 12:19:18 2006: Starting mysql
Fri Apr 14 12:19:18 2006: SELECT value FROM config WHERE name = 'db.version'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
Error while running
Daniel Bülow (12:35 PM) :
'/opt/zimbra/bin/mysql --user=zimbra --password=pRI1.tH4_GJH6kycTtxVPvqq1D --database=zimbra --batch --skip-column-names'. at /opt/zimbra/libexec/scripts/Migrate.pm line 134.
Reply With Quote
  #2 (permalink)  
Old 04-14-2006, 07:17 AM
Active Member
 
Posts: 35
Default

I got the exact same error just now. The only difference that I have is that I'm upgrading from 3.0.0 to 3.1.0. I'm using Fedora Core 4:

Upgrading from 3.0.0_GA_156 to 3.1.0_GA_328

Last edited by hootjr29; 04-14-2006 at 08:11 AM..
Reply With Quote
  #3 (permalink)  
Old 04-14-2006, 09:20 AM
Senior Member
 
Posts: 67
Default

I just got:

Upgrading from 3.1.0_GA_279 to 3.1.0_GA_328
Fri Apr 14 09:15:35 2006: Stopping zimbra services
Fri Apr 14 09:15:36 2006: Checking mysql status
Fri Apr 14 09:15:36 2006: Starting mysql
Fri Apr 14 09:15:36 2006: SELECT value FROM config WHERE name = 'db.version'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=... --database=zimbra --batch --skip-column-names'. at /opt/zimbra/libexec/scripts/Migrate.pm line 134.

With opensuse 10. Where do I go from here?
Reply With Quote
  #4 (permalink)  
Old 04-14-2006, 09:23 AM
Junior Member
 
Posts: 6
Default Error on upgrade

And now I got:

Code:
$ sudo ./zmsetup.pl
Password:
Checking java version...1.5 found
Operations logged to /tmp/zmsetup.log.28406
Setting defaults...Setting defaults from existing config...Done
Upgrading from 3.0.1_GA_160 to 3.1.0_GA_328
Fri Apr 14 11:18:59 2006: Stopping zimbra services
Fri Apr 14 11:20:38 2006: Stop failed - exiting
UPGRADE FAILED - exiting
Reply With Quote
  #5 (permalink)  
Old 04-14-2006, 09:40 AM
Zimbra Employee
 
Posts: 4,792
Default

Seems like MySQL is not starting. Can you try to start it manually?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #6 (permalink)  
Old 04-14-2006, 09:44 AM
Member
 
Posts: 10
Default mysql not running... get the logs

check the logs for mysql to see what's up:

/opt/zimbra/log/my*
Reply With Quote
  #7 (permalink)  
Old 04-14-2006, 09:47 AM
Active Member
 
Posts: 35
Default

Here's the end of my mysqld.log

Code:
060414  8:48:13  InnoDB: Shutdown completed; log sequence number 0 6822185
060414  8:48:13 [Note] /opt/zimbra/mysql/bin/mysqld: Shutdown complete

060414 08:48:13  mysqld ended

060414 09:16:12  mysqld started
060414  9:16:14  InnoDB: Started; log sequence number 0 6822185
/opt/zimbra/mysql/bin/mysqld: ready for connections.
Version: '4.1.16-standard-log'  socket: '/opt/zimbra/db/mysql.sock'  port: 7306  MySQL Community Edition
 - Standard (GPL)
And I can see that its currently listening:
Code:
root@hail zcs]# netstat -an | grep 7306
tcp        0      0 127.0.0.1:7306              0.0.0.0:*                   LISTEN

Last edited by hootjr29; 04-14-2006 at 09:49 AM..
Reply With Quote
  #8 (permalink)  
Old 04-14-2006, 09:56 AM
Zimbra Employee
 
Posts: 4,792
Default

Maybe a timing issue and it tried to access MySQL before it came up. You can try to re-run the upgrade.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #9 (permalink)  
Old 04-14-2006, 10:05 AM
Active Member
 
Posts: 35
Default

sure... I'm rerunning the install..sh right now. I should mention that I saw this when rerunning it. I'm assuming that this is something that will probably change in future releases:
Code:
The system will be modified.  Continue? [N] Y

Shutting down zimbra mail

Backing up ldap

/opt/zimbra/conf/slapd.conf: line 66: "attr" is deprecated (and undocumented); use "attrs" instead.
/opt/zimbra/conf/slapd.conf: line 73: "attr" is deprecated (and undocumented); use "attrs" instead.
/opt/zimbra/conf/slapd.conf: line 87: "attr" is deprecated (and undocumented); use "attrs" instead.
bdb_db_open: Warning - No DB_CONFIG file found in directory /opt/zimbra/openldap-data: (2)
Expect poor performance for suffix .
<= entry_decode: slap_str2undef_ad(e): AttributeDescription contains inappropriate characters
# no data for entry id=01000000
Reply With Quote
  #10 (permalink)  
Old 04-14-2006, 10:06 AM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by hootjr29
sure... I'm rerunning the install..sh right now. I should mention that I saw this when rerunning it. I'm assuming that this is something that will probably change in future releases:
Code:
The system will be modified.  Continue? [N] Y

Shutting down zimbra mail

Backing up ldap

/opt/zimbra/conf/slapd.conf: line 66: "attr" is deprecated (and undocumented); use "attrs" instead.
/opt/zimbra/conf/slapd.conf: line 73: "attr" is deprecated (and undocumented); use "attrs" instead.
/opt/zimbra/conf/slapd.conf: line 87: "attr" is deprecated (and undocumented); use "attrs" instead.
bdb_db_open: Warning - No DB_CONFIG file found in directory /opt/zimbra/openldap-data: (2)
Expect poor performance for suffix .
<= entry_decode: slap_str2undef_ad(e): AttributeDescription contains inappropriate characters
# no data for entry id=01000000
Please file this as a bug.
__________________
Bugzilla - Wiki - Downloads - Offline Client
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.