Operating System - HP-UX
1855753 Members
11875 Online
104103 Solutions
New Discussion

port 1522 in HP-UX sever---11.0

 
sheevm
Regular Advisor

port 1522 in HP-UX sever---11.0

Hi,

DBA wants to bring up Oracle listner using port 1522. It is coming up with protocol error. port 1521 is fine. When I did netstat commnad port 1521 is not open in the server. Is there any other place in the server I need to enable this port?

Thanks
Rajim
be good and do good
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: port 1522 in HP-UX sever---11.0

Shalom Rajim,

With oracle down

netstat -an | grep 1522

make sure something else is not listening.

vi /etc/services

Make sure something else has not reserved it. Oracle does not work well with /etc/services reservation system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: port 1522 in HP-UX sever---11.0

An entry (or lack thereof) in /etc/services (or in the services map if using NIS) does absolutely nothing to "open" or "close" a port. Unless you are blocked by a firewall, you already have a service listening on that port.

Do a 'netstat -an | grep "1522"' and see if you already have a connection. If so, you must kill the process associated with it. I'm will to bet that the DBA already has a listener on that port because that is a very common port for an Oracle listener to use --- although baseball bats should be brought into play because using 1522 (or 1521) isn't playing by the IANA rules.

http://www.iana.org/assignments/port-numbers
If it ain't broke, I can fix that.
spex
Honored Contributor

Re: port 1522 in HP-UX sever---11.0

Hi Rajim,

Double-check that the syntax of listener.ora is correct. Did you restart the listener after you made the change?

# lsnrctl reload

Is tnsnames.ora configured properly on your clients? Can you tnsping the sid from the server? From a client? Is the instance running?

# tnsping

PCS
sheevm
Regular Advisor

Re: port 1522 in HP-UX sever---11.0

Thanks.
be good and do good