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 07-15-2008, 04:23 PM
New Member
 
Posts: 4
Default libnss-ldap prevents zimbra from working

Hey

I've done an install using the posixUserAccount admin extension to administrate the system user in zimbra's admin GUI. I've done this several times for remote machines, but now zimbra runs on the same machine where the linux users are needed by ldap/libnss.

Now i get some strange errors - after installing libnss-ldap (debian 4.0) antivir and antispam won't start anymore (it worked before).
Code:
zmamavisdctl start
/usr/bin/perl: symbol lookup error: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/DB_File/DB_File.so: undefined symbol: db_version
i had no idea what to do, so i removed /etc/libnss-ldap.conf and got a new error:
Code:
zmamavisdctl start
perl: ldap-nss.c:1376: do_init: Assertion `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
/opt/zimbra/bin/zmamavisdctl: line 74:  2711 Aborted                 ${zimbra_home}/amavisd/sbin/amavisd -c ${zimbra_home}/conf/amavisd.conf
from now it was clear that libnss-ldap was the reason ... i removed the package and everything was fine again.

The problem is - I really need the users beeing able to authenticate against ldap on this machine - any ideas?

regards
juergenmw
Reply With Quote
  #2 (permalink)  
Old 07-16-2008, 03:52 AM
New Member
 
Posts: 4
Default

ok, i 've re-checked all settings today - especially for conflicting UIDs (local and ldap ID). I did a new installation of libnss-ldap, restartet zimbra and the problem still remains.
Reply With Quote
  #3 (permalink)  
Old 07-17-2008, 03:48 AM
New Member
 
Posts: 4
Default

any idea to debug this?
Zimbra brings a huge chroot-like environment and I've no idea if/how it's possible to use strace or similar tools
Reply With Quote
  #4 (permalink)  
Old 07-31-2008, 04:53 AM
pmb pmb is offline
Starter Member
 
Posts: 1
Default

When I comment out one ldap search in /etc/nsswitch.conf so it looks like this:
Code:
passwd:         compat ldap
group:          compat ldap
shadow:         compat #ldap
this error disappears.

I have another zimbra installation where nss works just fine w/o any comments. The difference is that on the working installation there are ldap entries in pam config files so I think it might be this.
Reply With Quote
  #5 (permalink)  
Old 05-18-2009, 12:31 AM
Starter Member
 
Posts: 1
Default Change the /opt/zimbra/.bashrc

Add the following to the /opt/zimbra/.bashrc

export LD_LIBRARY_PATH=/opt/zimbra/sleepycat/lib

this should fix it (at least it did it for me)
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.