systemctl で lighttpd.service を再起動します。

systemctl で lighttpd.service を再起動します。

Ubuntu 18.04.4 LTS を使用しています。lighttpd 8.28 をインストールしました。

フォルダを作成しました - rx 2 www-data www-data 4096 3月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.

答え1

によるとこのスレッド、 特にこのコメントパッケージをインストールすればgamin問題は解決するはずです。

関連情報