Lighttpd
如何解決 lighttpd 服務無法啟動的問題?
我正在使用 Ubuntu 18.04.4 LTS。我已經安裝了 lighttpd 8.28。
我已經創建了文件夾 - rx 2 www-data www-data 4096 Mar 16 15:41 httpd
我將 server.document-root 指向 /home/httpd
當我重新啟動服務時。
systemctl 重啟 lighttpd.service
lighttpd.service 的作業失敗,因為控制程序以錯誤程式碼退出。有關詳細資訊,請參閱“systemctl status lighttpd.service”和“journalctl -xe”。
我在 syslog 上收到以下錯誤。我不知道如何調試這個以及這裡的真正問題是什麼。我已將 server-document.root 的組更改為 www-data。
Mar 16 16:28:42 abc-VirtualBox systemd[1]: Starting Lighttpd Daemon... Mar 16 16:28:42 abc-VirtualBox lighttpd[4270]: /usr/sbin/lighttpd: Symbol `FamErrlist' has different size in shared object, consider re-linking Mar 16 16:28:42 abc-VirtualBox lighttpd[4270]: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists Mar 16 16:28:42 abc-VirtualBox systemd[1]: lighttpd.service: Control process exited, code=exited status=127 Mar 16 16:28:42 abc-VirtualBox systemd[1]: lighttpd.service: Failed with result 'exit-code'. Mar 16 16:28:42 abc-VirtualBox systemd[1]: Failed to start Lighttpd Daemon. Mar 16 16:28:42 abc-VirtualBox systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart. Mar 16 16:28:42 abc-VirtualBox systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5. Mar 16 16:28:42 abc-VirtualBox systemd[1]: Stopped Lighttpd Daemon. Mar 16 16:28:42 abc-VirtualBox systemd[1]: lighttpd.service: Start request repeated too quickly. Mar 16 16:28:42 abc-VirtualBox systemd[1]: lighttpd.service: Failed with result 'exit-code'. Mar 16 16:28:42 abc-VirtualBox systemd[1]: Failed to start Lighttpd Daemon.