Before www/apache24 was running on this jail. Removed it and restarted the jail after installing www/lighttpd
Snippets from the configuration /usr/local/etc/lighttpd/lighttpd.conf:
I created the sockets directory manually:
What could be going wrong?
Code:
root@http52:~ # service lighttpd start
Starting lighttpd.
2016-03-06 07:24:16: (network.c.250) socket failed: Protocol not supported
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd
Snippets from the configuration /usr/local/etc/lighttpd/lighttpd.conf:
Code:
server.bind = "192.168.56.52"
var.home_dir = "/var/spool/lighttpd
var.socket_dir = home_dir + "/sockets"
# IPv4 listening socket
$SERVER["socket"] == "192.168.56.52:80" { }
I created the sockets directory manually:
Code:
mkdir -p /var/spool/lighttpd/sockets/
chown www:www /var/spool/lighttpd/sockets/
What could be going wrong?