FAQ | Search | Memberlist | Usergroups | Statistics | Profile | Log in to check your private messages | Log in | Register

cannot assign requested address make_sock

Select Your Language

Infrastructure and management.

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS
  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation
  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management

httpd.service failed to start with an error "Cannot assign requested address: AH00072: make_sock: could not bind to address" during system boot

httpd.service fails to start during system boot when both of the following cases are satisfied: - httpd is configured to listen on a specific IP address in its configuration - NetworkManager.service is disabled

The following messages can be seen when attempting to start the httpd service during system boot:

  • During boot systemd executes httpd.service before the network is completely up and running, which causes httpd to fail. This was reported in Fedora 17 as Bug 921566 - httpd does not wait for network start and fails. When it is going to be fixed in RHEL7?

Is there a fix available for https://bugzilla.redhat.com/show_bug.cgi?id=1352139 in RHEL7?

The issue occurs with IPv6 and it is not fixed by the newer package than systemd-219-42.el7.

Environment

  • httpd-2.4.6-45.el7.x86_64
  • NetworkManager-1.4.0-12.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content

Formatting Tips

Here are the common uses of Markdown.

Request a English Translation

Generating machine translation.

Apache – Cannot assign requested address: make_sock: could not bind to address

apache http webserver

Previously my IP was 10.0.6.63 , the apache server was working fine.

On reboot DHCP changed my IP address to 10.0.15.12 Now when i try to start apache it is giving me following error

Starting httpd: [Fri Jan 11 16:17:28 2013] [warn] module wsgi_module is already loaded, skipping (99)Cannot assign requested address: make_sock: could not bind to address 10.0.6.63:80 no listening sockets available, shutting down Unable to open logs

Best Solution

If you are working with a moving IP address do no use IP based virtualhosts but named based virtulahosts .

Check this apache documentation link

Related Solutions

Linux – amazon ec2 – apache server restart issue.

I ran into this problem when I installed apache from source, but then tried to run

which was using a pre-installed version of apache. The stop directive in /etc/init.d/httpd was not removing the httpd.pid file that was created when starting the source-installed version of apache.

To determine if this is also the reason for your problem, find where the httpd.pid file is getting set when you run

If you installed from source and apache2 is living in /usr/local/apache2, then the httpd.pid file should get created in /usr/local/apache2/logs. When you stop apache by running

this file should get removed. So to test if the httpd.pid file is causing your problem, start apache by calling

and locate the httpd.pid file. Then try stopping apache by using

If the original httpd.pid file is still present, then that is why apache is unable to start when you use

To get my /etc/init.d/httpd file to work correctly, I explicitly put the call to apachectl in the start and stop methods:

Apache – Starting apache fails (could not bind to address 0.0.0.0:80)

Worked for me running this command:

Related Question

OHS 12c Does Not Start With The Error: "Cannot assign requested address: make_sock: could not bind to address" (Doc ID 2001771.1)

Last updated on MAY 01, 2023

When trying to start Oracle HTTP server (OHS), the OHS does not start and the following errors are reported in the logs:

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.

IMAGES

  1. Mongodb startup error (Failed to set up listener: SocketException: Cannot assign requested

    cannot assign requested address make_sock

  2. Linux客户端连接报错:Cannot assign requested address_测试生财的技术博客_51CTO博客

    cannot assign requested address make_sock

  3. Cannot assign requested address错误解决

    cannot assign requested address make_sock

  4. php连接memcahed出现Cannot assign requested address (99)的解决方法 -云梦编程网

    cannot assign requested address make_sock

  5. Cannot assign requested address

    cannot assign requested address make_sock

  6. 远程jupyter+pycharm配置(三)之 启动jupyter报错:OSError: [Errno 99] Cannot assign requested address_51CTO博客

    cannot assign requested address make_sock

VIDEO

  1. August 2023: Can Knitters Be Minimalists? WIP Update & a Giveaway

  2. YoungBoy Never Broke Again

  3. Error Unable to copy file obj Debug dll to bin Debug

  4. Fix The smart card cannot perform the requested operation

  5. October 2023: Colorwork Episode and A Giveaway

  6. requested Amount cannot be Dispensed my ATM card problems sbi bank#shorts #video withdraw debit card

COMMENTS

  1. What Is the Meaning of Address Service Requested?

    “Address service requested” for U.S. mail means a piece of mail is forwarded, with no charge, and a separate notice of a new address is provided to the sender for a fee. This occurs for up to a year if a forwarding address is on file with t...

  2. What Is a DHCP Host Name?

    A DHCP host name is an abbreviation for dynamic host configuration protocol, which is a standardized networking protocol used primarily for assigning dynamic IP addresses. Computers use the DHCP to request Internet Protocol parameters, incl...

  3. How Do You Make a Friend Request on Facebook?

    To make a friend request on Facebook, find the person’s profile using their name or email address, go to their profile, and click the Add Friend button. The person is notified that you want to add them as a friend.

  4. (99)Cannot assign requested address: make_sock: could not bind to

    Все права на

  5. Cannot assign requested address: make_sock: could not bind to

    6 Answers 6 ... If you are working with a moving IP address do no use IP based virtualhosts but named based virtulahosts. ... So where does that IP

  6. [SOLVED] Apache:Cannot assign requested address,bind to port

    (99)Cannot assign requested address: make_sock: could not bind to address 24.61.157.141:80 no listening sockets available, shutting down

  7. httpd.service failed to start with an error "Cannot assign requested

    httpd: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 12.34.56.78:80 httpd: no listening sockets available

  8. apache2 Cannot assign requested address: AH00072: make_sock

    "apache2 Cannot assign requested address: AH00072: make_sock: co", +/–. Сообщение от lotric (ok), 03-Апр-21, 20:16. debian 9 как сделать задержку при старте

  9. HTTPD (99)Cannot assign requested address: AH00072: make_sock

    HTTPD (99)Cannot assign requested address: AH00072: make_sock: could not bind to address · Is 172.158. · @HBruijn Its actually a virtual IP

  10. 1798841

    Summary: [httpd] (99)Cannot assign requested address: AH00072: make_sock: could not bi... Keywords: Status: CLOSED NOTABUG. Alias

  11. Apache Network Error AH00072: make_sock: could not bind to

    An Apache AH00072: make_sock: could not bind to address error message is generated when there is another process listening on the same port that

  12. [nginx, apache2] Cannot assign requested address

    ... Cannot assign requested address) apache2 (99)cannot assign requested address: ah00072: make_sock: could not bind to address XXX.XX.XXX.XXX

  13. Apache

    which was using a pre-installed version of apache. The stop directive in /etc/init.d/httpd was not removing

  14. OHS 12c Does Not Start With The Error: "Cannot assign requested

    Oracle HTTP Server - Version 12.1.2.0.0 and later: OHS 12c Does Not Start With The Error: "Cannot assign requested address: make_sock: could