|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
[SOLVED] lighttpd can't find /dev/null?
UPDATE: solution is in the thread below!
I'm trying to use lighttpd on OpenBSD 6.9, but when I try to run it with the default settings, I get the following: Code:
2021-06-11 19:12:31: configfile.c.1380) opening /dev/null failed: No such file or directory 2021-06-11 19:12:31: server.c.1509) Opening errorlog failed. Going down. Anyone had this happen before, and any tips on where to start looking? (I can confirm that /dev/null exists , and is world-readable...) Last edited by paultgg; 13th June 2021 at 02:51 AM. Reason: Found a solution |
|
|||
The solution is here (courtesy of gumnos on Reddit):,
...but the short version is that, since lighttpd is chrooted, you have to create a /dev/null device within the chroot location (default is /var/www/). |
Tags |
lighttpd |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
/dev/null was a regular file? | beavers | OpenBSD General | 2 | 24th July 2019 10:02 AM |
Security Web server backdoor also booby traps lighttpd and NGINX | J65nko | News | 0 | 8th May 2013 09:50 PM |
OpenBSD OpenBSD Reliability Fix: kernel NULL pointer dereference in getsockopt() | J65nko | News | 0 | 28th October 2009 11:56 PM |
lighttpd + PHP on OpenBSD 4.5 | amscotti | OpenBSD Packages and Ports | 6 | 24th June 2009 11:43 AM |
Problems getting lighttpd working with php and fcgi | pormogo | FreeBSD Ports and Packages | 3 | 6th June 2008 10:02 PM |