Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 07-22-2011, 11:47 PM
Member
 
Posts: 12
Default Zimbra services wont start.

I apologized if this is a repeat issue but i searched everywhere for 5 days now with no luck. It wont even start the services. I changed the domain name and I followed the steps at wiki set server name. This is what i get when i do zmcontrol start.

[zimbra@zimbratest ~]$ zmcontrol restart
Host zimbratest.calltekcenter.com
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping imapproxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping zmconfigd...Done.
Stopping ldap...Done.
Host zimbratest.calltekcenter.com
Starting ldap...Done.
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.



#################
[zimbra@zimbratest ~]$ 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
172.20.106.29 zimbratest.calltekcenter.com zimbratest

#################

[root@zimbratest ~]# vi /etc/resolv.conf
; generated by /sbin/dhclient-script
search calltekcenter.com
nameserver 172.20.1.59
nameserver 172.20.1.1

#################

[root@zimbratest ~]# hostname
zimbratest.calltekcenter.com

#################

[root@zimbratest ~]# tail -f /var/log/zimbra.log

Jul 23 22:42:33 zimbratest zimbramon[8852]: 8852:info: Starting services initiated by zmcontrol
Jul 23 22:42:33 zimbratest slapd[9222]: @(#) $OpenLDAP: slapd 2.4.25 (Apr 11 2011 15:15:59) $ build@zre-rhel5-64.eng.vmware.com:/home/build/p4/HELIX/ThirdParty/openldap/openldap-2.4.25.4z/servers/slapd
Jul 23 22:42:34 zimbratest slapd[9223]: slapd starting
Jul 23 22:45:06 zimbratest zimbramon[9478]: 9478:info: Starting services initiated by zmcontrol
Jul 23 14:50:01 zimbratest postfix/postqueue[10048]: fatal: Queue report unavailable - mail system is down
Jul 23 22:50:01 zimbratest zimbramon[10015]: 10015:info: 2011-07-23 22:50:01, QUEUE: 0 0
Jul 23 22:50:01 zimbratest sendmail[10073]: p6NEo1x5010073: from=zimbra, size=385, class=0, nrcpts=1, msgid=<201107231450.p6NEo1x5010073@zimbratest.call tekcenter.com>, relay=zimbra@localhost
Jul 23 22:50:01 zimbratest sendmail[10074]: p6NEo132010074: SYSERR(root): Cannot open hash database /etc/aliases.db: Invalid argument
Jul 23 22:50:02 zimbratest sendmail[10074]: p6NEo132010074: from=<zimbra@zimbratest.calltekcenter.com>, size=694, class=0, nrcpts=1, msgid=<201107231450.p6NEo1x5010073@zimbratest.call tekcenter.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 23 22:50:02 zimbratest sendmail[10081]: p6NEo132010074: SYSERR(root): Cannot open hash database /etc/aliases.db: Invalid argument
Jul 23 22:50:02 zimbratest sendmail[10073]: p6NEo1x5010073: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30385, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p6NEo132010074 Message accepted for delivery)
Jul 23 22:50:02 zimbratest sendmail[10081]: p6NEo132010074: to=<zimbra@zimbratest.calltekcenter.com>, ctladdr=<zimbra@zimbratest.calltekcenter.com> (501/501), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30931, dsn=2.0.0, stat=Sent





Can someone please point me at the right direction? Thanks ahead

Last edited by engrolsonjr; 07-22-2011 at 11:52 PM..
Reply With Quote
  #2 (permalink)  
Old 07-22-2011, 11:54 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

This has been covered many times in the forums, the usual reason for LDAP not starting is a lack of DNS A & MX records and/or incorrect hosts file. Go to the Split DNS article and run all the commands in the 'Verify...' section to confirm you DNS configuration.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-23-2011, 12:16 AM
Member
 
Posts: 12
Default

thanks for the quick reply. A and MX record is already set. Its on a different server.


[zimbra@zimbratest ~]$ nslookup zimbratest.calltekcenter.com
Server: 172.20.1.59
Address: 172.20.1.59#53

Name: zimbratest.calltekcenter.com
Address: 172.20.106.29


#####################

[zimbra@zimbratest ~]$ dig zimbratest.calltekcenter.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> zimbratest.calltekcenter.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9238
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;zimbratest.calltekcenter.com. IN A

;; ANSWER SECTION:
zimbratest.calltekcenter.com. 259200 IN A 172.20.106.29

;; AUTHORITY SECTION:
calltekcenter.com. 259200 IN NS ns.calltekcenter.com.

;; ADDITIONAL SECTION:
ns.calltekcenter.com. 259200 IN A 172.20.1.59

;; Query time: 1 msec
;; SERVER: 172.20.1.59#53(172.20.1.59)
;; WHEN: Sat Jul 23 23:15:28 2011
;; MSG SIZE rcvd: 95


am i missing something?
Reply With Quote
  #4 (permalink)  
Old 07-23-2011, 12:25 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

I asked you to run all the commands in the Verify section of the Split DNS article. According to the output you have no MX record, however, you are using the wrong domain name for your dig command not the FQDN of your server. The following is incorrect:

Code:
dig zimbratest.calltekcenter.com
The correct command is as follows:

Code:
dig calltekcenter.com mx
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 07-23-2011, 12:35 AM
Member
 
Posts: 12
Default

I apologize. here are the details:

Code:
[root@zimbratest ~]# dig calltekcenter.com mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> calltekcenter.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39391
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

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

;; ANSWER SECTION:
calltekcenter.com.      259200  IN      MX      10 mail.calltekcenter.com.

;; AUTHORITY SECTION:
calltekcenter.com.      259200  IN      NS      ns.calltekcenter.com.

;; ADDITIONAL SECTION:
mail.calltekcenter.com. 259200  IN      A       205.178.146.50
ns.calltekcenter.com.   259200  IN      A       172.20.1.59

;; Query time: 1 msec
;; SERVER: 172.20.1.59#53(172.20.1.59)
;; WHEN: Sat Jul 23 23:33:33 2011
;; MSG SIZE  rcvd: 105
Code:
[root@zimbratest ~]# dig calltekcenter.com any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> calltekcenter.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30866
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2

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

;; ANSWER SECTION:
calltekcenter.com.      259200  IN      SOA     ns.calltekcenter.com. admin.calltekcenter.com. 201009221 28800 7200 2419200 86400
calltekcenter.com.      259200  IN      NS      ns.calltekcenter.com.
calltekcenter.com.      259200  IN      MX      10 mail.calltekcenter.com.

;; ADDITIONAL SECTION:
ns.calltekcenter.com.   259200  IN      A       172.20.1.59
mail.calltekcenter.com. 259200  IN      A       205.178.146.50

;; Query time: 1 msec
;; SERVER: 172.20.1.59#53(172.20.1.59)
;; WHEN: Sat Jul 23 23:33:50 2011
;; MSG SIZE  rcvd: 147

[root@zimbratest ~]#
Code:
[root@zimbratest ~]# (hostname)
zimbratest.calltekcenter.com
[root@zimbratest ~]#
Code:
[root@zimbratest ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search calltekcenter.com
nameserver 127.0.0.1

nameserver 172.20.1.59
nameserver 172.20.1.1
Code:
[root@zimbratest ~]# 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
172.20.106.29 zimbratest.calltekcenter.com zimbratest


######################

Last edited by phoenix; 07-23-2011 at 12:44 AM..
Reply With Quote
  #6 (permalink)  
Old 07-23-2011, 12:42 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

It should be evident after reading the Split DNS article and from the information you've posted that your A record is incorrect - it should point to your LAN IP address not your Public IP address.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-23-2011, 12:48 AM
Member
 
Posts: 12
Default

Thanks again for the quick reply.

mail.calltekcenter.com is a different server from zimbratest.calltekcenter.com

[zimbra@zimbratest ~]$ dig zimbratest.calltekcenter.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> zimbratest.calltekcenter.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14011
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;zimbratest.calltekcenter.com. IN A

;; ANSWER SECTION:
zimbratest.calltekcenter.com. 259200 IN A 172.20.106.29

;; AUTHORITY SECTION:
calltekcenter.com. 259200 IN NS ns.calltekcenter.com.

;; ADDITIONAL SECTION:
ns.calltekcenter.com. 259200 IN A 172.20.1.59

;; Query time: 0 msec
;; SERVER: 172.20.1.59#53(172.20.1.59)
;; WHEN: Sat Jul 23 23:46:15 2011
;; MSG SIZE rcvd: 95

[zimbra@zimbratest ~]$


Please advise if I am missing something.
Reply With Quote
  #8 (permalink)  
Old 07-23-2011, 12:51 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

If you are running two mail servers in the same domain then you need to follow the Split Domain set-up.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 07-23-2011, 04:30 PM
Member
 
Posts: 12
Default

Sorry for the delayed reply. Okay so I think I would just set up a dedicated DNS server for this email since this is just in the testing phase. The DNS server I use currently is on production. Will get back to you ASAP. Thanks
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.