Opened 19 years ago

Closed 18 years ago

#7910 closed defect (fixed)

Apache tries to write pid to /opt/local/run/httpd.pid

Reported by: mburger@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

When starting Apache 1.3.34, it tries to write pid to /opt/local/run/httpd.pid. But the httpd.pid file should be located in directory /opt/local/var/run/. I think the line

configure.args-append --with-layout=FreeBSD --logfiledir=${prefix}/var/log/httpd --runtimedir=${prefix}/run

in the apache Portfile causes that bug, the runtimedir option should be ${prefix}/var/run, shouldn't?

Change History (2)

comment:1 Changed 19 years ago by mburger@…

Here's a workaround:

# cd /opt/local # sudo ln -s var/run run

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

This has been fixed. Thanks for reporting it.

Note: See TracTickets for help on using tickets.