Lighttpd não inicia após a limpeza do Apache

3

Eu tentei migrar do Apache para o Lighttpd no kubuntu 16.04. Eu usei apt-get remove --purge apache2 then apt-get install lighttpd

Depois de executar systemctl start lighttpd , recebi a mensagem de erro

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

O conteúdo do journalctl -xe é: O resultado falhou.

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

A saída de systemctl status é:

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

Eu tentei reinstalar lighttpd várias vezes, mas recebo o mesmo erro. Como eu poderia executar lighttpd sem causar erros?

    
por Patently Paul 25.05.2016 / 15:33

1 resposta

6

Ok, vejo na nova saída que esse é um bug conhecido. Consulte o link

O texto que eu procurei foi:

undefined symbol: FAMNoExists

E a solução alternativa sugerida é:

sudo apt-get install gamin
    
por 25.05.2016 / 16:07