清除Apache后Lighttpd不启动

我试图在kubuntu 16.04上从Apache迁移到Lighttpd。 我用apt-get remove --purge apache2然后apt-get install lighttpd

运行systemctl start lighttpd我得到了错误信息

  Job for lighttpd.service failed because the control process exited with error code. See "systemctl status ligttpd.service" and "journalctl -xe" for details. 

journalctl -xe的内容是:结果失败。

 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 

systemctl状态的输出是:

 ● 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> 

我试过重新安装lighttpd多次,但我得到同样的错误。 我怎么现在可以运行lighttpd而不会导致错误?

好的,我在新的输出中看到这是一个已知的错误。 见https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1453463

我寻找的文本是:

 undefined symbol: FAMNoExists 

build议的解决方法是:

 sudo apt-get install gamin 

与基于Ubuntu 16.04的Linux Mint 18.2有相同的问题。 Lighttpd似乎没有运行,并得到像FAM东西或其他的奇怪的错误。 我无法加载网页http://pi.hole/admin/ 。 所以sudo apt安装gamin,然后做了sudo pihole -r(重新安装'子系统')

然后一切看起来都OK。 虽然我必须解决Archer C7错误,它不会让我设置路由器使用本地PC作为DNS服务器(运行Pihole的PC),但这是一个不同的问题。