← Back to team overview

dhis2-users team mailing list archive

Re: Ngnix Failed

 

What error?

On 26 July 2016 at 10:46, gerald thomas <gerald17006@xxxxxxxxx> wrote:
> Yes Morten it returns an error stating nginx failed.
>
> On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@xxxxxxxxx> wrote:
>>
>> If it's config related, it can also be good to run "nginx -t" which will
>> test the config and return any errors it can see
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>> wrote:
>>>
>>> Hi Gerald
>>>
>>> You should not touch /etc/nginx/nginx.conf at all.  All customisation
>>> is done under sites-enabled.
>>>
>>> If your nginx is failing to start the chances are that
>>> /var/log/nginx/error.log will tell you what the problem is.
>>>
>>> Bob
>>>
>>> On 25 July 2016 at 21:08, gerald thomas <gerald17006@xxxxxxxxx> wrote:
>>> > Dear Bob,
>>> > I am still having issue with the dhis2-tool. After replacing the file
>>> > /etc/nginx/sites-enabled/dhis2
>>> > with the link you provided nginx failed to start:
>>> >
>>> > wget
>>> > https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>>> >
>>> > Kindly note that i replaced all dhis with hmis on
>>> > /etc/nginx/nginx.conf file but i am still having issues.
>>> >
>>> > Please i need help. This is the only procedure I had NOT successfully
>>> > create an instance on.
>>> > --
>>> > Regards,
>>> >
>>> > Gerald
>>> >
>>> > _______________________________________________
>>> > Mailing list: https://launchpad.net/~dhis2-users
>>> > Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> > Unsubscribe : https://launchpad.net/~dhis2-users
>>> > More help   : https://help.launchpad.net/ListHelp
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>


Follow ups

References