Project

General

Profile

[Solved] It doesn't start :(

Added by janPasi over 9 years ago

This is what I get when trying to start LigHTTPD:

Starting web server: lighttpdfailed to execute shell: bash -c /usr/share/lighttpd/use-ipv6.pl 80: No such file or directory
failed to execute shell: bash -c /usr/share/lighttpd/create-mime.assign.pl: No such file or directory
failed to execute shell: bash -c /usr/share/lighttpd/include-conf-enabled.pl: No such file or directory
.

The server comes up, but it doesn't really work. Instead, If I access the website, my browser wants to open the index.html page in text editor. What's wrong here???

The system I'm trying to run LigHTTPD on is Debian Wheezy. The files it claims to be missing are in their correct places, and if I run the same commands from the command line (i.e. bash -c /usr/share/lighttpd/include-conf-enabled.pl), they work just fine. The perl interpreter is also in it's place and working.


Replies (3)

RE: It doesn't start :( - Added by stbuehler over 9 years ago

Could be apparmor/selinux restrictions.

RE: It doesn't start :( - Added by janPasi over 9 years ago

I doubt it, neither of them are in use on this system ;D Maybe it's some weird chroot issue?

RE: [Solved] It doesn't start :( - Added by gstrauss about 7 years ago

unset the SHELL environment variable before starting lighttpd, or else set it to a full path, as in SHELL=/bin/bash, instead of SHELL=bash

    (1-3/3)