Pat*_*aul 3 kubuntu lighttpd apache-2.4
我尝试在 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.
Run Code Online (Sandbox Code Playgroud)
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
Run Code Online (Sandbox Code Playgroud)
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>
Run Code Online (Sandbox Code Playgroud)
我尝试重新安装lighttpd多次,但出现相同的错误。我现在如何运行lighttpd而不导致错误?
好的,我在新输出中看到这是一个已知错误。见https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1453463
我找的文字是:
undefined symbol: FAMNoExists
Run Code Online (Sandbox Code Playgroud)
建议的解决方法是:
sudo apt-get install gamin
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3253 次 |
| 最近记录: |