| 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.
|  | | 
09-04-2009, 03:36 AM
| | Intermediate Member | |
Posts: 16
| | [SOLVED] installation failing at slapd Hello there,
ZCS installation failing at slapd....unable to start ldap.
syslog :
daemon: listen(ldap://localhost:389, 5) failed errno=98 (Address already in use)
Install log:
Initializing ldap...failed. (28416)
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.09022009-205619.log
****************************************
After reading wiki,forum I tried following
1. Killing any ldap processes already running
2.Checking permissions for zimbra user
3.2.Starting ldap from its directory as root
4.RUnning zimfixperms from libexec
....
None of this helped me.
I guess my /etc/hosts and DNS configs have caused this issue.
I am trying to install zcs for local use only. Hence created a zone with as 'localhost'.
/etc/bind# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 hostname.sbcglobal.net hostname
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
******cat db.local
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA mail.localhost. root.localhost. (
5 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
@ IN MX 10 mail
@ IN A 127.0.0.1
@ IN AAAA ::1
mail IN A 127.0.0.1
*************************
:/etc/bind# dig localhost
; <<>> DiG 9.5.1-P2 <<>> localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64685
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;localhost. IN A
;; ANSWER SECTION:
localhost. 3600 IN A 127.0.0.1
;; Query time: 8 msec
;; SERVER: 68.94.156.1#53(68.94.156.1)
;; WHEN: Fri Sep 4 02:30:46 2009
;; MSG SIZE rcvd: 43
*****************
/etc/bind# dig localhost MX
; <<>> DiG 9.5.1-P2 <<>> localhost MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28290
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;localhost. IN MX
;; AUTHORITY SECTION:
localhost. 3600 IN SOA localhost. postmaster.localhost. 2004052400 3600 1800 604800 3600
;; Query time: 8 msec
;; SERVER: 68.94.156.1#53(68.94.156.1)
;; WHEN: Fri Sep 4 02:31:26 2009
;; MSG SIZE rcvd: 74
*****************************
is it /etc/hosts? how do I know it is sbcglobal.net or something else?
Is MX record causing this? how do I create a MX record for localhost?
Please help me resolving this issue. Thanks in advance.
Vasa | 
09-04-2009, 03:40 AM
| | | I am guessing scbglobal.net is not your own domain ? If not do you have one you can use ? Your A record and MX should be pointing to your server hostname and IP address 192.168.1.1.
__________________ | 
09-04-2009, 08:30 AM
| | Intermediate Member | |
Posts: 16
| | like in ....? How should my MX record look like?
Yes, sbcglobal.net is not my domain.Its my ISP's name server.
Please let know what should be MX record and 2nd line in /etc/hosts look like?
(I did try many different options ,but none worked...
Thanks in advance.
Vasa | 
09-04-2009, 08:32 AM
| | | IN MX 10
and you do not want to be using your ISPs domain name in your /etc/hosts!
__________________ | 
09-04-2009, 08:48 AM
| | Intermediate Member | |
Posts: 16
| | Thanks uxbod..I appreciate it.
But that did not resolve my issue. Modified /etc/hosts
****************************************
root@vsk:/etc# cat hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 hostname hostname
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
***********************************
changed MX.........
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA mail.localhost. root.localhost. (
6 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
@ IN MX 10
@ IN A 127.0.0.1
@ IN AAAA ::1
mail IN A 127.0.0.1
***************************
incremented the serial no. and restarted the bind9.
Still not able to start slapd
************************************
backend_startup_one: starting ""
bdb_db_open:
bdb_db_open: dbenv_open(/opt/zimbra/openldap-data)
slapd starting
daemon: listen(ldap://localhost:389/, 5) failed errno=98 (Address already in use)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd destroy: freeing system resources.
slapd stopped. | 
09-04-2009, 08:54 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | In the DNS you need to use the LAN IP address of your server not the loopback address. The hosts file should contain the following: Code: 127.0.0.1 localhost.localdomain localhost
192.168.1.1 hostname.yourdomain.com hostname
__________________
Regards
Bill
| 
09-04-2009, 09:06 AM
| | Intermediate Member | |
Posts: 16
| | Thanks Bill , But how do I know my domain?
Earlier I tried using my ISP's like sbcglobal.net but that did not help much.
Please let know,
Thanks,
Vasa | 
09-04-2009, 09:29 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | Quote:
Originally Posted by vasa Thanks Bill , But how do I know my domain?
Earlier I tried using my ISP's like sbcglobal.net but that did not help much. | You need a domain name so that mail will get delivered to your Zimbra server, don't you have one? If you don't then you need to purchase one, you'll also need a domain name set-up on your LAN DNS server - for that you'll need a Split DNS set-up.
__________________
Regards
Bill
| 
09-04-2009, 01:03 PM
| | Intermediate Member | |
Posts: 16
| | what about .local domain? how do I configure that?
Please let know.
Thanks,
Vasa | 
09-04-2009, 01:29 PM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | Quote:
Originally Posted by vasa what about .local domain? how do I configure that? | You use the Split DNS article I mentioned earlier and set-up your local domain with the same name as your external domain name.
__________________
Regards
Bill
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |