Bug 1373008 - httpd does not start after reboot: Failed to create shared memory segment on file /run/httpd/authdigest_shm.1082
Summary: httpd does not start after reboot: Failed to create shared memory segment on ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Luboš Uhliarik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-04 18:07 UTC by Randy Barlow
Modified: 2016-10-17 19:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-17 19:53:13 UTC
Type: Bug


Attachments (Terms of Use)

Description Randy Barlow 2016-09-04 18:07:42 UTC
Description of problem:
httpd does not start after rebooting on Rawhide, due to a missing /run/httpd folder in the /run tmpfs.


Version-Release number of selected component (if applicable):
# rpm -q httpd
httpd-2.4.23-4.fc25.x86_64


How reproducible:
Every time.


Steps to Reproduce:
1. Install httpd on Rawhide.
2. Configure httpd to be enabled at boot.
3. Reboot.


Actual results:
httpd is not running, and this error is in the logs:

[root@siren ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@siren ~]# tail -n 3 /var/log/httpd/error_log 
[Sun Sep 04 14:06:12.019381 2016] [auth_digest:error] [pid 1490] (2)No such file or directory: AH01762: Failed to create shared memory segment on file /run/httpd/authdigest_shm.1490
[Sun Sep 04 14:06:12.019394 2016] [auth_digest:error] [pid 1490] (2)No such file or directory: AH01760: failed to initialize shm - all nonce-count checking, one-time nonces, and MD5-sess algorithm disabled
[Sun Sep 04 14:06:12.019404 2016] [:emerg] [pid 1490] AH00020: Configuration Failed, exiting


Expected results:
httpd should be able to start automatically after reboot, and should be able to be manually started after a reboot as well.


Additional info:
Manually creating /run/httpd temporarily fixes the problem, but the directory is erased after next boot and the problem returns.

[root@siren ~]# mkdir /run/httpd
[root@siren ~]# systemctl start httpd  # Success!

Comment 1 Fedora Admin XMLRPC Client 2016-10-17 10:42:06 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Randy Barlow 2016-10-17 19:53:13 UTC
I don't know which package fixed it, but recently my Rawhide box that had been doing this stopped having the problem after a dnf upgrade. So thanks to whoever/whatever fixed it ☺


Note You need to log in before you can comment on or make changes to this bug.