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 01-25-2009, 01:51 AM
Intermediate Member
 
Posts: 22
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
Reply With Quote
  #2 (permalink)  
Old 01-25-2009, 01:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #3 (permalink)  
Old 01-25-2009, 07:11 PM
Intermediate Member
 
Posts: 22
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
Reply With Quote
  #4 (permalink)  
Old 01-25-2009, 08:48 PM
Trained Alumni
 
Posts: 108
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
Reply With Quote
  #5 (permalink)  
Old 01-25-2009, 09:01 PM
Intermediate Member
 
Posts: 22
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
Reply With Quote
  #6 (permalink)  
Old 01-25-2009, 11:32 PM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #7 (permalink)  
Old 01-25-2009, 11:33 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #8 (permalink)  
Old 01-26-2009, 09:41 AM
Intermediate Member
 
Posts: 22
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 09:47 AM..
Reply With Quote
  #9 (permalink)  
Old 01-26-2009, 09:44 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #10 (permalink)  
Old 01-26-2009, 10:33 AM
Intermediate Member
 
Posts: 22
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!
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.