[SOLVED] Missing nginx.conf

Ask questions about your setup or get help installing ZCS server (ZD section below).
schulze
Posts: 19
Joined: Sat Sep 13, 2014 12:04 am

[SOLVED] Missing nginx.conf

Postby schulze » Mon Feb 09, 2009 9:38 am

I'm trying to install the Zimbra LDAP, Proxy and SNMP services on Mac OS X 10.4.11 for a multi-server setup.
In the graphical installer, I select the components mentioned above and the installer succeeds without errors.
Then I execute zmsetup.pl, adjust the settings as necessary, and again no errors are reported.
Doing su - zimbra and zmcontrol status gives me "zmnginxctl is not running". All other services are working though.

A zmnginxctl start gives me

/opt/zimbra/conf/nginx.conf is missing. Starting nginx...2009/02/09 16:12:43 [emerg] 4425#0: open() "/opt/zimbra/conf/nginx.conf" failed (2: No such file or directory) failed.

I have a /opt/zimbra/conf/nginx.conf.in, which seems to be the template, but no nginx.conf. Probably, zmsetup.pl did not create the nginx.conf from the template.
Any ideas, why this has happened and how to resolve the problem?
Thanks in advance.


Klug
Elite member
Elite member
Posts: 2230
Joined: Mon Dec 16, 2013 11:35 am
Contact:

[SOLVED] Missing nginx.conf

Postby Klug » Mon Feb 09, 2009 9:52 am

Welcome to the forum.
Which ZCS version are you trying to setup ?
schulze
Posts: 19
Joined: Sat Sep 13, 2014 12:04 am

[SOLVED] Missing nginx.conf

Postby schulze » Mon Feb 09, 2009 11:35 am

It's the 5.0.12 GA Network Edition for Tiger.
Network Edition with a trial license, I should add.
schulze
Posts: 19
Joined: Sat Sep 13, 2014 12:04 am

[SOLVED] Missing nginx.conf

Postby schulze » Tue Feb 10, 2009 5:52 am

In the meantime, I have tried the same with the 5.0.13 GA Network Edition for Tiger - same problem.
However, installing all zimbra components results in a working nginx server. The missing nginx.conf only seems to happen with the limited selection of components mentioned above.
I kept the working nginx.conf (and all files referenced in it) for later use and reinstalled the system. Then I reinstalled the proxy, ldap and snmp components and copied the nginx configuration. Everything seems to work now.
There must be a bug in the graphical installer or the zmsetup.pl script.
Klug
Elite member
Elite member
Posts: 2230
Joined: Mon Dec 16, 2013 11:35 am
Contact:

[SOLVED] Missing nginx.conf

Postby Klug » Tue Feb 10, 2009 6:09 am

Yes, it seems to be Tiger related (either graphical installer or zmsetup.pl) as I already did the same on Linuxes without any issue.
Could you please file a bug ?
schulze
Posts: 19
Joined: Sat Sep 13, 2014 12:04 am

[SOLVED] Missing nginx.conf

Postby schulze » Tue Feb 10, 2009 6:48 am

I found the following bug, which describes pretty much the same problem:
Bug 31260 – nginx not running after install
Next time, I'll search the bugzilla before posting here. :o
Klug
Elite member
Elite member
Posts: 2230
Joined: Mon Dec 16, 2013 11:35 am
Contact:

[SOLVED] Missing nginx.conf

Postby Klug » Tue Feb 10, 2009 8:25 am

I get it !
You can not setup a server with zimbra-proxy as long as there's no zimbra-mailstore installed in the multi-servers setup...
And as, in your setup, you seem to want to have proxy/ldap/snmp on a server and mailstore(s)/logger on other ones, you hit the problem.
So, if I understand correctly, you'll need to setup the mailstores servers (at least one) before you can start the proxy (because the proxy asks the mailstore in order to build the .conf files each time you start it).
Problem is not related to OS X...
schulze
Posts: 19
Joined: Sat Sep 13, 2014 12:04 am

[SOLVED] Missing nginx.conf

Postby schulze » Wed Feb 11, 2009 3:26 am

[quote user="8141Klug"]

You can not setup a server with zimbra-proxy as long as there's no zimbra-mailstore installed in the multi-servers setup...

[/QUOTE]
That's what I understood from the Information in the bug report.
[quote user="8141Klug"]

And as, in your setup, you seem to want to have proxy/ldap/snmp on a server and mailstore(s)/logger on other ones, you hit the problem.

[/QUOTE]
Yes, that's exactly, what I wanted to do.
Now I did the following:

- Installed LDAP and Proxy on Host A (proxy not working yet)

- Installed Mailstore on Host B

- Executed zmproxyconfgen on Host A, started proxy
Worked well.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 3 guests