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 10-12-2009, 03:01 AM
Intermediate Member
 
Posts: 18
Default installation error intializing LDAP

i got a error message while installing ZCS 6.0 in FC11

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.13185]
Saving config in /opt/zimbra/config.13185...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.10122009-194453.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...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.10122009-194453.log

error message as follows:
======================

** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
** Saving server config key zimbraSSLPrivateKey...failed.
** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
Mon Oct 12 19:50:04 2009 done.
Mon Oct 12 19:50:04 2009 Installing mailboxd SSL certificates...
Mon Oct 12 19:50:04 2009 *** Running as root user: /opt/zimbra/bin/zmcertmgr deploycrt self
** Saving server config key zimbraSSLCertificate...failed.
** Saving server config key zimbraSSLPrivateKey...failed.
** Installing mta certificate and key...done.
** Installing slapd certificate and key...done.
** Installing proxy certificate and key...done.
** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
** Installing CA to /opt/zimbra/conf/ca...done.
Mon Oct 12 19:50:11 2009 done.
Mon Oct 12 19:50:11 2009 checking isEnabled zimbra-ldap
Mon Oct 12 19:50:11 2009 zimbra-ldap is enabled
Mon Oct 12 19:50:11 2009 Initializing ldap...
Mon Oct 12 19:50:11 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
IO::Socket::INET: Bad hostname 'macet.com' at /opt/zimbra/libexec/zmldapinit line 136.
Mon Oct 12 19:50:51 2009 failed. (5632)
Mon Oct 12 19:50:51 2009

ERROR

Mon Oct 12 19:50:51 2009

Configuration failed

Mon Oct 12 19:50:51 2009 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
Mon Oct 12 19:50:51 2009 complete the configuration.
Mon Oct 12 19:50:51 2009
Errors have been logged to /tmp/zmsetup.10122009-194453.log
================================================== ===============

Please help me out from this issue
Reply With Quote
  #2 (permalink)  
Old 10-12-2009, 03:18 AM
Moderator
 
Posts: 7,911
Default

That is most probable a DNS issue so please post the following
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes (copy 'n' paste)
__________________
Reply With Quote
  #3 (permalink)  
Old 10-13-2009, 01:55 AM
Intermediate Member
 
Posts: 18
Default

Thks for your timely reply uxbod,

[root@mail ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost
192.168.0.202 mail.macet.com mail mail

================================================== ================================================== =============

[root@mail ~]# cat /etc/resolv.conf
# Generated by NetworkManager

# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
You have mail in /var/spool/mail/root

================================================== ================================================== =============

[root@mail ~]dig macet.com mx

; <<>> DiG 9.6.1b1-RedHat-9.6.1-0.3.b1.fc11 <<>> macet.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26702
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

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

;; ANSWER SECTION:
macet.com. 86400 IN MX 10 mail.macet.com.

;; AUTHORITY SECTION:
macet.com. 86400 IN NS mail.macet.com.

;; ADDITIONAL SECTION:
mail.macet.com. 86400 IN A 192.168.0.202

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 13 18:54:39 2009
;; MSG SIZE rcvd: 78

================================================== ================================================== =============

[root@mail ~]# dig macet.com any

; <<>> DiG 9.6.1b1-RedHat-9.6.1-0.3.b1.fc11 <<>> macet.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28999
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
macet.com. 86400 IN SOA macet.com. mail.macet.com. 42 10800 900 604800 86400
macet.com. 86400 IN NS mail.macet.com.
macet.com. 86400 IN MX 10 mail.macet.com.
macet.com. 86400 IN A 192.168.0.202

;; ADDITIONAL SECTION:
mail.macet.com. 86400 IN A 192.168.0.202

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 13 18:54:15 2009
;; MSG SIZE rcvd: 130

================================================== ================================================== =============

[root@mail ~]# host "macet.com"
macet.com has address 192.168.0.202
macet.com mail is handled by 10 mail.macet.com.

================================================== ================================================== ============

[root@mail ~]# nslookup mail.macet.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: mail.macet.com
Address: 192.168.0.202

[root@mail ~]# nslookup macet.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: macet.com
Address: 192.168.0.202

Last edited by alad_macet; 10-13-2009 at 02:01 AM.. Reason: s
Reply With Quote
  #4 (permalink)  
Old 10-13-2009, 02:02 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Your /etc/resolv.conf should have the IP address of LAN DNS server and the additional command you should have run is this:

Code:
host `hostname` <- note backticks and not single quotes (copy 'n' paste)
exactly as you see it there or copy/paste it.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 10-13-2009, 02:37 AM
Intermediate Member
 
Posts: 18
Default

after changing the reslove.conf file Zimbra got installed. Thanks for your help but i still i am facing some errors.

Configuration complete - press return to exit


You have mail in /var/spool/mail/root
[root@mail zcs-6.0.1_GA_1816.F11.20090911184139]# cd /
[root@mail /]# su - zimbra
trying to create local folder /opt/zimbra/.kde: Permission denied
[zimbra@mail ~]$ zmcontrol status
Host mail.macet.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
spell Stopped
zmapachectl is not running
stats Running

zmapachectl is not running,
Reply With Quote
  #6 (permalink)  
Old 10-13-2009, 03:27 AM
Moderator
 
Posts: 7,911
Default

Please check /var/log/zimbra.log and /opt/zimbra/log for any error messages.
__________________
Reply With Quote
  #7 (permalink)  
Old 10-13-2009, 08:17 AM
Intermediate Member
 
Posts: 18
Default

i hav doubt, can anybody clear it out
1)can i use the my zimbra mailserver behind a squid proxy.

2)can i send mails to gmail and yahoo from my local domain through zimbra mailserver without a public ip.
Reply With Quote
  #8 (permalink)  
Old 10-14-2009, 06:56 AM
Intermediate Member
 
Posts: 18
Default

can anybody clear my doubt please
Reply With Quote
  #9 (permalink)  
Old 10-14-2009, 08:30 AM
Moderator
 
Posts: 7,911
Default

Quote:
Originally Posted by alad_macet View Post
i hav doubt, can anybody clear it out
1)can i use the my zimbra mailserver behind a squid proxy.
Do not see any reason why not.

Quote:
Originally Posted by alad_macet View Post
2)can i send mails to gmail and yahoo from my local domain through zimbra mailserver without a public ip.
You would be better using your upstream ISPs SMTP relay server as they should have a reverse DNS entry in place.
__________________
Reply With Quote
  #10 (permalink)  
Old 10-14-2009, 09:59 AM
Intermediate Member
 
Posts: 18
Default

uxbod thankz for your reply,

first how can i find the ip add or the domain name of my isp's Smtp relay server. how can i use them, can u guide me through this process please.
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.