Nginx startup error: startup failed
nginx: [error] CreateFile() "C:\web\nginx-1.17.9/logs/nginx.pid" failed (2: The system cannot find the file specified)
Execute the command nginx – t to query the configuration of nginx
C:\web\nginx-1.17.9>nginx.exe -t
nginx: the configuration file C:\web\nginx-1.17.9/conf/nginx.conf syntax is ok
nginx: [emerg] bind() to 0.0.0.0:8090 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
nginx: configuration file C:\web\nginx-1.17.9/conf/nginx.conf test failed
The question is about the same
The problems are as follows Port 80 is occupied
10013: An attempt was made to access a socket in a way forbidden by its access permissions
terms of settlement:
cmd input netstat -aon | findstr :80
input tasklist|findstr “15616”
Find Task Manager – details
Manual closing
Read More:
- Nginx startup error: nginx: [error] open() “/ var / run / nginx/ nginx.pid The solution of “failed (2: no such file or directory)”
- nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)
- nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- Nginx error: nginx: [error] invalid PID number “” in “/run/nginx.pid”
- nginx: [error] invalid PID number ““ in “/data/nginx/logs/nginx.pid“
- /var/run/nginx/nginx.pid” failed (2: No such file or directory)
- Resolve the exception MySQL lontransientconnectionexception: communications link failure during rollback()
- nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
- nginx: [error] open() “/usr/local/var/run/nginx.pid” failed (2: No such file or directory)
- nginx: open() “/var/run/nginx.pid“ failed (2: No such file or directory)
- Solve the problem of starting nginx nginx.pid error
- Springboot startup error could not resolve placeholder XXX
- Solution of visdom startup failure in Windows 10
- Solution to communication link failure with error in idea startup project
- net core HTTP Error 502.5 – ANCM Out-Of-Process Startup Failure
- nginx: [error] invalid PID number in /var/run/nginx.pid
- Solve QQ startup error: Initialization failure: 0x0000000C
- Nginx start error: job for nginx.service failed because the control process exited with error code
- CentOS7 nginx Failed to read PID from file /run/nginx.pid: Invalid argument?
- Boot nginx flash back under Windows