nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
伺服器重啟後,重啟nginx報錯:nginx: [error] invalid PID number "" in "/var/run/nginx.pid" ,
然後去查nginx.pid發現為空。
網上有帖子使用nginx -c nginx.conf(相對路徑),然而還是有問題,出現了nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use),
使用lsof -i:80 發現nginx果然佔著80埠,果斷 sudo fuser -k 80/tcp ,然後在用nginx -c nginx.conf 就可以了
相關文章
- nginx: [error] open() “/var/run/nginx/nginx.pid“ failed (2: No such file or directory)NginxErrorAI
- 【nginx】invalid PID number ““ in “/usr/local/nginx/logs/nginx.pid“Nginx
- nginx重啟報找不到nginx.pid的解決方法Nginx
- start-stop-daemon: matching on world-writable pidfile /var/run/redis/redis-server.pid is insecurefailedRedisServerAI
- 關於/var/run/docker.sockDocker
- The server quit without updating PID file (/var/mysqltest1.pid).[FAILEDServerUIMySqlAI
- 安裝啟動service redisd start時報錯 /var/run/redis_6379.pid exists, process is already running or crashedRedis
- docker的/var/run/docker.sock引數Docker
- ERROR 2002 (HY000): Can't connect server socket /var/run/mysqld/mysqld.sockErrorServerMySql
- MySQL The server quit without updating PID file xx/var/DESKTOP-BHVUG0D.pidMySqlServerUI
- unix /var/run/docker.sock: connect: permission deniedDocker
- Run Time Error 10853Error
- Last_Error:Unabletouseslave'stemporarydirectory/var/tmpASTError
- SQLLoader ORA-01722 invalid numberSQL
- oracle ORA-01722 報錯 "invalid number"Oracle
- ERROR! The server quit without updating PID file (/opt/mysql/mysql/data/cvs.pid)ErrorServerUIMySql
- 【問題處理】ORA-01722: invalid number
- ERROR 1292 (22007): Truncated incorrect DOUBLE value 和ORA-01722: invalid numberError
- NGINX error_pageNginxError
- Error bpbrm (pid=909384) client restore EXIT STATUS 5ErrorclientREST
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- sqlldr 時碰到錯誤 ORA-01722: invalid numberSQL
- /var/log/message 錯誤error (network unreachable)Error
- 輸入docker ps 報錯資訊處理Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: permission denied.DockerHTTPAIJSON
- struct.error: 'h' format requires -32768 number 32767StructErrorORMUI
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- MysqL錯誤之_ERROR! MySQL server PID file could not be found!MySqlErrorServer
- 執行flutter run命令報錯::ERROR: Could not connect to lockdownd, error code -17FlutterError
- err Invalid input of type: 'dict'. Convert to a byte, string or number first
- 隱式轉換錯誤:ORA-01722: invalid number
- Log check error: Log file /var/log/messages is not readable!Error
- StartingMySQL.ERROR!TheserverquitwithoutupdatingPIDfile(/data/mysql/mysql.pid).MySqlErrorServerUI
- StartingMySQL…ERROR!TheserverquitwithoutupdatingPIDfile(/mydata/data/t1.pid).MySqlErrorServerUI
- ERROR ITMS-90542: “Invalid CFBundleSupportedPlatforms value.”ErrorPlatform
- nagios監控windows 報NSClient - ERROR: Invalid passwordiOSWindowsclientError
- error:'Can'tconnecttolocalMySQLserverthroughsocket'/var/lib/mysql/mysql.sock'(2)'ErrorMySqlServer
- install php 7 to run beside php 5 on ubuntu with nginxPHPIDEUbuntuNginx
- error creating overlay mount to invalid argument unbuntu系統Error