systemctlの再起動lighttpd.service

systemctlの再起動lighttpd.service

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」を参照してください。

システムログに次のエラーが表示されます。私はこれをデバッグする方法とここで実際の問題が何であるかわかりません。 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パッケージをインストールすると問題が解決します。

おすすめ記事