<div dir="ltr">Its solved..... apparently installing nginx from its source code it gets installed in /usr/local/nginx instead of /etc/nginx. Thanks anyways.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 24, 2015 at 7:19 PM, Francis Daly <span dir="ltr"><<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jan 21, 2015 at 05:50:19PM +0530, Swarna Koushik Debroy wrote:<br>
<br>
Hi there,<br>
<span class=""><br>
> I've compiled and installed nginx with gridfs module as given by the<br>
> instuctions and it got installed successfully. But then when I configure<br>
> the nginx.conf with gridfs directive and restart the nginx server it fails<br>
> giving the error as 'nginx: [emerg] unknown directive "gridfs" in<br>
> /etc/nginx/nginx.conf:76' . Anyone who can help me fix this issue?<br>
<br>
</span>If "nginx -t" gives that error message, then the nginx that you called<br>
does not have the gridfs modules included.<br>
<br>
What command or commands do you run when you "restart the nginx server"?<br>
<span class="HOEnZb"><font color="#888888"><br>
        f<br>
--<br>
Francis Daly        <a href="mailto:francis@daoine.org">francis@daoine.org</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>