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 11-17-2005, 01:40 PM
Advanced Member
 
Posts: 232
Default Cannot start Zimbra M2

This is the error I get when I try and start Zimbra after installing the lates Open Source release:

[root@webmail bin]# service zimbra start
Host webmail.avmax.ca
Starting ldap...Done.
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException webmail.avmax.ca:389)


This is the error I get when I try and start ldap manually as the zimbra user:

[zimbra@webmail bin]$ ldap start
db_recover: Finding last valid log LSN: file: 1 offset 28
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libbind.so.3: cannot open shared object file: No such file or directory

Any ideas?
Reply With Quote
  #2 (permalink)  
Old 11-17-2005, 01:54 PM
Zimbra Employee
 
Posts: 4,792
Default

Your system is out of date. So run yum update (or yum install bind-libs) to bring that up to date.

Last edited by KevinH; 11-17-2005 at 02:07 PM..
Reply With Quote
  #3 (permalink)  
Old 11-17-2005, 02:24 PM
Advanced Member
 
Posts: 232
Default

[zimbra@webmail bin]$ ./zmcontrol start
Host webmail.avmax.ca
Starting ldap...Done.
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException webmail.avmax.ca:389)

OK. I have done that. But I am still getting the message above. I have modifed my /etc/hosts and done the following:

delete /opt/zimbra/openldap-data/* (leave the directory)
Make sure all zimbra processes are stopped
su - root
touch /opt/zimbra/.newinstall (Note the '.' in the filename)
/opt/zimbra/libexec/zmsetup.pl

Still no luck.

I am running Fedora Core 3.

Any more ideas?
Reply With Quote
  #4 (permalink)  
Old 11-17-2005, 03:44 PM
Zimbra Employee
 
Posts: 4,792
Default

Try to start slapd in debug mode. Look at this post for more info:

Upgrade M1 -> M2? .... Yes!!
Reply With Quote
  #5 (permalink)  
Old 11-18-2005, 11:41 AM
Starter Member
 
Posts: 1
Default also getting this LDAP error on FC3

Hello. I tried to follow all of the above steps and the ones in the other post but to no avail (I am still getting the exact same error when I do a 'zmcontrol start'). When i directly run '/opt/zimbra/bin/ldap start' after doing the recovery it gives me:

db_recover: Finding last valid log LSN: file: 1 offset 43437
db_recover: Recovery starting from [1][43296]
db_recover: Recovery complete at Fri Nov 18 11:57:47 2005
db_recover: Maximum transaction ID 80000002 Recovery checkpoint [1][43437]
Started slapd: pid 13220

and it starts ldap, but when i do a '/opt/zimbra/bin/zmcontrol start' it gives me the same error as mentioned earlier.

Any ideas? We are a mid-sized public school district and are really looking forward to being able to test the new functionality and decide if Zimbra is the right solution for us. It's even wierder because the M1 release worked without any problems. Thanks for any help you can provide.
Reply With Quote
  #6 (permalink)  
Old 11-18-2005, 01:09 PM
Zimbra Employee
 
Posts: 4,792
Default

Did you remove iptables? zmiptables -u If you had M1 on the machine then the iptables rules may still be there which we don't use any more.
Reply With Quote
  #7 (permalink)  
Old 11-18-2005, 07:09 PM
Active Member
 
Posts: 33
Default Here's what I got

[root@ns3 ~]# su zimbra
[zimbra@ns3 root]$ su root
Password:
[root@ns3 ~]# zmiptables -u
[root@ns3 ~]# exit
exit
[zimbra@ns3 root]$ exit
exit
[root@ns3 ~]# su zimbra
[zimbra@ns3 root]$ zmcontrol start
Host ns3.xxx.com
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.C ommunicationException ns3.xxx.com:389)
[zimbra@ns3 root]$ ldap start
db_recover: Finding last valid log LSN: file: 1 offset 6080366
db_recover: Recovery starting from [1][6080225]
db_recover: Recovery complete at Fri Nov 18 22:05:53 2005
db_recover: Maximum transaction ID 800002ec Recovery checkpoint [1][6080366]
Started slapd: pid 2546
[zimbra@ns3 root]$ zmcontrol start
Host ns3.interalab-dns.com
Starting antispam...Done.
Starting antivirus...Done.
Starting mailbox...Done.
Starting mta...Done.
Starting spell...Done.
[zimbra@ns3 root]$

Last edited by Billy; 11-18-2005 at 07:10 PM.. Reason: I had the exact error you had and did the following:
Reply With Quote
  #8 (permalink)  
Old 11-18-2005, 07:30 PM
Loyal Member
 
Posts: 96
Default

Congrats!
Reply With Quote
  #9 (permalink)  
Old 11-18-2005, 07:32 PM
Zimbra Employee
 
Posts: 2,103
Default missing key

zmlocalconfig -e ldap_is_master=true will force ldap to start, though the upgrade script should have done that.
Reply With Quote
  #10 (permalink)  
Old 11-18-2005, 09:49 PM
Active Member
 
Posts: 33
Default It took a little more to fix the problem

After it appeared to start, I checked the status and found that antivirus and mta had not actually started. Eventually I found a conflict between the latest libdb-4.3.so and the db.h in sleepycat that was looking for something around version 4.2.52.

I installed compat-db-4.2.52-2.i386.rpm and everything started running.

(thanks to previous post) I also had to force ldap to start on startup with:

zmlocalconfig -e ldap_is_master=true

I'm still checking to see if it is all 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.