如何重新啟用 DSM 網頁介面

如何重新啟用 DSM 網頁介面

我設法禁用了 DSM Web 介面,但現在很難重新啟用它。我使用的是 DS716+。這就是我所做的:

從仍在工作的 DSM 控制台,我停用了 php 7.0(我想安裝版本 7.2)。我安裝了apache2.4並將WebStation中的預設版本更改為2.4。然後,因為 WebStation 沒有看到 php7.2,我想我將重新啟動它,也許它會接受更改。顯然,在我停止它之後,我把自己鎖在了外面。

幸運的是,幾週前我啟用了 ssh,所以我可以透過這種方式登入。我先重新啟動盒子,希望一切都能恢復原樣。事實並非如此。所以我嘗試重新啟動服務(nginx、WebStation),看看是否有幫助。我這樣做:

root@synology:/etc# synoservice -enable nginx
root@synology:/etc# synoservice -status nginx
Service [nginx] status=[enable]
required upstart job: 
    [nginx] is start. 
=======================================
root@synology:/etc# synoservice -status pkgctl-WebStation
Service [pkgctl-WebStation] status=[disable]
required upstart job: 
    [pkgctl-WebStation] is stop. 
=======================================
root@synology:/etc# synoservice -enable pkgctl-WebStation

然而,WebStation 永遠不會啟動,它只是等啊等…

我可以 telnet 到 http 端口,這確認 nginx 運行正常。但沒有加載任何頁面,我想是因為 WebStation 從未啟動。我也嘗試過:

synoservice --hard-start pkgctl-WebStation

具有相同的結果(沒有結果)。

我也嘗試運行 Apache2.2 或 Apache2.4,但這些與 WebStation 類似,都無法啟動。因此我重點關注 nginx。

nginx 在重新啟動後輸出此內容(在日誌檔案中)。

2019/07/21 14:34:53 [crit] 18247#18247: *7 connect() to unix:/run/synoscgi.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.7.143, server: _, request: "GET / HTTP/2.0", upstream: "scgi://unix:/run/synoscgi.sock:", host: "192.168.7.10:6003"

「192.168.7.10:6003」是我以前從瀏覽器連接到 DSM 的方式。

知道我缺少什麼嗎?

相關內容