I'm having this output when I want to run the command zmcontrol start:

[zimbra@data]$ zmcontrol start
Host localhost
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
I've been looking in so many responses but I didn't find the solution.

My /etc/resolv.conf contains (This is an external DNS server):
My /etc/hosts contains: localhost.localdomain localhost pepe.ruralcat.net pepe
Checking host $(hostname), I'm getting:
pepe.ruralcat.net is an alias for ruralcat.net.
ruralcat.net has address
ruralcat.net mail is handled by 10 pepe.ruralcat.net.
I think that it confirms that DNS is configured correctly.

Also, I've confirmed that all files have permission to zimbra role:
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms -verbose

I've taken a look to the file /opt/zimbra/conf/localconfig.xml to see if there is something wrong, but inside is the hostname correctly.

I'm a bit confused because I'dont know what is the problem and why is the reason that always appears "Host localhost" when I want to run zimbra services.

Thanks for you attention.