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 02-12-2010, 01:58 AM
Beginner Member
 
Posts: 2
Default Installation of ZCS 6.0.5 Open Source on Debian 5 AMD64: LDAP failure

Hello people!

I'm trying to install Zimbra on a brand new installed Debian Squeeze AMD64 with 3GB RAM. This setup is intended to be an INTRANET test suite of zimbra, so everything is in the local private address space. (later on their might be switched to the network edition in real world address space)

Problems i've encountered and tried to solve myself:
- Perl version is 10.1 and the installer demanded 10.0
- libstdc++5 package doesn't exist in this debian version, libstc++5.so is in the package ia32-libs which is installed
(I've changed both in utilfunc.sh to the actual values)

This way i've got past the installation requirements test and the installation can start. But it hangs on the "create server entry" for LDAP.

Code:
Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                                    Enabled                       
   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] y
Save config in file: [/opt/zimbra/config.31902] 
Saving config in /opt/zimbra/config.31902...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.02112010-232432.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing LDAP SSL certificate...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for ba.wieze.lan...failed.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting TimeZone Preference...failed.
Setting services on ba.wieze.lan...done.
Creating domain ba.wieze.lan...failed.
Setting default domain name...failed.
Setting up syslog.conf...done.
More information:
Quote:
ba:~# host `hostname`
ba.wieze.lan has address 192.168.1.180
ba.wieze.lan mail is handled by 10 ba.wieze.lan.
Code:
ba:~# dig ba.wieze.lan any

; <<>> DiG 9.6.1-P3 <<>> ba.wieze.lan any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41023
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;ba.wieze.lan.			IN	ANY

;; ANSWER SECTION:
ba.wieze.lan.		86400	IN	A	192.168.1.180
ba.wieze.lan.		86400	IN	MX	10 ba.wieze.lan.

;; AUTHORITY SECTION:
wieze.lan.		86400	IN	NS	stockwell.wieze.lan.

;; ADDITIONAL SECTION:
stockwell.wieze.lan.	86400	IN	A	192.168.1.1

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Feb 12 09:35:51 2010
;; MSG SIZE  rcvd: 102

ba:~#
Quote:
ba:~# cat /etc/hostname
ba
ba:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.180 ba.wieze.lan ba
ba:~# cat /etc/resolv.conf
nameserver 192.168.1.1
domain wieze.lan
search wieze.lan
ba:~#
After installation failed, the LDAP server is listening:
Quote:
ba:~# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 ba.wieze.lan:ldap *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 *:bootpc *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 80905 /opt/zimbra/openldap-2.4.21.3z/var/run/ldapi
ba:~#
- sh is linked with bash, not with dash.
- /jre is linked with the zimbra jre

a little test of my own:
Quote:
zimbra@ba:~/bin$ ./zmprov -m -l cs ba.wieze.lan
ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException ba.wieze.lan:389)
zimbra@ba:~/bin$
Does anybody recognize this problem? Do you know what I should do?

If you need any more information, just ask me!

Kind Regards
Reply With Quote
  #2 (permalink)  
Old 02-12-2010, 05:10 AM
Zimbra Consultant & Moderator
 
Posts: 19,617
Default

Quote:
Originally Posted by Syprer View Post
Problems i've encountered and tried to solve myself:
- Perl version is 10.1 and the installer demanded 10.0
- libstdc++5 package doesn't exist in this debian version, libstc++5.so is in the package ia32-libs which is installed
(I've changed both in utilfunc.sh to the actual values)
That's not a supported platform and your change may not work, I'd suggest you use the version of Debian that ZImbra is built for.

The dig command should be using the domain name and not the FQDN of the server and should be as follows:

Code:
dig wieze.lan any
You therefore need to fix your DNS A & MX records to reflect that.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-12-2010, 06:10 AM
Beginner Member
 
Posts: 2
Default

is libstdc++5.so still used?

This is the output of dig:

Quote:
zimbra@ba:~/bin$ dig wieze.lan any

; <<>> DiG 9.6.1-P3 <<>> wieze.lan any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63614
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;wieze.lan. IN ANY

;; ANSWER SECTION:
wieze.lan. 86400 IN SOA stockwell.wieze.lan. jan.lan. 13 3600 900 604800 3600
wieze.lan. 86400 IN NS stockwell.wieze.lan.
wieze.lan. 86400 IN MX 10 ba.wieze.lan.

;; ADDITIONAL SECTION:
stockwell.wieze.lan. 86400 IN A 192.168.1.1
ba.wieze.lan. 86400 IN A 192.168.1.180

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Feb 12 14:09:35 2010
;; MSG SIZE rcvd: 142

zimbra@ba:~/bin$
Reply With Quote
  #4 (permalink)  
Old 05-11-2010, 08:31 PM
Member
 
Posts: 14
Default I found the solution!

The problem (I don't know exactly why) is that Java uses IPv6. If you disable IPv6 in sysctl (sysctl -p net.ipv6.conf.all.disable_ipv6=1) BEFORE Zimbra install, everything works.
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.