Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Centos 5.2 Issues

  1. #1
    jerkykid is offline Intermediate Member
    Join Date
    Jan 2009
    Location
    Minnesota
    Posts
    22
    Rep Power
    6

    Default Centos 5.2 Issues

    I am trying to install zimbra on my server and I keep getting an ldap error. Has anyone run into this, any advice to give? Here is my error log...


    Thanks Everyone


    Sun Jan 25 03:44:00 2009 Operations logged to /tmp/zmsetup.01252009-034344.log
    Sun Jan 25 03:44:00 2009 checking isEnabled zimbra-ldap
    Sun Jan 25 03:44:00 2009 zimbra-ldap is enabled
    Sun Jan 25 03:44:00 2009 Initializing ldap...
    Sun Jan 25 03:44:00 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    IO::Socket::INET: connect: timeout at /opt/zimbra/libexec/zmldapinit line 160.
    Sun Jan 25 03:46:38 2009 failed. (29440)
    Sun Jan 25 03:46:38 2009

    ERROR

    Sun Jan 25 03:46:38 2009

    Configuration failed

    Sun Jan 25 03:46:38 2009 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    Sun Jan 25 03:46:38 2009 complete the configuration.
    Sun Jan 25 03:46:38 2009
    Errors have been logged to /tmp/zmsetup.01252009-034344.log

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

    Default

    The likelihood is that you don't have valid DNS A & MX records pointing to your Zimbra server. If you're behind a NAT device you'll need a Split DNS set-up. You will also need a correctly set-up /etc/hosts file, check the Quick Start Installation Guide for details.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jerkykid is offline Intermediate Member
    Join Date
    Jan 2009
    Location
    Minnesota
    Posts
    22
    Rep Power
    6

    Default

    Ya, I have read the tutorials about eh maybe 20-30 times both here and at howtoforge. Zimbra Collaboration Suite Open Source Edition On CentOS | HowtoForge - Linux Howtos and Tutorials. Do you guys have any suggestions I have been honestly working on this for about a week or so. I am sure someone else has ran into this before. Any files I should be checking first?


    According to the howtoforge tutorials this should be setup right? This is behind a nat box.


    nslookup mail.*********.com
    Server: 192.168.0.120
    Address: 192.168.0.120#53

    Name: mail.**********.com
    Address: 192.168.0.120


    /etc/hosts

    more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    **.***.**.** mail.**********.com mail
    192.168.0.120



    /etc/resolv.conf
    search **********.com
    nameserver 192.168.0.120


    Anybody see anything wrong here?

    Thanks

  4. #4
    Jesster's Avatar
    Jesster is offline Trained Alumni
    Join Date
    Nov 2007
    Location
    Santa Barbara, CA.
    Posts
    109
    Rep Power
    7

    Default

    Also check to see if SElinux is enabled, I had problems in the beginning related SElinux - which I didn't realize was causing most of our problems.

    Code:
     /etc/selinux/config

    -Jessie

  5. #5
    jerkykid is offline Intermediate Member
    Join Date
    Jan 2009
    Location
    Minnesota
    Posts
    22
    Rep Power
    6

    Default

    Doesnt look like it is.....
    Any other ideas?
    pulling my hair out, lol




    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    # enforcing - SELinux security policy is enforced.
    # permissive - SELinux prints warnings instead of enforcing.
    # disabled - SELinux is fully disabled.
    SELINUX=disabled
    # SELINUXTYPE= type of policy in use. Possible values are:
    # targeted - Only targeted network daemons are protected.
    # strict - Full SELinux protection.
    SELINUXTYPE=targeted

    # SETLOCALDEFS= Check local definition changes
    SETLOCALDEFS=0

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Have you also disabled IPtables ? With respect to your DNS setup please post the output from the following (as your are NAT'ing) you do not need to hide your IP address
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by jerkykid View Post
    Ya, I have read the tutorials about eh maybe 20-30 times both here and at howtoforge.
    Well, the problem is that all you've posted is details of your hosts file and no information about your DNS records. I know you read the forums yesterday and were looking at a thread that asked for debugging output such as the following:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    host `hostname`  <-- use backticks and not single quotes
    dig yourdomain.com mx
    dig yourdomain.com any
    Run those commands on the zimbra server and post the output here (to make it easier to read wrap the output of each command in 'code', highlight the text and hit the # symbol above).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    jerkykid is offline Intermediate Member
    Join Date
    Jan 2009
    Location
    Minnesota
    Posts
    22
    Rep Power
    6

    Default

    Here is my output from host `hostname`


    Code:
    host `hostname`
    mail.**********.com has address 192.168.0.120
    mail.***********.com mail is handled by 10 mail.*********.com.

    Output from dig yourdomain.com mx


    Code:
    dig mail.**********.com mx
    Code:
    ; <<>> DiG 9.3.4-P1 <<>> mail.****************.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11670
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mail.****************.com.     IN      ANY
    
    ;; ANSWER SECTION:
    mail.***************.com. 2592000 IN   SOA     mail.***************.com. hostmaster.mail.*************.com. 10118 43200 3600 3600000 2592000
    mail.************.com. 2592000 IN   NS      192.168.0.120.mail.***********.com.
    mail.*************.com. 2592000 IN   A       192.168.0.120
    mail.*************.com. 2592000 IN   MX      10 mail.**********.com.
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.120#53(192.168.0.120)
    ;; WHEN: Mon Jan 26 11:27:37 2009
    ;; MSG SIZE  rcvd: 150
    Output from /etc/hosts

    Code:
    cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    ::1             localhost6.localdomain6 localhost6
    72.167.82.11            mail.********.com mail
    192.168.0.120
    Output from /etc/resolv.conf

    Code:
    cat /etc/resolv.conf
    search ***********.com
    nameserver 192.168.0.120

    Thanks everyone
    Last edited by phoenix; 01-26-2009 at 10:47 AM.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Your hosts file is incorrect, you need to change the public IP address and replace it with the LAN IP address.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    jerkykid is offline Intermediate Member
    Join Date
    Jan 2009
    Location
    Minnesota
    Posts
    22
    Rep Power
    6

    Default

    That did it thanks sooo much!!!!!!!!

    Uh, well next problem is I have been working on this for so long I have forgot the admin password.

    How can I change this? I tried logging in as root and entering this command

    zxprov sp *******@mail.************.com *****

    but no luck
    any suggestions?

    Thanks again for helping me!

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Imapsync problem executing on centos 5.2
    By nizam.idris in forum Migration
    Replies: 1
    Last Post: 02-09-2009, 08:33 PM
  2. Upgrade to 5.0.10 freezes on CentOS 5.2
    By xistenz in forum Installation
    Replies: 6
    Last Post: 09-27-2008, 05:22 PM
  3. Instalation CentOS 5.2 x64
    By ebelotto in forum Installation
    Replies: 1
    Last Post: 09-13-2008, 11:37 AM
  4. 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
  •