Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-2009, 07:38 AM
Intermediate Member
 
Posts: 19
Default [SOLVED] Missing nginx.conf

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
Code:
/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.
Reply With Quote
  #2 (permalink)  
Old 02-09-2009, 07:52 AM
Moderator
 
Posts: 2,207
Default

Welcome to the forum.

Which ZCS version are you trying to setup ?
Reply With Quote
  #3 (permalink)  
Old 02-09-2009, 09:35 AM
Intermediate Member
 
Posts: 19
Default

It's the 5.0.12 GA Network Edition for Tiger.

Network Edition with a trial license, I should add.

Last edited by schulze; 02-09-2009 at 10:46 PM..
Reply With Quote
  #4 (permalink)  
Old 02-10-2009, 03:52 AM
Intermediate Member
 
Posts: 19
Default

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.
Reply With Quote
  #5 (permalink)  
Old 02-10-2009, 04:09 AM
Moderator
 
Posts: 2,207
Default

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 ?
Reply With Quote
  #6 (permalink)  
Old 02-10-2009, 04:48 AM
Intermediate Member
 
Posts: 19
Default

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.
Reply With Quote
  #7 (permalink)  
Old 02-10-2009, 06:25 AM
Moderator
 
Posts: 2,207
Default

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...
Reply With Quote
  #8 (permalink)  
Old 02-11-2009, 01:26 AM
Intermediate Member
 
Posts: 19
Default

Quote:
Originally Posted by Klug View Post
You can not setup a server with zimbra-proxy as long as there's no zimbra-mailstore installed in the multi-servers setup...
That's what I understood from the Information in the bug report.

Quote:
Originally Posted by Klug View Post
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.
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.