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 Display Modes
  #1 (permalink)  
Old 01-04-2008, 07:01 AM
Senior Member
 
Posts: 63
Default [SOLVED] upgrade 4.5.6 > 5.0GA unable to bind to ldap

Hello

I am trying to upgrade a test server to 5.0GA from 4.5.6 (NE) on ubuntu 6.06. The initial install and then restore of the live data went fine, and everything worked as expected (running the test in a vmware guest).

I then ran the 5.0 install.sh as root, and proceeded to upgrade. The process seems to go fine, but then starts giving errors:

Unable to bind to ldap://serveraddy:389 with password PASSWORD:
in the logs

and

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.Authentication... could not scroll back to console output, so dont know how this ends, but its similar to the log message)

It eventually gets to the configuration menu (setting defaults from existing config...) and then has almost no config settings, with the error

Address unconfigured (**) items or correct ldap configuration

Anyone seen this, or have any ideas? Now that the upgrade is half way, I cant go and reset the ldap password. Does it keep the autogenerated ldap password from setup, or is this restored from the backups during a restore (if so, I can just use the live server's password)

Any ideas appreciated!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 07:51 AM
Active Member
 
Posts: 26
Default

Had the same problem, ended up being resolved by a support engineer...
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 07:58 AM
Senior Member
 
Posts: 63
Default

thanks jhill, any idea what they did? spose i might have to use one of those tickets then...
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 08:14 AM
Active Member
 
Posts: 26
Default

Unfortunately, I don't know for sure. They logged in to our server and fixed it.

They sent along this:
"The syntax for zmldappassword has changed for 5.0 (you may have noticed this), though it still wasn't working for the zimbra admin dn, so I set the ldap password manually. I think everything is running ok now. Check it out and let me know if there are still any problems."

At that point, I ran back through /opt/zimbra/libexec/zmsetup.pl, which ran fine. Had a couple issues after that with commercial certs, but the fixes for those have been covered pretty well in the forums.
Reply With Quote
  #5 (permalink)  
Old 01-04-2008, 08:22 AM
Senior Member
 
Posts: 63
Default

Cool, thanks - the ldappasswd was a clue - i reset the ldap password with this, and then killed a straggling slapd process, it seems to be getting further than before now
Reply With Quote
  #6 (permalink)  
Old 01-04-2008, 12:23 PM
Zimbra Employee
 
Posts: 393
Default

Unfortunately, in the 4.5.x release series, it was possible for the password stored in LDAP for the admin user to be incorrect, as it was never actually used. This is because the admin user was also the LDAP rootdn user. 5.0 splits that out so that the rootdn user and the admin user are different. Unforutnately, this is exposing the fact that in some cases, the LDAP database password for the admin user was not set correctly in the past.

--Quanah
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
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