Webmail/Nginx failed to start

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
mickaelr
Posts: 1
Joined: Mon Mar 27, 2017 7:47 pm

Webmail/Nginx failed to start

Post by mickaelr »

Hi guys, I trust everyone is fine over here.

I am facing an issue with the nginx service which doesn't want to start anymore..
Our old main domain name has expired few weeks ago preventing zimbra to start normally..

Hopefully I've found some really well explained articles regarding how to change the server hostname properly and these steps address pretty much all of our issues however, Nginx still refuse to start..
This is starting to be annoying for my users and im quite running out of idea as all my attempts to clear the configuration from the old server name weren't successful.

I have tried multiple thing, added that entry on the /etc/hosts or even install bind on the server to locally resolve the domain name to the local IP but this didn't work..
Here is the output of the zmcontrol command

Code: Select all

[zimbra@lgda-mail ~]$ zmcontrol start
Host lgda-mail.mynewdomain.net
        Starting ldap...Done.
        Starting zmconfigd...Done.
        Starting dnscache...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting proxy...Failed.
Starting nginx...failed.
nginx start failed. reason: the lookup target lgda-mail.myoldone.net can't be resolved

        Starting amavis...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting opendkim...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.
        Starting service webapp...Done.
        Starting zimbra webapp...Done.
        Starting zimbraAdmin webapp...Done.
        Starting zimlet webapp...Done.

here is the nslookup output

Code: Select all

[neemway][zimbra@lgda-mail ~]$ nslookup lgda-mail.myoldone.net
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   lgda-mail.myoldone.net
Address: 176.31.210.102

[neemway][zimbra@lgda-mail ~]$ zmnginxctl start
Starting nginx...failed.
nginx start failed. reason: the lookup target lgda-mail.myoldone.net can't be resolved

If this is something you guys already seen before and know how to address this I am more than interrested..
Cheers
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Webmail/Nginx failed to start

Post by phoenix »

Try the troubleshooting tips here: https://wiki.zimbra.com/wiki/Zimbra_Pro ... mbra_Proxy

You should always give the ZCS version in use by posting the full output of the following command::

Code: Select all

zmcontrol -v
You also haven't mentioned whether this is a single server or multi-server installation, nor what's changed in your environment. Have you done any upgrades of ZCS or the operating system recently? It helps if you provide full details of you installation when posting a question and you should also search the forums as most questions asked here have most likely been previously answered.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Webmail/Nginx failed to start

Post by DualBoot »

Hello,

if you installed zimbra-unbound package, maybe its cache is not up to date.
Try also your DNS request with another DNS server target, not 127.0.0.1 .

At least delete all yout zimbraVirtualHostname , generate again your poxy conf, and restart your zimbra.

Regards,
Post Reply