lighttpd startet nicht

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

bizarre

Benutzer
Registriert
12. März 2010
Beiträge
66
Reaktionspunkte
0
Punkte
0
Hallo Leute,

da es einen Bug seitens der SSL-Direktiven in einer älteren Version gab, updatete ich lighttpd auf die aktuelle Version und sicherte die Config zurück.
Leider startet der Server nicht mehr. Ich bekomme nun folgende Fehlermeldung:

Rich (BBCode):
2010-09-20 20:55:41: (plugin.c.131) Cannot load plugin mod_fastcgi more than once, please fix your config (we may not accept such configs in future releases

Kann damit jemand was anfangen?

Vielen Dank für die Hilfe im Voraus!
 
Poste doch mal die hier angemoserte Konfigurationsdatei.

Itari
 
Das Problem ist, ich weiß auch gar nicht welche Konfig er meint?
Die lighttpd.conf? Die 10-php-fcgi.conf?

lighttpd.conf:
Rich (BBCode):
server.modules              = (
                                "mod_access",
                                "mod_fastcgi",
                                "mod_cgi",
                                "mod_accesslog" )
server.document-root        = "/opt/share/www/"
server.errorlog             = "/opt/var/log/lighttpd/error.log"
index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                                "lighttpd/index.html" )
mimetype.assign             = (
  ".pdf"          =>      "application/pdf",
  ".sig"          =>      "application/pgp-signature",
  ".spl"          =>      "application/futuresplash",
  ".class"        =>      "application/octet-stream",
  ".ps"           =>      "application/postscript",
  ".torrent"      =>      "application/x-bittorrent",
  ".dvi"          =>      "application/x-dvi",
  ".gz"           =>      "application/x-gzip",
  ".pac"          =>      "application/x-ns-proxy-autoconfig",
  ".swf"          =>      "application/x-shockwave-flash",
  ".tar.gz"       =>      "application/x-tgz",
  ".tgz"          =>      "application/x-tgz",
  ".tar"          =>      "application/x-tar",
  ".zip"          =>      "application/zip",
  ".mp3"          =>      "audio/mpeg",
  ".m3u"          =>      "audio/x-mpegurl",
  ".wma"          =>      "audio/x-ms-wma",
  ".wax"          =>      "audio/x-ms-wax",
  ".ogg"          =>      "application/ogg",
  ".wav"          =>      "audio/x-wav",
  ".gif"          =>      "image/gif",
  ".jpg"          =>      "image/jpeg",
  ".jpeg"         =>      "image/jpeg",
  ".png"          =>      "image/png",
  ".xbm"          =>      "image/x-xbitmap",
  ".xpm"          =>      "image/x-xpixmap",
  ".xwd"          =>      "image/x-xwindowdump",
  ".css"          =>      "text/css",
  ".html"         =>      "text/html",
  ".htm"          =>      "text/html",
  ".js"           =>      "text/javascript",
  ".asc"          =>      "text/plain",
  ".c"            =>      "text/plain",
  ".cpp"          =>      "text/plain",
  ".log"          =>      "text/plain",
  ".conf"         =>      "text/plain",
  ".text"         =>      "text/plain",
  ".txt"          =>      "text/plain",
  ".dtd"          =>      "text/xml",
  ".xml"          =>      "text/xml",
  ".mpeg"         =>      "video/mpeg",
  ".mpg"          =>      "video/mpeg",
  ".mov"          =>      "video/quicktime",
  ".qt"           =>      "video/quicktime",
  ".avi"          =>      "video/x-msvideo",
  ".asf"          =>      "video/x-ms-asf",
  ".asx"          =>      "video/x-ms-asf",
  ".wmv"          =>      "video/x-ms-wmv",
  ".bz2"          =>      "application/x-bzip",
  ".tbz"          =>      "application/x-bzip-compressed-tar",
  ".tar.bz2"      =>      "application/x-bzip-compressed-tar"
 )
accesslog.filename          = "/opt/var/log/lighttpd/access.log"
url.access-deny             = ( "~", ".inc", ".sqlite" )
$HTTP["url"] =~ "\.pdf$" {
  server.range-requests = "disable"
}
static-file.exclude-extensions = ( ".fcgi", ".php", ".pl", ".py", ".rb" )
server.port                = 81
server.pid-file            = "/var/run/lighttpd.pid"
cgi.assign                 = ( ".pl"  => "/opt/bin/perl",
                               ".cgi" => "/opt/bin/perl" )
include_shell "cat /opt/etc/lighttpd/conf.d/*.conf"

10-php-fcgi.conf:
Rich (BBCode):
server.modules += ( "mod_fastcgi" )
fastcgi.server = ( ".php" =>
                   ( "localhost" =>
                     ( "socket" => "/tmp/php-fcgi.sock",
                       "bin-path" => "/opt/bin/php-fcgi",
                       "max-procs" => 1,
                       "min-procs" => 1,
                       "max-load-per-proc" => 4,
                     )
                   )
                 )
 
Nimm doch mal die 1. Zeile

server.modules += ( "mod_fastcgi" )

aus der Datei 10-php-fcgi.conf heraus und probiere es dann.

Itari
 
Ok, bekomme nun keine Fehlermeldung, jedoch läuft der Prozess nicht, sprich der Server startet trotzdem nicht.
 
Dann mache doch mal die ganz Datei leer.

Itari
 
Habe es hinbekommen.
Die Fehlermeldung besteht zwar immer noch, lighttpd startet jedoch wieder.
Letztendlich war das Problem der server.event-handler, welcher auf "poll" gesetzt werden musste.
 
Kannst ja noch mal versuchen die Zeile zu löschen (wie oben) ... offensichtlich wird das Teil ja 2x geladen.

Itari
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat