Jump to content
Froxlor Forum
  • 0

Lighttpd Starterror


Jiny

Question

Hi,

ich habe auf meinem frisch installieren Debian Lenny Server Lighttpd und Froxlor versucht zu installieren. Nach fertiger Konfiguration alles Komponenten wollte aber mein Lighttpd nicht mehr starten.

Er bricht den Start mit folgender Fehlermeldung ab:

 

2010-05-31 09:26:39: (configfile.c.855) source: cat /etc/lighttpd/conf-enabled/*.conf line: 10 pos: 1 parser failed somehow near here: /var/www/froxlor

2010-05-31 09:26:39: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 60 pos: 14 parser failed somehow near here: (EOL)

failed!

 

Hier im Forum habe ich gelesen das es zu Problemen f?hren kann wenn er zwei Configs versucht zu laden, daher habe ich die Zeile

 

include_shell "/usr/share/lighttpd/create-mime.assign.pl"

 

mal zu Testzwecken entfernt, aber auch dies hat das Problem nicht gel?st.

 

MfG

jiny

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

include_shell "/usr/share/lighttpd/create-mime.assign.pl" hat damit nichts zu tun, das sind die mime-typ zuweisungen, damit lighttpd weiss, dass eine .pdf datei mir application/pdf behandelt werden muss.

 

- hast du denn auch die Konfigurationen aus dem Froxlor-panel benutzt?

- poste mal deine komplette lighttpd.conf und alles unter /etc/lighttpd/conf-enabled/

Link to comment
Share on other sites

Hi,

ok, ja ich habe die Anweisungen von Froxlor durchgef?hrt.

 

lighttpd.conf:

###############################################################################
# Default lighttpd.conf for Froxlor.
###############################################################################
var.basedir  = "/var/www"
var.logdir   = "/var/log/lighttpd"
var.statedir = "/var/lib/lighttpd"

server.modules = (
"mod_rewrite",
"mod_redirect",
"mod_alias",
"mod_access",
"mod_auth",
"mod_fastcgi",
"mod_accesslog"
)

server.username      = "www-data"
server.groupname     = "www-data"
server.document-root = var.basedir
server.pid-file      = "/var/run/lighttpd.pid"
accesslog.filename   = var.logdir + "/access.log"
server.errorlog      = var.logdir  + "/error.log"

server.indexfiles    = ("index.php", "index.html",
					"index.htm", "default.htm")

server.name			 = "Zensiert"
server.port          = 80
server.bind          = "Zensiert"
url.access-deny = ("~", ".inc")

fastcgi.server = (
".php" => (
	"localhost" => (
		"socket" => "/var/customers/tmp/lighttpd-fcgi-sock-lighttpd",
		"broken-scriptfilename" => "enable",
		"bin-path" => "/usr/bin/php5-cgi",
		"min-procs" => 1,
		"max-procs" => 1,
		"max-load-per-proc" => 4,
		"idle-timeout" => 60,
		"bin-environment" => (
			"UID" => "www-data",
			"GID" => "www-data",
			"PHP_FCGI_CHILDREN" => "0",
			"PHP_FCGI_MAX_REQUESTS" => "10000"
		),
		"bin-copy-environment" => ( "" )
	)
)
)

#### external configuration files
## mimetype mapping
include_shell "/usr/share/lighttpd/create-mime.assign.pl"

include_shell "cat /etc/lighttpd/conf-enabled/*.conf"

include_shell "cat /etc/lighttpd/froxlor-diroptions/*.conf"

 

conf-enabled/10_froxlor_ipandport_Zensiert.conf:

# 10_froxlor_ipandport_Zensiert.conf
# Created 31.05.2010 09:50
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

$SERVER["socket"] == "Zensiert:80" {
# Froxlor default vhost
$HTTP["host"] =~ "^(?:www\.|)Zensiert\.Zensiert$" {
 server.document-root = "/var/www/"
DocumentRoot "/var/www/froxlor"
}
include "conf-enabled/vhosts/51_Zensiert.Zensiert.conf"
include "conf-enabled/vhosts/51_Zensiert.Zensiert.conf"
}

 

conf-enabled\vhosts\51_Zensiert.Zensiert.conf:

# 51_Zensiert.Zensiert.conf
# Created 31.05.2010 09:50
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

$HTTP["host"] =~ "(?:^|\.)Zensiert\.Zensiert\.Zensiert$" {
 server.document-root = "/var/customers/webs/Zensiert/"
 auth.backend = "htpasswd"
 auth.backend.htpasswd.userfile = "/etc/lighttpd/froxlor-htpasswd/1-33713b130faa33149a709c999bc2dee8.htpasswd"
 auth.require = ( 
   "/webalizer/" =>
   (
      "method"  => "basic",
      "realm"   => "Restricted Area",
      "require" => "user=Zensiert"
   )
 )
 fastcgi.server = ( 
".php" => (
	"localhost" => (
	"socket" => "/var/run/lighttpd/Zensiert.Zensiert-php.socket",
	"bin-path" => "/usr/bin/php-cgi -c /var/www/php-fcgi-scripts/Zensiert/Zensiert.Zensiert/php.ini",
	"bin-environment" => (
		"PHP_FCGI_CHILDREN" => "0",
		"PHP_FCGI_MAX_REQUESTS" => "250"
	)
)
)
 )
 accesslog.filename	= "/var/customers/logs/Zensiert-access.log"
}

 

IP, Usernamen und Domain habe ich Zensiert, sonst ist alles original wie es aufm Server l?uft.

 

MfG

Jiny

Link to comment
Share on other sites

Ehm sorry, aber was meinst du jetzt gerade genau was ich machen soll?

Nein ich habe von Apache nicht gewechselt, das ist ein komplett frisches System wo noch nie Apache drauf war.

Link to comment
Share on other sites

Als Admin einloggen -> IPs und Ports -> eintrag editieren -> "DocumentRoot /var/www/froxlor" aus dem Feld Specialsettings entfernen -> links im Men? auf "Configs neuschreiben" -> Cron abwarten

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...