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 08-27-2006, 07:40 PM
Junior Member
 
Posts: 6
Default Installation on debian

Hi,

I am trying to install Zimbra on Debian/Testing however it seems that the ldap installation isn't taking.

I had to make a couple of modifications to the installation to get it to install however were trivial.

In bin/get_plat_tag.sh
grep "testing/unstable" /etc/debian_version > /dev/null 2>&1
if [ $? = 0 ]; then
echo "DEBIAN3.1"
exit 0
fi

util/packages/packeges.sh:
$PACKAGEINST --ignore-depends=libgmp3 $file >> $LOGFILE 2>&1
Debian/testing has a later library libgmpxx3

Any help appreciated.

Thanks

Grahame Jordan

Here are the final stages of the install

Password for ldap server (min 6 characters): zimbra

Main menu

1) Hostname: ob1.theforce.com.au
2) Ldap master host: ob1.theforce.com.au
3) Ldap port: 389
4) Ldap password: set
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.7989]
Saving config in /opt/zimbra/config.7989...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.7989
Setting local config values...Done
Setting up CA...Done
Fetching CA from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException ob1.theforce.com.au:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException ob1.theforce.com.au:389)
Done
Creating server entry for ob1.theforce.com.au...Done
Setting services on ob1.theforce.com.au...Done
Setting up zimbra crontab...Done
Setting up syslog.conf...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException ob1.theforce.com.au:389)
Done

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (4.0.0_RC1_272_UNKNOWN)
The ADMIN EMAIL ADDRESS created (admin@theforce.com.au)

Notify Zimbra of your installation? [Yes] no
Notification skipped
Starting servers...Done.


Operations logged to /tmp/zmsetup.log.7989


Configuration complete - press return to exit
Reply With Quote
  #2 (permalink)  
Old 08-28-2006, 01:35 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

hi, i suspect this is because openldap that comes with zimbra is linked against openssl0.9.7, whereas unstable/testing has 0.9.8. thus slapd tls fails and the rest of the install cant talk to slapd. one fix is to do this, but you gotta be quick, or hope you have a slow box!:

install, wait until it starts installing the packages. keep an eye out on /opt/zimbra/openldap/etc/openldap, as soon as it exists edit this file: /opt/zimbra/openldap/etc/openldap/slapd.conf and comment out the TLS lines at the bottom. if you do this in time, the install should then go smoothly!
Reply With Quote
  #3 (permalink)  
Old 08-28-2006, 04:27 AM
Junior Member
 
Posts: 6
Default

Tried that with a script.
while true; do if [ -e /opt/zimbra/openldap/etc/openldap/slapd.conf ]; then cd /opt/zimbra/openldap/etc/openldap/; mv slapd.conf slapd.conf.tmp; sed -e 's/^TLS/#TLS/g' slapd.conf.tmp > slapd.conf; echo "DONE"; break; fi; done

Still the same:
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Saving config in /opt/zimbra/config.27980...Done
Operations logged to /tmp/zmsetup.log.27980
Setting local config values...Done
Fetching CA from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException ob1.theforce.com.au:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException ob1.theforce.com.au:389)
Done
Creating server entry for ob1.theforce.com.au...Done
Setting services on ob1.theforce.com.au...Done
Setting up zimbra crontab...Done
Setting up syslog.conf...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException ob1.theforce.com.au:389)
Done
Reply With Quote
  #4 (permalink)  
Old 08-28-2006, 05:07 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

so if you look at /opt/zimbra/conf/slapd.conf.in and /opt/zimbra/conf/slapd.conf, have these lines been commented out?
Reply With Quote
  #5 (permalink)  
Old 08-28-2006, 04:05 PM
Junior Member
 
Posts: 6
Default

Yes.
This must happen fairly early after the file becomes available because the script is in a tight loop.
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.