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 (1) Thread Tools Display Modes
  #21 (permalink)  
Old 03-08-2007, 01:46 AM
Active Member
 
Posts: 36
Default blow-by-blow accounts

Quote:
Originally Posted by jholder View Post
Try this as root:
iptables -t nat -F
I did this. I tried opening another console while running the installation script, it seems that when the installer shuts down the zimbra mail, the ldap service was also stopped because i cant telnet to port 389 anymore. I assume it's normal since it'll upgrade my ldap package.

I also encountered the following error at this point
Code:
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
When it started migrating/upgrading the DB schema, I tried but still cant connect to LDAP. I assume ldap service wasnt started still at this point...

DB schema successfully updated to version 32, still no ldap..

Indexes creation seems to run smoothly...

When it came to this point:
Code:
Thu Mar  8 08:45:31 2007: Stopping logger mysql
Thu Mar  8 08:45:48 2007: Checking ldap status
Thu Mar  8 08:45:50 2007: Starting ldap
Thu Mar  8 08:45:57 2007: Checking 3.0.M1
Thu Mar  8 08:45:57 2007: Checking 3.0.0_M2
Thu Mar  8 08:45:57 2007: Checking 3.0.0_M3
Thu Mar  8 08:45:57 2007: Checking 3.0.0_M4
Thu Mar  8 08:45:57 2007: Checking 3.0.0_GA
Thu Mar  8 08:45:57 2007: Checking 3.0.1_GA
Thu Mar  8 08:45:57 2007: Updating from 3.0.1_GA
ERROR: service.FAILURE (system failure: unable to get config) (cause: javax.naming.NamingException [LDAP: error code 80 - internal error])
ERROR: service.FAILURE (system failure: unable to get config) (cause: javax.naming.NamingException [LDAP: error code 80 - internal error])
Thu Mar  8 08:46:10 2007: Checking 3.1.0_GA
Thu Mar  8 08:46:10 2007: Updating from 3.1.0_GA
I tried to connect to ldap and got this:
Code:
 telnet stiimail.stii.dost.gov.ph 389
Trying 202.90.141.143...
Connected to stiimail.stii.dost.gov.ph (202.90.141.143).
Escape character is '^]'.
LDAP is up and running. Why am i having errors?

Last edited by dealt : 03-08-2007 at 01:48 AM. Reason: redundant content
Reply With Quote
  #22 (permalink)  
Old 03-08-2007, 01:55 AM
Active Member
 
Posts: 36
Default

Does zimbra ldap save logs?
Reply With Quote
  #23 (permalink)  
Old 03-08-2007, 01:59 AM
Active Member
 
Posts: 36
Default

Isnt it caused by an authentication problem in LDAP? Is it possible that after the upgrade it cant understand the ldap user account used by Zimbra? Possible Encryption issue? I dont know. I'm just trying my luck. Anyone?
Reply With Quote
  #24 (permalink)  
Old 03-11-2007, 08:21 AM
Intermediate Member
 
Posts: 22
Default

........ started as same error ... by the time I posted and re-run it ... got the new index issue.

Last edited by skrewloose : 03-11-2007 at 04:40 PM.
Reply With Quote
  #25 (permalink)  
Old 03-11-2007, 03:13 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

We really have two seperate issues here.
Delt, sorry I didn't reply. I've been very busy. Do you have a backup? If so, the best bet is to restore.
Your LDAP is messed up, and you're gonna have to use slapcat to dump your LDAP db (using the old pre-upgrade binaries, and then import them using the new ones-I'm gonna try and write a tutorial on how to do this for the wiki).

Skrewloose- Your issue is different. You need to have a look at your /opt/zimbra/conf/my.cnf. You might not have have enough buffer space. The error is caused during the creation of foreign constraints. Do a forums search on that, as it's a common problem. If you have further issues, can you start a different thread? Thanks.

Good luck,
john
Reply With Quote
  #26 (permalink)  
Old 03-11-2007, 11:35 PM
Active Member
 
Posts: 36
Default

Quote:
Originally Posted by jholder View Post
We really have two seperate issues here.
Delt, sorry I didn't reply. I've been very busy. Do you have a backup? If so, the best bet is to restore.
Your LDAP is messed up, and you're gonna have to use slapcat to dump your LDAP db (using the old pre-upgrade binaries, and then import them using the new ones-I'm gonna try and write a tutorial on how to do this for the wiki).

Skrewloose- Your issue is different. You need to have a look at your /opt/zimbra/conf/my.cnf. You might not have have enough buffer space. The error is caused during the creation of foreign constraints. Do a forums search on that, as it's a common problem. If you have further issues, can you start a different thread? Thanks.

Good luck,
john
Hi John. Glad to hear from you again. Yep it's ok. I have restored my backup already. I'll try to figure out how to dump my LDAP db. Do I need to have 2 installation setup (my current and fresh install 4.5.3) then import the LDAP db dump? Or I can just proceed with the upgrade, disregard LDAP failure then just do import? Thanks!
Reply With Quote
  #27 (permalink)  
Old 03-11-2007, 11:51 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

You can upgrade and then import, but keep in mind you must export using your OLD binaries, and import using your NEW binaries.
Reply With Quote
  #28 (permalink)  
Old 03-12-2007, 12:00 AM
Active Member
 
Posts: 36
Default

Quote:
Originally Posted by jholder View Post
You can upgrade and then import, but keep in mind you must export using your OLD binaries, and import using your NEW binaries.
Hi! I think I've got my LDAP db dump file now (created via slapcat -l dump.ldif using old binaries) how do I import the ldif file? I'm looking at slapadd now. Is this correct?
Reply With Quote
  #29 (permalink)  
Old 03-12-2007, 12:08 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Should be
slapadd -l dump.ldiff
or
slapadd -v -l dump.ldiff


Goin to bed now. Phoenix or Klug should be online soon if you need help tonight.

-john
Reply With Quote
  #30 (permalink)  
Old 03-12-2007, 02:41 AM
Active Member
 
Posts: 36
Default

Quote:
Originally Posted by jholder View Post
Should be
slapadd -l dump.ldiff
or
slapadd -v -l dump.ldiff


Goin to bed now. Phoenix or Klug should be online soon if you need help tonight.

-john
Here's what I did:

After the upgrade, tried importing the ldif file via "slapadd -v -l dump.ldif" as zimbra but failed because of an error in configuration file, pointing to line 105. Checked /opt/zimbra/openldap-x.x.x.x/etc/openldap/slapd.conf and found the "loglevel" entry set with "@@some_variable_here@@". Changed it to zero

Tried "slapadd -v -l dump.ldif" again, encountered another error about the database being open. Stopped ldap, ran slapadd again, encountered another error because "cn=zimbra" (and other) entries already exist, "slapadd -v -c -l dump.ldif" to continue parsing the dump file, read and imported the user accounts.

Tried starting zimbra services, "zmcontrol start", but it only starts the ldap (since upgrading doesnt properly configured the other services) Tried upgrading again (install.sh). Ended up with the same errors.

Restoring backup again...
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0