1827214 Members
2646 Online
109716 Solutions
New Discussion

oracle on tcp <1024

 
Michal Toth
Regular Advisor

oracle on tcp <1024

Hi all,

i have rather interesting issue here, i've not seen anything like this before. On on of my 11.11, oracle process binds to port 852 from time to time - i was unable to identify any pattern, it just happens. The problem is, that 852 is used by RSM host agent, which of course is not happy with oracle being there as well. I was under impression, that no nonprivileged process is allowed to bind to tcp ports below 1024 and as far as I know, there are no tunables to control this behavior. Strange enough, oracle binds to that process even if RSM agent is already running and listening on that port.

Any ideas on what could possibly go wrong here?


here's a snippet from lsof output + relevant netstat (rsmha = 852 - I put it in /etc/services)
- attached

2 REPLIES 2
TTr
Honored Contributor

Re: oracle on tcp <1024

I don't see port 852 in your attachment. The hprsmha is listening to port 6194.
How did you verify that oracle was bound to port 852?
What about a "netstat -a" output?
You are right about the ports below 1024. So the only way oracle could bind to port 852 is if it ran as root, ie the oracle binary (or the listener binary) was set to SUID-root.

Also if one process is bound to a port, a second process can not bind to that same port.

And a note about the /etc/services file. Putting an entry in the services file about a port (such as 852 and RSM) and a service does NOT reserve that port.

You have to provide us with more details...
Michal Toth
Regular Advisor

Re: oracle on tcp <1024

Hi TTr,

hprsmha listens on 852. It's translated to hprsmha, because I put that line into /etc/services. Also in netstat you can see port 852.