Closed AHrubik closed 6 years ago
I have the same error.
stdout - a lot of:
Starting lighttpd
stderr - a lot of:
Tue Feb 13 23:13:17 2018 (440): Fatal Error Unable to create lock file: Bad file descriptor (9)
Hello guys, I had similar issue. What happens if you start the image with -v ~/run:/run ? This fixed the issue for me.
@tchellomello What does that variable do?
@tchellomello I tried it, the error remains ..
@AHrubik:
What does that variable do?
It isn't a variable but a volume mapping.
in the configuration file
/etc/lighttpd/conf-enabled/15-fastcgi-php.conf
is
/var/run/lighttpd/php.socket
defined.
But the directory/var/run/lighttpd
is missing.
error.log from lighthttpd: (mod_fastcgi.c.984) bind failed for: unix:/var/run/lighttpd/php.socket-0 No such file or directory
New 3.3 image solved problems.
Thank you for your time and effort.
Closing.
|# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/diginc/pi-hole latest 6b77d5329fd4 4 weeks ago 330.5 MB docker.io/diginc/pi-hole f9163db108ed 8 months ago 143.7 MB
docker run -d --name piholeB -p 53:53/tcp -p 53:53/udp -p 80:80 -e ServerIP=192.168.1.2 -e VIRTUAL_HOST=192.168.1.2 --restart=unless-stopped diginc/pi-hole:latest
|# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0a4b05ee07d0 diginc/pi-hole:latest "/init" 16 minutes ago Up 6 minutes 0.0.0.0:53->53/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:53->53/udp piholeB
No WebGUI DNS resolution works lighttpd won't start
Sample log output