Skip to content

httpd fails to start on new install of ROCKS7 #35

@mjcollin

Description

@mjcollin

After installing ROCKS7 on a head node, trying to run insert-ethers produces this error:

error - unable to download kickstart.
Verify httpd is running with 'service httpd start'

Sure enough, httpd is not running, in /var/log/httpd/error_log:

[Thu Jan 11 14:15:33.463322 2018] [auth_digest:notice] [pid 29948] AH01757: generating secret for digest authentication ...
[Thu Jan 11 14:15:33.463369 2018] [auth_digest:error] [pid 29948] (2)No such file or directory: AH01762: Failed to create shared memory segment on file /run/httpd/authdigest_shm.29948
[Thu Jan 11 14:15:33.463381 2018] [auth_digest:error] [pid 29948] (2)No such file or directory: AH01760: failed to initialize shm - all nonce-count checking, one-time nonces, and MD5-sess algorithm disabled
[Thu Jan 11 14:15:33.463387 2018] [:emerg] [pid 29948] AH00020: Configuration Failed, exiting

It appears that /run/httpd is missing from the system and this is described as potentially being fixed in an update:

https://bugzilla.redhat.com/show_bug.cgi?id=1215667

Workaround is to create the directory manually:

mkdir /run/httpd
chown root:apache /run/httpd
chmod 0710 /run/httpd
service httpd start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions