• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Why nginx won't start?

ikevin8me

Member


Messages: 51

#1
I usually put nginx and postgres in separate jails. But this time I put them in the host system.

postgresql started. but nginx won't start.

In /usr/local/etc/rc.d:
Code:
-rwx------  1 root  wheel  2863 Oct 28 23:06 nginx
-rwx------  1 root  wheel  3276 Oct 19 15:41 postgresql
And in /etc/rc.conf:
Code:
postgresql_enable="YES"
nginx_enable="YES"
What can be wrong? Upon reboot, I expect both postgresql and nginx to start. But nginx won't. However, I can start it manually with "service nginx start". So, what's wrong?

Thanks!
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,089
Messages: 26,977

#2
Permissions of /usr/local/etc/rc.d/* don't look correct. They're usually 555, yours are 700.
 
Top