Dokuwiki + Lighttpd - Lighttpd не запускается, включаемый файл не найден - PullRequest
1 голос
/ 02 ноября 2019

Установленная DokuWiki работала на моей старой ОС, после переустановки, чтобы устранить проблему с драйвером, я больше не могу запустить ее. Попытка выполнить команду sudo lighttpd -f wiki.conf приводит к следующему:

2019-11-02 02:49:20: (configfile.c.1232) include file not found:  conf-enabled/10-fastcgi.conf 
2019-11-02 02:49:20: (configfile.c.1154) source: /usr/share/lighttpd/include-conf-enabled.pl line: 2 pos: 8 parser failed somehow near here: (EOL) 
2019-11-02 02:49:20: (configfile.c.1154) source: wiki.conf line: 39 pos: 1 parser failed somehow near here: (EOL)

Я убедился, что файл, о котором идет речь, существует. Его содержимое выглядит следующим образом:

# /usr/share/doc/lighttpd/fastcgi.txt.gz
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi

server.modules += ( "mod_fastcgi" )

wiki.conf выглядит следующим образом:

server.modules = (
    "mod_access",
    "mod_alias",
    "mod_compress",
    "mod_redirect",
    "mod_fastcgi",
    "mod_setenv"
)

server.document-root        = "/home/void/wiki/fey/doku"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/home/void/wiki/fey/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 244


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" )

fastcgi.server = (".php" => ((
    "bin-path" => "/usr/bin/php-cgi",
    "socket" => "/tmp/php.socket"
)))
cgi.assign = (".php" => "/usr/bin/php")

setenv.add-response-header = ("Access-Control-Allow-Origin"=> "*")

# 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"

error.log пуст.

Любая помощь очень ценится.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...