Results 1 to 7 of 7

Thread: Install CentOs 5 or Fedora 8 Problem

  1. #1
    romsworld is offline Junior Member
    Join Date
    Feb 2008
    Posts
    5
    Rep Power
    7

    Default Install CentOs 5 or Fedora 8 Problem

    Hi,

    I would like to install Zimbra 5 on CentOs 5.1 or Fedora Core 8.

    I have an error on the last step :

    *** 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.12148]
    Saving config in /opt/zimbra/config.12148...done.
    The system will be modified - continue? [No] y
    Operations logged to /tmp/zmsetup.02122008-125701.log
    Setting local config values...done.
    Setting up CA...done.
    Creating SSL certificate...done.
    Initializing ldap...failed. (5632)


    ERROR



    Configuration failed

    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.

    Errors have been logged to /tmp/zmsetup.02122008-125701.log
    So the log here :

    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    Initializing ldap...
    *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    IO::Socket::INET: Bad hostname 'example.com' at /opt/zimbra/libexec/zmldapinit line 160.
    failed. (5632)


    ERROR



    Configuration failed

    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.
    On the forum, I have found this line to test sldap with the zimbra user :

    /opt/zimbra/openldap/libexec/slapd -d -1 -f /opt/zimbra/conf/slapd.conf -u zimbra
    Here the output :

    [zimbra@test ~]$ /opt/zimbra/openldap/libexec/slapd -d -1 -f /opt/zimbra/conf/slapd.conf -u zimbra
    @(#) $OpenLDAP: slapd 2.3.40 (Jan 22 2008 14:44:40) $
    build@build10.re.zimbra.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.3.40.7z/servers/slapd
    daemon_init:
    daemon_init: listen on ldap:///
    daemon_init: 1 listeners to open...
    ldap_url_parse_ext(ldap:///)
    daemon: bind(7) failed errno=13 (Permission denied)
    daemon: bind(7) failed errno=13 (Permission denied)
    slap_open_listener: failed on ldap:///
    slapd stopped.
    connections_destroy: nothing to destroy.

    Someone at the facility to install Zimbra on Centos or Fedora ?

    Thankls

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

    Default

    You don't say which operating system you were trying to install Zimbra on when you received those errors. It works perfectly well on CentOS5, there's a How-To for CentOS5 if you search the forums. There are also several threads that cover that error.

    Do you have correctly configured /etc/hosts file and DNS A & MX records? If you are behind a NAT router do you have a Split DNS set-up?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    romsworld is offline Junior Member
    Join Date
    Feb 2008
    Posts
    5
    Rep Power
    7

    Default

    Yes I have read all topics with this errors, and checks differents solutions, but nothing !

    My Hosts file :

    [root@test ~]# more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    #127.0.0.1 test.kleegroup.com test localhost.localdomain localhost
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    For DNS, it's ok, i have used the SplitDNS, and nslookup is ok :

    root@test ~]# nslookup test.example.com
    Server: 172.20.1.70
    Address: 172.20.1.70#53

    Name: test.example.com
    Address: 172.20.1.70

    So...

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Well, the first thing to mention is that your /etc/hosts file is incorrect. Check the documentation for the correct format.

    Once you've corrected that, the correct tests for you to run would be these (run on the zimbra server):

    Code:
    host `hostname`  <-- type as-is with backticks not single quotes
    dig yourdomain.com mx
    dig yourdomain.com any
    use your domain name in the dig command (not the fqdn or your server) and post the exact output here.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    romsworld is offline Junior Member
    Join Date
    Feb 2008
    Posts
    5
    Rep Power
    7

    Default

    ok

    So my new etc/hosts :

    [root@test conf]# more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    #127.0.0.1 test.kleegroup.com test localhost.localdomain localhost
    127.0.0.1 localhost.localdomain localhost
    172.20.1.70 test.example.com
    And the other command :

    [root@test conf]# host `hostname`
    test.example.com has address 172.20.1.70

    [root@test conf]# dig example.com mx

    ; <<>> DiG 9.3.3rc2 <<>> example.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59792
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

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

    ;; ANSWER SECTION:
    example.com. 2592000 IN MX 10 test.example.com.

    ;; AUTHORITY SECTION:
    example.com. 2592000 IN NS 172.20.1.70.example.com.

    ;; ADDITIONAL SECTION:
    test.example.com. 2592000 IN A 172.20.1.70

    ;; Query time: 1 msec
    ;; SERVER: 172.20.1.70#53(172.20.1.70)
    ;; WHEN: Tue Feb 12 15:44:14 2008
    ;; MSG SIZE rcvd: 92

    [root@test conf]# dig example.com any

    ; <<>> DiG 9.3.3rc2 <<>> example.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13959
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

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

    ;; ANSWER SECTION:
    example.com. 2592000 IN MX 10 test.example.com.
    example.com. 2592000 IN SOA test.example.com. hostmaster.example.com. 10118 43200 3600 3600000 2592000
    example.com. 2592000 IN NS 172.20.1.70.example.com.

    ;; ADDITIONAL SECTION:
    test.example.com. 2592000 IN A 172.20.1.70

    ;; Query time: 1 msec
    ;; SERVER: 172.20.1.70#53(172.20.1.70)
    ;; WHEN: Tue Feb 12 15:44:41 2008
    ;; MSG SIZE rcvd: 139

    Thanks for your help !

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Your hosts file is still incorrect, it should be in this format:

    Code:
    172.20.1.70     test.example.com  test
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    romsworld is offline Junior Member
    Join Date
    Feb 2008
    Posts
    5
    Rep Power
    7

    Default

    Ok,

    I found my error, the hosts file is not correct

    172.20.1.70 test.example.com is not correct


    THe correct file is :

    172.20.1.70 test.example.com example.com

    Thanks a lot for your help !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 02-23-2014, 01:08 PM
  2. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  3. Zimbra can't install on Fedora core 6 and FC 4
    By Grejao in forum Installation
    Replies: 3
    Last Post: 04-27-2007, 07:19 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Zimbra startup hangs after install CentOS 4.2
    By eger in forum Installation
    Replies: 4
    Last Post: 02-10-2006, 11:08 PM

Posting Permissions

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