Portál AbcLinuxu, 1. listopadu 2025 17:26
sudo service lighttpd restart,
tak to napíše Job for lighttpd.service failed because the control process exited with error code. See "systemctl status lighttpd.service" and "journalctl -xe" for details.Nevíte, kde by mohla být chyba. Cestu k adresáři index.html mám správně.
Řešení dotazu:
server.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
# "mod_rewrite",
)
server.document-root = "/home/vita/Dokumenty/pocasi"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
See "systemctl status lighttpd.service" and "journalctl -xe" for details.
vita@vita-PC:~$ systemctl status lighttpd.service ● lighttpd.service - Lighttpd Daemon Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: Active: failed (Result: exit-code) since Pá 2019-05-24 17:27:23 CEST; 7min ag Process: 896 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf kvě 24 17:27:22 vita-PC systemd[1]: Starting Lighttpd Daemon... kvě 24 17:27:23 vita-PC lighttpd[896]: /usr/sbin/lighttpd: symbol lookup error: kvě 24 17:27:23 vita-PC systemd[1]: lighttpd.service: Control process exited, co kvě 24 17:27:23 vita-PC systemd[1]: Failed to start Lighttpd Daemon. kvě 24 17:27:23 vita-PC systemd[1]: lighttpd.service: Unit entered failed state. kvě 24 17:27:23 vita-PC systemd[1]: lighttpd.service: Failed with result 'exit-c lines 1-11/11 (END)...skipping... ● lighttpd.service - Lighttpd Daemon Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Pá 2019-05-24 17:27:23 CEST; 7min ago Process: 896 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=127) kvě 24 17:27:22 vita-PC systemd[1]: Starting Lighttpd Daemon... kvě 24 17:27:23 vita-PC lighttpd[896]: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists kvě 24 17:27:23 vita-PC systemd[1]: lighttpd.service: Control process exited, code=exited status=127 kvě 24 17:27:23 vita-PC systemd[1]: Failed to start Lighttpd Daemon. kvě 24 17:27:23 vita-PC systemd[1]: lighttpd.service: Unit entered failed state. kvě 24 17:27:23 vita-PC systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.