| 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.
|  | | 
03-11-2011, 12:19 AM
| | | [SOLVED] Unable to determine enabled services from ldap [zimbra@mail ~]$ zmcontrol start
Host mail.mydomain.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@mail ~]$
zimbra.log output
Mar 11 13:16:04 mail sendmail[21154]: p2B7k3ds021154: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30363, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Last edited by sadiq007; 03-11-2011 at 12:23 AM..
Reason: adding zimbra.log
| 
03-11-2011, 12:36 AM
| | Trained Alumni | |
Posts: 160
| | Quote:
Originally Posted by sadiq007 [zimbra@mail ~]$ zmcontrol start
Host mail.mydomain.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@mail ~]$
zimbra.log output
Mar 11 13:16:04 mail sendmail[21154]: p2B7k3ds021154: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30363, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] | Hi,
in the forums this issue was handled many times.
If you're behind a NAT router or firewall, you need a valid DNS MX and A records, and also a correct /etc/hosts file.
You can follow the istruction of this article: Split DNS - Zimbra :: Wiki.
At the end, in 'Verify...' section, you can check the correctness of your configuration, by running the commands.
Regards | 
03-11-2011, 12:58 AM
| | | Dear i am not behind firewall, My MX and A entries all or ok.
and i got this problem suddenly on working mail server | 
03-11-2011, 01:09 AM
| | Trained Alumni | |
Posts: 160
| | Quote:
Originally Posted by sadiq007 Dear i am not behind firewall, My MX and A entries all or ok.
and i got this problem suddenly on working mail server | Let's start step by step.
1) Permissions on the Zimbra files/directories, shutdown Zimbra and run the following (as root): Code:
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms -verbose restart Zimbra and see if that fixes it.
2) If the problem persists, do the following: Code:
cat /etc/hosts
host `hostname`
dig yourdomain.com mx
dig yourdomain.com any and post the output. | 
03-11-2011, 01:43 AM
| | | Same problem even after
zmcontrol stop
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms -verbose output
cat /etc/hosts[/B]
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail mydomain.com
::1 localhost6.localdomain6 localhost6 cat /etc/resolve.conf
search mydomain.com
nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 4.2.2.2 dig mydomain.com MX
; <<>> DiG 9.3.4-P1 <<>> mydomain.com MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60506
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com. IN MX
;; ANSWER SECTION:
mydomain.com. 86400 IN MX 10 mail.mydomain.com.
;; AUTHORITY SECTION:
mydomain.com. 86400 IN NS mail.mydomain.com.
;; ADDITIONAL SECTION:
mail.mydomain.com. 86400 IN A 192.168.1.1
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Mar 11 14:32:28 2011
;; MSG SIZE rcvd: 83 dig mydomain.com any
; <<>> DiG 9.3.4-P1 <<>> mydomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28123
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com. IN ANY
;; ANSWER SECTION:
mydomain.com. 86400 IN SOA mail.mydomain.com. root.mail.mydomain.com. 2 28800 7200 604800 86400
mydomain.com. 86400 IN NS mail.mydomain.com.
mydomain.com. 86400 IN MX 10 mail.mydomain.com.
;; ADDITIONAL SECTION:
mail.mydomain.com. 86400 IN A 192.168.1.1
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Mar 11 14:32:32 2011
;; MSG SIZE rcvd: 124 host 'mail.mydomain.com'
mail.mydomain.com has address 192.168.1.1
[root@mail named]# | 
03-11-2011, 02:10 AM
| | Trained Alumni | |
Posts: 160
| | Quote:
Originally Posted by sadiq007 cat /etc/hosts[/B]
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail mydomain.com
::1 localhost6.localdomain6 localhost6 | The /etc/hosts file isn't correct.
You have to change it from this: Code: 127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail mydomain.com
::1 localhost6.localdomain6 localhost6 to be like this one: Code: 127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail After making that change, reboot the server and see what happens.
Regards | 
03-11-2011, 02:32 AM
| | | dear same error even after changes in /etc/hosts
like this
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail | 
03-11-2011, 04:34 AM
| | | any other solution please? | 
03-11-2011, 05:14 AM
| | Trained Alumni | |
Posts: 160
| | Quote:
Originally Posted by sadiq007 any other solution please? | Can you put the output of this command: | 
03-11-2011, 05:37 AM
| | | Well the output of zmcontrol status is
Host mail.mydomain.com
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running surprised ??..
Yeh it was like that and the problem is sloved BY ME after this practice.
1. Begin by generating a new Certificate Authority (CA).
zmcertmgr createca -new
2. Then generate a certificate signed by the CA that expires in 365 days.
zmcertmgr createcrt -new -days 786
3. Next deploy the certificate.
zmcertmgr deploycrt self
4. Next deploy the CA.
zmcertmgr deployca
5. To finish, verify the certificate was deployed to all the services.
zmcertmgr viewdeployedcrt
( and the reson of this problem is that my certificate was expired after one year)
Well thanks for great response..keep it UP.
Last edited by sadiq007; 03-11-2011 at 05:38 AM..
Reason: chenge domain name to fake
| | 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.  |