Bug 256643 - www/lighttpd: Default configuration file error prevent lighttpd to start.
Summary: www/lighttpd: Default configuration file error prevent lighttpd to start.
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-16 10:59 UTC by Santiago Martinez
Modified: 2021-06-16 12:35 UTC (History)
1 user (show)

See Also:
linimon: maintainer-feedback? (pkubaj)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Martinez 2021-06-16 10:59:51 UTC
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.