If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Application Server Could not bind to port 80

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
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
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Nov 2003
Posts: 2,800
I'm not really experienced with Linux, but isn't only root allowed to listen on port 80 (or anything < 1024 that is)
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
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) ?
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #5 (permalink)  
Old
Registered User
 
Join Date: Nov 2006
Posts: 10
Port 80

Thanks Kansaslawdog! That did the trick...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On