This discussion is archived
2 Replies Latest reply: Feb 18, 2013 1:23 AM by 991544 RSS

[SLOVED] httpd: (13)Permission denied

991544 Newbie
Currently Being Moderated
hi,
I am trying to start apache listening on port 9003, but I have got permission error:

+(root)# /etc/init.d/httpd start+
+Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:9003+
+(13)Permission denied: make_sock: could not bind to address 0.0.0.0:9003+
no listening sockets available, shutting down
Unable to open logs
+ [FAILED]+

Apache won't start unless it is on port 80,443,8080 - this 3 ports it are working perfectly, on others there are permission errors.
Unfortunately no logs are produced when this error shows up. Does any one have idea, what's wrong? On the gentoo linux i never had such problem.

I have redirected traffic using ssh, but I will be happy when it works properly.

regards,
kamil

Edited by: 988541 on 18-Feb-2013 01:23
  • 1. Re: httpd: (13)Permission denied
    Avi Miller Guru
    Currently Being Moderated
    988541 wrote:
    Apache won't start unless it is on port 80,443,8080 - this 3 ports it are working perfectly, on others there are permission errors.
    On Oracle Linux, SElinux is enabled by default and is probably denying Apache access to those non-default ports. You will need to configure SElinux to enable Apache to use those ports, or disable SElinux in /etc/sysconfig/selinux.

    See here for more info: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Confined_Services/chap-Managing_Confined_Services-The_Apache_HTTP_Server.html
  • 2. Re: httpd: (13)Permission denied
    991544 Newbie
    Currently Being Moderated
    Thank you very much.

    problem sloved.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points