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-2008, 05:32 AM
Junior Member
 
Posts: 5
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 :

Quote:
*** 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 :

Quote:
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 :

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

Quote:
[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
Reply With Quote
  #2 (permalink)  
Old 02-12-2008, 05:39 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #3 (permalink)  
Old 02-12-2008, 06:16 AM
Junior Member
 
Posts: 5
Default

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

My Hosts file :

Quote:
[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 :

Quote:
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...
Reply With Quote
  #4 (permalink)  
Old 02-12-2008, 06:26 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #5 (permalink)  
Old 02-12-2008, 06:45 AM
Junior Member
 
Posts: 5
Default

ok

So my new etc/hosts :

Quote:
[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 :

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

Quote:
[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

Quote:
[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 !
Reply With Quote
  #6 (permalink)  
Old 02-12-2008, 06:56 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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

Code:
172.20.1.70     test.example.com  test
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 02-12-2008, 06:58 AM
Junior Member
 
Posts: 5
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 !
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.