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
- SQLLoader ORA-01722 invalid numberSQL
- 安裝啟動service redisd start時報錯 /var/run/redis_6379.pid exists, process is already running or crashedRedis
- 關於/var/run/docker.sockDocker
- MySQL The server quit without updating PID file xx/var/DESKTOP-BHVUG0D.pidMySqlServerUI
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- docker的/var/run/docker.sock引數Docker
- unix /var/run/docker.sock: connect: permission deniedDocker
- err Invalid input of type: 'dict'. Convert to a byte, string or number first
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)ErrorDeveloper
- error creating overlay mount to invalid argument unbuntu系統Error
- NGINX error_pageNginxError
- 執行flutter run命令報錯::ERROR: Could not connect to lockdownd, error code -17FlutterError
- struct.error: 'h' format requires -32768 number 32767StructErrorORMUI
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- VUE: npm run dev報錯Error: error:0308010C:digital envelope routines::unsupportedVueNPMdevErrorGit
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- 解決 Error: ENOSPC: System limit for number of file watchers reachedErrorMIT
- Dynamics CRM Error- Creating Entity with an invalid parent. Entity: EmailErrorAI
- 小程式 · 報錯:Error: errCode: -501007 ,errMsg: Invalid Key Name (__keyPath)Error
- mysql 啟動錯誤(InnoDB: Operating system error number 13 )MySqlError
- docker mysql mysqld: Error on realpath() on ‘/var/lib/mysql-files‘ No such file or directoryDockerMySqlError
- Oracle12c叢集啟動時提示%CRS_LIMIT_OPENFILE%: invalid numberOracleMIT
- Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using anErrorObjectZed
- PID
- vue報錯:[Vue warn]: Invalid prop: type check failed for prop "value". Expected Number, got String....VueAIGo
- 安裝docker問題:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?Docker
- Linux安裝mysql出現ERROR! The server quit without updating PID file問題解決LinuxMySqlErrorServerUI
- PostgreSQL/LightDB copy ERROR: invalid byte sequence for encoding "UTF8": 0x00SQLErrorEncoding
- PID控制
- Docker執行命令報錯:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?Docker
- ISSAC GYM解決RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch)的問題ErrorVRGPU
- 【問題解決】remote: parse error: Invalid numeric literal at line 1, column 20,解決思路REMError
- pid,sid相互查詢,根據PID查詢sqlSQL
- 因為CPU數變化導致執行sar命令報錯:Invalid system activity file: /var/log/sa/saxx