dubstep
November 21, 2011, 4:24am
1
Sorry for the newbie question. I am new to nginx. i installed it
successfully on my mac, but when i try to start it, i get this error
nginx: [alert] could not open error log file: open()
“/opt/local/var/log/nginx/error.log” failed (13: Permission denied)
2011/11/20 22:15:20 [emerg] 1620#0: open()
“/opt/local/etc/nginx/nginx.conf” failed (2: No such file or directory)
Can someone please help me resolve this? Thank you
Kofi
Posted at Nginx Forum:
Sorry for the newbie question. I am new to nginx. i installed it successfully on my mac, but when i try to start it, i get this error nginx: [alert] could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13:...
Permission denied
start nginx use root or sudo
blog: http://chenxiaoyu.org
super!.. one error went away, now i am left with just one
nginx: [emerg] open() “/opt/local/etc/nginx/nginx.conf” failed (2: No
such file or directory)
Any ideas why that is?
Posted at Nginx Forum:
Sorry for the newbie question. I am new to nginx. i installed it successfully on my mac, but when i try to start it, i get this error nginx: [alert] could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13:...
On Mon, Nov 21, 2011 at 11:34 AM, scriptonian [email protected]
wrote:
super!.. one error went away, now i am left with just one
nginx: [emerg] open() “/opt/local/etc/nginx/nginx.conf” failed (2: No
such file or directory)
Any ideas why that is?
…missing config file?
–
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Reposting…
fastcgi.conf
koi-win
scgi_params.example
fastcgi.conf.example
mime.types
uwsgi_params
fastcgi_params
mime.types.example
uwsgi_params.example
fastcgi_params.example
nginx.conf.example
win-utf
koi-utf
scgi_params
Posted at Nginx Forum:
Sorry for the newbie question. I am new to nginx. i installed it successfully on my mac, but when i try to start it, i get this error nginx: [alert] could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13:...
Yes but why is it missing?
I installed the server … shouldn’t the installation put that file
there during setup?
i see only these files in the /etc/nginx/ folder
fastcgi.conf koi-win scgi_params.example
fastcgi.conf.example mime.types uwsgi_params
fastcgi_params mime.types.example uwsgi_params.example
fastcgi_params.example nginx.conf.example win-utf
koi-utf scgi_params
Posted at Nginx Forum:
Sorry for the newbie question. I am new to nginx. i installed it successfully on my mac, but when i try to start it, i get this error nginx: [alert] could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13:...
On Mon, Nov 21, 2011 at 11:52 AM, scriptonian [email protected]
wrote:
Yes but why is it missing?
I installed the server … shouldn’t the installation put that file
there during setup?
Even if it did, you should edit the config anyway. The
nginx.conf.example should help.
–
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
在 2011-11-20日的 23:34 -0500,scriptonian写道:
nginx mailing list
[email protected]
nginx Info Page
make sure that the path /opt/local/etc/nginx/ existed,and give it umask
775.
also,do it under ROOT.
–
Best regards,
Sharl.Jimh.Tsin (From China Obviously Taiwan INCLUDED )
Using Gmail? Please read this important notice:
Gmail — Free Software Foundation — Working together for free software .
Thanks so much guys. I got all the errors to go away… however, when i
start the server i get this
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] still could not bind()
looks like a port conflict to me. i dont know. but i dont have any other
servers running. when i hit http://localhost/ 404 Not Found (
nginx/1.0.8 )
Posted at Nginx Forum:
Sorry for the newbie question. I am new to nginx. i installed it successfully on my mac, but when i try to start it, i get this error nginx: [alert] could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13:...
and when i do
nginx -s stop
i can NOT even get a 404 error page. so something is working right at
least. but i still have a blocker.
Posted at Nginx Forum:
Sorry for the newbie question. I am new to nginx. i installed it successfully on my mac, but when i try to start it, i get this error nginx: [alert] could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13:...