Results 1 to 8 of 8

Thread: [SOLVED] Missing nginx.conf

  1. #1
    schulze is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    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.

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    Default

    Welcome to the forum.

    Which ZCS version are you trying to setup ?

  3. #3
    schulze is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    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 11:46 PM.

  4. #4
    schulze is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    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.

  5. #5
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    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 ?

  6. #6
    schulze is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    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.

  7. #7
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    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...

  8. #8
    schulze is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 09:08 AM
  2. Help! Upgrade problems from 5.09 to 5.10
    By gtr33m in forum Installation
    Replies: 17
    Last Post: 11-13-2008, 04:20 AM
  3. Zimbra OSS 4.5.11 Re-install
    By newmember in forum Installation
    Replies: 0
    Last Post: 09-09-2008, 10:26 PM
  4. 4.5.11 to 5.06 Migration Suggestion
    By newmember in forum Migration
    Replies: 15
    Last Post: 09-02-2008, 06:59 PM
  5. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •