You are not logged in.

#1 2018-12-27 22:48:46

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,210

[solved] What creates the directories in /run? /run/http disappears

For some reason in the recent past (can't pinpoint it as I run updates more often than I access the httpd service in question) my httpd has been failing to start on a server.

The error message logged in /var/log/httpd/error_log just says

[Thu Dec 27 10:19:59.333708 2018] [core:error] [pid 901] AH00100: httpd: could not log pid to file /run/httpd/httpd.pid

Creating /run/httpd and restarting httpd fixes this, but that doesn't survive reboots obviously since it's a tmpfs.

My main laptop has the httpd directory without needing it manually created, so I'm not sure what the difference is. Both are fully updated. What creates the contents of /run anyway?

EDIT: On further investigation, this old bug seems related, but its fixed. Also, systemd-tmpfiles-setup.service seems to be what would need to create these folders

EDIT2: Randomly, this forum post mentions that permissions on / may be the problem. Sure enough my / was owned by user. No idea how/when this happened.... changing the perms fixes this

Last edited by ngoonee (2018-12-27 23:02:54)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB