Server fails to start (nginx start failed)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
mack3457
Posts: 9
Joined: Fri Jun 05, 2015 8:37 am

Server fails to start (nginx start failed)

Postby mack3457 » Tue Aug 21, 2018 6:03 am

Hi!

About 10 hours ago, our web server stopped working. When restarting it, we see an error message:

nginx start failed. reason: No available memcached servers could be contacted


Funnily, we disabled memcached completely, so there shouldn't be any reason to look for memcached. I then activated memcached and told it to bind to localhost only. Testing with telnet was successful, but the error message didn't change.

I'm a little confused on what is going on. In trace.log I found a possible hint, when the failure started:

21:26:45.459:qtp1286783232-100491:http://localhost:8080/service/soap/AuthRequest REQUEST 127.0.0.1 POST null; zclient 8.8.9_GA_3006
21:26:45.467:qtp1286783232-100491:http://localhost:8080/service/soap/AuthRequest RESPONSE 200 text/xml;charset=utf-8
21:26:45.473:qtp1286783232-100535:http://localhost:8080/service/soap/GetInfoRequest REQUEST 127.0.0.1 POST null; zclient 8.8.9_GA_3006
21:26:45.476:qtp1286783232-100535:http://localhost:8080/service/soap/GetInfoRequest RESPONSE 500 text/xml;charset=utf-8


and repeating the last two REQUEST/RESPONS pairs multiple times.

What can I do to resolve the problem?

Thomas Mack

PS: This is version Release 8.8.9_GA_2055.RHEL7_64_20180703080917 RHEL7_64 FOSS edition, Patch 8.8.9_P1.


mack3457
Posts: 9
Joined: Fri Jun 05, 2015 8:37 am

Re: Server fails to start (nginx start failed)

Postby mack3457 » Tue Aug 21, 2018 4:52 pm

So, I switch off proxy and remapped the ports - this is the "quick" solution.

Still don't know, why proxy doesn't like to start.

(And why proxy looks for memchached, when memcached isn't enabled. And why it cannot connect to memcached, even when it is installed?)

Maybe a reinstallation might clear this up...?


Thanks,
Thomas
phoenix
Ambassador
Ambassador
Posts: 25772
Joined: Fri Sep 12, 2014 9:56 pm

Re: Server fails to start (nginx start failed)

Postby phoenix » Tue Aug 21, 2018 5:26 pm

Proxy & memcached have both been required since ZCS 8.8.7, I'd suggest you make sure they're both installed and configured correctly: https://wiki.zimbra.com/wiki/Enabling_Z ... _memcached
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
mack3457
Posts: 9
Joined: Fri Jun 05, 2015 8:37 am

Re: Server fails to start (nginx start failed)

Postby mack3457 » Tue Aug 21, 2018 8:14 pm

Yes, it looks like this. Still had accesses to memcached, even though it wasn't enabled.

So, finally re-ran install.sh and now it seems to work properly.

Thanks for the hint - didn't notice the necessity for it since 8.8.7.

Thomas
phoenix
Ambassador
Ambassador
Posts: 25772
Joined: Fri Sep 12, 2014 9:56 pm

Re: Server fails to start (nginx start failed)

Postby phoenix » Wed Aug 22, 2018 5:50 am

These things are often easy to miss in the Release Notes. I'm glad you've fixed it and it's working. :)
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 39 guests