
Я использую Ubuntu 18.04.4 LTS. Я установил lighttpd 8.28.
Я создал папку - rx 2 www-data www-data 4096 16 марта 15:41 httpd
Я указываю свой server.document-root на /home/httpd
Когда я перезапускаю службу.
systemctl перезапустить lighttpd.service
Задание для lighttpd.service не удалось, так как процесс управления завершился с кодом ошибки. Подробности см. в "systemctl status lighttpd.service" и "journalctl -xe".
Я получаю следующие ошибки в syslog. Я понятия не имею, как мне это отладить и в чем здесь реальная проблема. Я изменил группу на www-data для моего server-document.root.
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
пакета должна помочь.