前提:事先開通ssh服務并能正常連接配接。
事件起因:機房斷電,恢複供電後WebGui無法打開。
解決方法:
-
登入ssh重新開機lighttpd
cd /etc/rc.d && service lighttpd onerestart
或者/etc/rc.initial 打開終端按提示重新開機
-
重新打開web頁面看是否出現報錯資訊。如仍未出現報錯資訊,登入ssh 重新開機機器init 6 并到機房連接配接顯示器記錄報錯資訊。
如我的報錯資訊為:
require_once(config.inc): failed to open stream: No such file or directory in <b>/etc/rc.d.php/postinit</b> on line <b>41</b>
require_once(): failed to open required 'config.inc (include_path = ',:/usr/local/share/pear')