Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I following this tutorial corectly :

But now i got this error :

    [root@fedora lighttpd]# /etc/init.d/lighttpd start
Starting lighttpd: 2011-03-24 00:06:03: (configfile.c.907) source: /etc/lighttpd/lighttpd.conf line: 326 pos: 92 parser failed somehow near here: include_shell 

How i can fix this? thanks...

share|improve this question
Since it's something related to the confif file we should read the file content – David Costa Mar 24 '11 at 8:10
Please check this out : – Alzea Arafat Mar 24 '11 at 9:41
Lines from 216 to 222 should be uncommented, wipe away the starting pund sign. – David Costa Mar 24 '11 at 9:49
Still not working... [root@fedora lighttpd]# /etc/init.d/lighttpd start Starting lighttpd: 2011-03-24 16:55:29: (configfile.c.848) source: find /etc/lighttpd/lighttpd.conf line: 1 pos: 1 invalid character in variable name 2011-03-24 16:55:29: (configfile.c.904) configfile parser failed at: 2011-03-24 16:55:29: (configfile.c.907) source: /etc/lighttpd/lighttpd.conf line: 328 pos: 1 parser failed somehow near here: (EOL) [FAILED] – Alzea Arafat Mar 24 '11 at 9:55
change the last line from – David Costa Mar 24 '11 at 10:07

In order to make lighty work, starting from this file: You have to:

Configuration syntax corrections:

  1. Uncomment the PHP-fastcgi section so that it opens and close the right number of parenthesis.
  2. Comment the last line which doesn't return valid configuration data + it's a nonsense (to me)

Configure the service to start:

  1. On fedora core use its tools to STOP every other service that uses the port 80 tcp (i.e. Apache)
  2. Using these tools configure lighttpd as a service to be run on the default runlevel.

A brief explanation about the fedora core service configuration tools can be found here:

share|improve this answer
I'd accept this answer. :) – egorgry Mar 24 '11 at 15:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.