<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                > How to fix the NGINX error “Failed to read PID from file”, quick and easy 以下是有關如何修復錯誤消息的提示: ``` nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument 或者 openresty.service: Failed to parse PID from file /run/openresty.pid: Invalid argument ``` 此行為是一個已知錯誤,由nginx和systemd之間的競爭條件引起。 Systemd期望在nginx有時間創建之前填充PID文件。要修復錯誤,您必須創建該文件。 **Step 1. 創建目錄:**`/etc/systemd/system/nginx.service.d` Create a directory named nginx.service.d in /etc/systemd/system/: ``` mkdir /etc/systemd/system/nginx.service.d ``` **Step 2. Print data to file** ``` printf "[Service]\nExecStartPost=/bin/sleep 0.1\n" > /etc/systemd/system/nginx.service.d/override.conf ``` 確保在其自己的行上輸入>之后的字符串,以便printf將其輸出寫入配置文件: ``` /etc/systemd/system/nginx.service.d/override.conf ``` **Step 3. Reload the daemon** Reload systemd manager configuration: ``` systemctl daemon-reload ``` This will rerun all generators, reload all unit files and recreate the entire systemd dependency tree. **Step 4. Restart NGINX** This line will restart NGINX for you: ``` systemctl restart nginx ``` The error should be fixed now. **An alternative workaround** Another workaround is removing the PIDFile option and adding the line: ``` ExecStopPost=/bin/rm -f /run/nginx.pid ``` https://www.cloudinsidr.com/content/heres-fix-nginx-error-failed-read-pid-file-linux/
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看