Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    10

    Application Server Could not bind to port 80

    Installed AS on CentOS, everything works except when I try to have apache listen on port 80, I get [Wed Nov 29 16:47:34 2006] [crit] (13)Permission denied: make_sock: could not bind to port 80 .... Checked for other process that might have a hold of 80, but there is none. I can start apache as root from the os , but not as the oracle user. Disabled SELinux, but still nothing. Followed the install instructions but am missing something. Any ideas?

    Thanks

  2. #2
    Join Date
    Nov 2003
    Posts
    2,817
    I'm not really experienced with Linux, but isn't only root allowed to listen on port 80 (or anything < 1024 that is)

  3. #3
    Join Date
    May 2004
    Location
    Dominican Republic
    Posts
    721
    Well, I can as any user create a socket file and have it listen on anything. I believe his problem relies on file permissions. How about (for this sake) if you set your Oracle user belong to your system group (or the group root belongs to) ?

  4. #4
    Join Date
    Nov 2006
    Posts
    1

    Set .apachectl file permission

    There should be a .apachectl file in the Apache/Apache/bin directory of the AS installation. In order to bind to port 80 you need to do this:

    1) You need to set the owner to root and the group to nobody for the .apachectl file.
    2) Set the file permission to -rwsr-s---.
    3) Modify the httpd.conf file and set user to oracle and group to nobody.
    4) Restart the http daemon and it should bind to port 80.
    Last edited by kansaslawdog; 11-30-06 at 11:16.

  5. #5
    Join Date
    Nov 2006
    Posts
    10

    Port 80

    Thanks Kansaslawdog! That did the trick...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •