systemctl 재시작 lighttpd.service

systemctl 재시작 lighttpd.service

우분투 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.

답변1

에 따르면이 스레드, 특히이 댓글, gamin패키지를 설치하면 트릭이 수행됩니다.

관련 정보