- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 09:02 AM
тАО09-27-2006 09:02 AM
[CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
Oracle recommends changing the owner of the file .apachectl to root and the permissions to 6750. I did that change but I'm still getting the same message.
Oracle has not been able of helping me so far.
Then I was wondering if any one of the members have heard of this problem and could give me some hints on how to solve it.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 09:07 AM
тАО09-27-2006 09:07 AM
Re: [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
Special permissions are required for Oracle to use a port under 1024. In actuality it is better to use an non-privileged port for Oracle Application's httpd server. Only root can start services that use ports below 1024 and to force oracle into this position would create a security hazard.
Oracle app server needs to own the binaries which conflicts with the root below 1024 rule.
For httpd servies on port 443 the HP Apache releases from http://software.hp.com are more appropriate.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 09:07 AM
тАО09-27-2006 09:07 AM
Re: [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
Special permissions are required for Oracle to use a port under 1024. In actuality it is better to use an non-privileged port for Oracle Application's httpd server. Only root can start services that use ports below 1024 and to force oracle into this position would create a security hazard.
Oracle app server needs to own the binaries which conflicts with the root below 1024 rule.
For httpd services on port 443 the HP Apache releases from http://software.hp.com are more appropriate.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 09:15 AM
тАО09-27-2006 09:15 AM
Re: [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 12:45 AM
тАО09-28-2006 12:45 AM
Re: [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
It sounds as though they are trying to make the program run as root by setting the owner of the executable to root, and setting the setuid bit in the permissions. The permissions would be displayed rwsr-x--- and the file owned by root in your case.
I'm not real familiar with oracle and apache, but are your sure that .apachectl is really the executable? It sounds like maybe just a config file or something.
The application code could start as root, and then change it's effective uid to something more appropriate with setuid()after the bind() is done, if you don't want the program to run as root all the time.
You might also be able to use a port like 9443 and still use SSL for security.
I hope this helps. I'm not an expert in this area, but you asked for hints ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 12:59 AM
тАО09-28-2006 12:59 AM
Re: [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
Perform the following steps to enable Oracle HTTP Server to run as root on ports below 1024:
Log in as root.
Run the following commands in the middle-tier Oracle home:
cd ORACLE_HOME/Apache/Apache/bin
chown root .apachectl
chmod 6750 .apachectl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 05:49 AM
тАО09-28-2006 05:49 AM
Re: [CRIT] (13)PERMISSION DENIED: MAKE_SOCK: COULD NOT BIND TO PORT 443
Marco, I already did what you suggested but it didn't work for me.
Actually I moved the OAS installation to another machine using backups from past January, and I was able of configuring the port 443 for SSL after doing the commands that Mario mentioned.
Then my next step is to restore my January backups to the machine I'm having problems with and try to do the same configuration. If it doesn't work, I don't know what else to do.
I'll keep you posted.
Thank you!