configuration - nginx wont restart - errors -


after trying nginx -t , service nginx restart or nginx -s reaload have found fallowing errors. idea how fix them? thank answers.

nm@srv:/etc/nginx/sites-available$ nginx -s reload nginx: [alert] not open error log file: open() "/var/log/nginx/error.log" failed (13: permission denied) 2015/08/03 09:12:35 [warn] 13513#0: "user" directive makes sense if master process runs super-user privileges, ignored in /etc/nginx/nginx.conf:1 2015/08/03 09:12:35 [warn] 13513#0: conflicting server name "venusfactorfreetrial.sandbox.modpreneur.com" on 0.0.0.0:80, ignored 2015/08/03 09:12:35 [notice] 13513#0: signal process started 2015/08/03 09:12:35 [alert] 13513#0: kill(1031, 1) failed (1: operation not permitted)

nm@srv:/etc/nginx/sites-available$ nginx -t nginx: [alert] not open error log file: open() "/var/log/nginx/error.log" failed (13: permission denied) 2015/08/03 09:16:02 [warn] 13565#0: "user" directive makes sense if master process runs super-user privileges, ignored in /etc/nginx/nginx.conf:1 2015/08/03 09:16:02 [warn] 13565#0: conflicting server name "venusfactorfreetrial.sandbox.modpreneur.com" on 0.0.0.0:80, ignored nginx: configuration file /etc/nginx/nginx.conf syntax ok 2015/08/03 09:16:02 [emerg] 13565#0: open() "/run/nginx.pid" failed (13: permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -