[Satellite 6.2] `Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000`

Solution Verified - Updated -

Issue

  • Getting below error when starting apache httpd services on Satellite Server
[root@sat ~]# systemctl status httpd.service
  ● httpd.service - The Apache HTTP Server
     Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2017-10-18 12:39:02 IST; 37min ago
       Docs: man:httpd(8)
             man:apachectl(8)
    Process: 61095 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
    Process: 61077 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
   Main PID: 61077 (code=exited, status=1/FAILURE)

  Oct 27 12:39:02 sat httpd[61077]: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
  Oct 27 12:39:02 sat httpd[61077]: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
  Oct 27 12:39:02 sat httpd[61077]: no listening sockets available, shutting down
  [...]

Environment

  • Red Hat Satellite 6
  • SE Linux On

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.