[Bug 256643] lighttpd - Default configuration file error prevent lighttpd to start.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Jun 2021 10:59:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256643

            Bug ID: 256643
           Summary: lighttpd - Default configuration file error prevent
                    lighttpd to start.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sm@codenetworks.net

Lighttpd version "lighttpd-1.4.59" from ports "quarterly" install its default
configuration file, with the "var.state_dir=/run" which is not a valid/default
path on FreeBSD.

this prevents the lighttpd to start. 

Starting lighttpd.
2021-06-16 13:58:37: server.c.1270) opening pid-file failed: /run/lighttpd.pid:
No such file or directory
2021-06-16 13:58:37: server.c.317) unlink failed for: /run/lighttpd.pid: No
such file or directory
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd

Changing the value of "var.state_dir=" to "/var/run" fix the issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.