Results 1 to 4 of 4

Thread: Installation of ZCS 6.0.5 Open Source on Debian 5 AMD64: LDAP failure

  1. #1
    Syprer is offline Beginner Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    5

    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:
    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:~#
    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:
    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:
    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

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Syprer is offline Beginner Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    5

    Default

    is libstdc++5.so still used?

    This is the output of dig:

    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$

  4. #4
    diegows is offline Member
    Join Date
    Feb 2010
    Posts
    14
    Rep Power
    5

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  2. ldap error while restoring open zcs
    By bluebriarrose in forum Administrators
    Replies: 7
    Last Post: 08-13-2009, 11:18 PM
  3. Replies: 3
    Last Post: 02-27-2009, 11:01 PM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  5. m2 open source installation does not include servers
    By mcgaffin in forum Installation
    Replies: 5
    Last Post: 11-17-2005, 09:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •