I tried to migrate from Apache to Lighttpd on kubuntu 16.04. I used apt-get remove --purge apache2
then apt-get install lighttpd
After running systemctl start lighttpd
I got the error message
Job for lighttpd.service failed because the control process exited with error code. See "systemctl status ligttpd.service" and "journalctl -xe" for details.
The contents of journalctl -xe is: The result is failed.
Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Unit entered failed state.
Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Mai 25 15:25:36 Heizschrank systemd[1]: Reloading.
Mai 25 15:25:36 Heizschrank systemd[1]: apt-daily.timer: Adding 7h 10min 31.972833s random time.
Mai 25 15:25:36 Heizschrank systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
Mai 25 15:25:36 Heizschrank systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit acpid.service has finished starting up.
--
-- The start-up result is done.
Mai 25 15:25:41 Heizschrank sudo[22105]: pam_unix(sudo:session): session closed for user root
The output of systemctl
status is:
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mi 2016-05-25 15:25:36 CEST; 26min ago
Mai 25 15:25:36 Heizschrank systemd[1]: Starting Lighttpd Daemon...
Mai 25 15:25:36 Heizschrank lighttpd[23079]: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists
Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Control process exited, code=exited status=127
Mai 25 15:25:36 Heizschrank systemd[1]: Failed to start Lighttpd Daemon.
Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Unit entered failed state.
Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Failed with result 'exit-code'.</p>
I tried reinstalling lighttpd
multiple times, but I get the same error. How could I now run lighttpd
without causing errors?