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-12-2008, 02:40 AM
New Member
 
Posts: 3
Default zmcontrol start - LDAP error

Hi,

I installed zimbra this morning. All was working fine. Create few user and imported few users from exchange 2003. I ran "service zimbra restart" as root and after that zimbra just won't come up. Later i tried logging as "zimbra" account and tried running zmcontrol start from bin directory, but it throws the following error on the console:

[zimbra@mailx2 bin]$ ./zmcontrol start
Host mailx2.gloporeims.com
Starting ldap...Done.
FAILED
Global symbol "$dfilename" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 30.
Global symbol "$dfilename" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 40.
Global symbol "$dfilename" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 42.
Global symbol "$dfilename" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 43.
Global symbol "$dfilename" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 54.
Global symbol "$sr" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 60.
Global symbol "$sr" requires explicit package name at /opt/zimbra/libexec/zmconfigure line 62.
Execution of /opt/zimbra/libexec/zmconfigure aborted due to compilation errors.
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
Failed to start slapd. Attempting debug start to determine error.
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header


Environment Details:

Fedora Core 7, Zimbra version - 5.0.10 (Community Edition).

Any pointers to the solution would be of great help.

Thanks,
Sunil
Reply With Quote
  #2 (permalink)  
Old 11-12-2008, 02:59 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Most LDAP start issues are down to DNS settings to lets check them first. Please post
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig gloporeims.com mx
dig gloporeims.com any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #3 (permalink)  
Old 11-12-2008, 03:06 AM
New Member
 
Posts: 3
Default

Hosts File:

[root@mailx2 ~]# cat /etc/hosts
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost localhost.localdomain localhost
192.168.100.11          mailx2.gloporeims.com mailx2
Resolv.conf:

[root@mailx2 ~]# cat /etc/resolv.conf
Code:
search gloporeims.com
nameserver 192.168.100.7

[root@mailx2 ~]# dig gloporeims.com mx
Code:
; <<>> DiG 9.4.2 <<>> gloporeims.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29365
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;gloporeims.com.                        IN      MX

;; ANSWER SECTION:
gloporeims.com.         3600    IN      MX      10 mailx.gloporeims.com.

;; ADDITIONAL SECTION:
mailx.gloporeims.com.   3600    IN      A       192.168.1.11

;; Query time: 1 msec
;; SERVER: 192.168.100.7#53(192.168.100.7)
;; WHEN: Wed Nov 12 17:04:59 2008
;; MSG SIZE  rcvd: 70
[root@mailx2 ~]# dig gloporeims.com any

Code:
; <<>> DiG 9.4.2 <<>> gloporeims.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2696
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;gloporeims.com.                        IN      ANY

;; ANSWER SECTION:
gloporeims.com.         600     IN      A       192.168.100.7
gloporeims.com.         600     IN      A       192.168.1.7
gloporeims.com.         3600    IN      NS      exchangeblr1.gloporeims.com.
gloporeims.com.         3600    IN      NS      exchange.gloporeims.com.
gloporeims.com.         3600    IN      SOA     exchangeblr1.gloporeims.com. hostmaster. 4674 900 600 86400 3600
gloporeims.com.         3600    IN      MX      10 mailx.gloporeims.com.

;; ADDITIONAL SECTION:
exchangeblr1.gloporeims.com. 3600 IN    A       192.168.100.7
exchange.gloporeims.com. 3600   IN      A       192.168.1.7
mailx.gloporeims.com.   3600    IN      A       192.168.1.11

;; Query time: 0 msec
;; SERVER: 192.168.100.7#53(192.168.100.7)
;; WHEN: Wed Nov 12 17:04:59 2008
;; MSG SIZE  rcvd: 230
[root@mailx2 ~]# host `hostname`
Code:
mailx2.gloporeims.com has address 192.168.100.11

Last edited by phoenix; 11-12-2008 at 11:39 PM..
Reply With Quote
  #4 (permalink)  
Old 11-12-2008, 03:14 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmcontrol -v
uname -a
__________________
Reply With Quote
  #5 (permalink)  
Old 11-12-2008, 07:44 PM
New Member
 
Posts: 3
Default

[root@mailx2 ~]# su - zimbra

[zimbra@mailx2 ~]$ zmcontrol -v


Release 5.0.10_GA_2638.F7_20081003060853 F7

[zimbra@mailx2 ~]$ uname -a

Linux mailx2 2.6.20-2925.9.fc7xen #1 SMP Tue May 22 08:53:03 EDT 2007 i686 i686 i386 GNU/Linux
Reply With Quote
  #6 (permalink)  
Old 11-12-2008, 11:44 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

According to the hosts file you've posted above the IP address of your server is different to the DNS A record address.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-12-2008, 11:47 PM
Moderator
 
Posts: 7,928
Default

Bill, the error message is a bit worrying though
Quote:
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: /opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8: invalid ELF header
that may be due to how FC7 is playing in a virtual environment as from the uname it would appear that it is running under Xen. What version of Xen is being used ?
__________________
Reply With Quote
  #8 (permalink)  
Old 11-13-2008, 12:32 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Connection refused at /opt/zimbra/libexec/zmldapinit$
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 11-13-2008, 12:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by sunilp.rao View Post
I ran "service zimbra restart" as root and after that zimbra just won't come up. Later i tried logging as "zimbra" account and tried running zmcontrol start from bin directory....
There's also this comment in the original description. You need to run 'zmcontrol start' or 'zmcontrol stop' as the Zimbra user i.e.

Code:
su - zimbra
zmcontrol start
You should now run 'zmfixperms -v' as the root user then try starting Zimbra again.
__________________
Regards


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