Unable to start httpd service

Solution Verified - Updated -

Issue

Service httpd cannot be started. The following messages can be found in the /var/log/messages log:

Sep 24 12:34:56 hostname systemd: httpd.service operation timed out. Terminating
...
Sep 24 12:34:56 hostname systemd[1]: httpd.service stopping timed out (2). Killing.
Sep 24 12:34:56 hostname systemd[1]: Failed to start The Apache HTTP Server.
...
Sep 24 12:34:56 hostname kernel: INFO: task httpd:10371 blocked for more than 120 seconds.
Sep 24 12:34:56 hostname kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 24 12:34:56 hostname kernel: httpd           D ffff88103f953680     0 10371      1 0x00000086
Sep 24 12:34:56 hostname kernel: ffff880811bdf820 0000000000000082 ffff8807e9542d80 ffff880811bdffd8
Sep 24 12:34:56 hostname kernel: ffff880811bdffd8 ffff880811bdffd8 ffff8807e9542d80 ffff880f9e107e40
Sep 24 12:34:56 hostname kernel: ffff880f9e107e44 ffff8807e9542d80 00000000ffffffff ffff880f9e107e48
Sep 24 12:34:56 hostname kernel: Call Trace:
Sep 24 12:34:56 hostname kernel: [<ffffffff8160a919>] schedule_preempt_disabled+0x29/0x70
Sep 24 12:34:56 hostname kernel: [<ffffffff81608665>] __mutex_lock_slowpath+0xc5/0x1c0
Sep 24 12:34:56 hostname kernel: [<ffffffff811d0b57>] ? unlazy_walk+0x87/0x140
Sep 24 12:34:56 hostname kernel: [<ffffffff81607acf>] mutex_lock+0x1f/0x2f
Sep 24 12:34:56 hostname kernel: [<ffffffff81601733>] lookup_slow+0x33/0xa7

Environment

RHEL 7.1
httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.