- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 'exlusively' reserving ports ???
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
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
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
тАО06-27-2003 01:33 AM
тАО06-27-2003 01:33 AM
Does anyone know how to 'exclusively' reserve a port for the Oracle listener, as we are sometimes experiencing a conflict when the listener goes to use the port that we previously assigned to for it ?.
See below;
>Attempted to listen on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=****)(PORT=1521)))
>TNS-12542: TNS:address already in use
>TNS-12560: TNS:protocol adapter error
>TNS-00512: Address already in use
>DEC OSF/1 AXP Error: 48: Address already in use
Thanks in advance.
p.s environ: Tru64 alpha server, Oracle 8.1.7
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 01:38 AM
тАО06-27-2003 01:38 AM
Re: 'exlusively' reserving ports ???
When this happens check the port and see what has got it.
I would guess that Oracle has not dropped it from last attempt.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 01:46 AM
тАО06-27-2003 01:46 AM
Re: 'exlusively' reserving ports ???
i don't know of any utility that can reserve a port.
You must reserve it when you install you programs, and be sure not to overlap.
152x are the favorites port for the listener, so usually one avoids using it.
What program is using the port now ? You can check with... on hpux with "netstat -a | grep 1521", i don't know on Tru64.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 01:51 AM
тАО06-27-2003 01:51 AM
Re: 'exlusively' reserving ports ???
I suspect duplicate entries there.
Please post your listener.ora file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 01:52 AM
тАО06-27-2003 01:52 AM
Re: 'exlusively' reserving ports ???
Ah!, a small problem, as it's occuring at 3am, when we shutdown & restart our instances, an ungodly hour for me to get out of bed and come and check !!
Not sure if it's the previous instance of the listener though, as we shutdown Oracle in a safe manner every night with no report of any errors/exceptions & this error is not happening on a regular basis either !?!?
Is there a way to preserve this port exlusively for the listener ?
thanks
j
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 01:57 AM
тАО06-27-2003 01:57 AM
SolutionThese are created under /tmp/.oracle.
Any problems you can remove the .oracle subdirectory and re-start the listener to resolve the problem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 01:59 AM
тАО06-27-2003 01:59 AM
Re: 'exlusively' reserving ports ???
Cron a job for just after 3am to grep usage of ports and pipe it to a file.
Not sure on tru64
Something like this:-
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 02:02 AM
тАО06-27-2003 02:02 AM
Re: 'exlusively' reserving ports ???
massimo - it's the oracle listener using that port at the moment as Oracle is running !
TG - nope, no duplicates in the listener.ora file. we only have two listeners and both have exclusive ports assigned in the file.
???
j
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 02:06 AM
тАО06-27-2003 02:06 AM
Re: 'exlusively' reserving ports ???
The first start is succesfull, but every other subsequent try will lead at this error.
YOu can check in the $ORACLE_HOME/listener/log, if it is the case.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 02:07 AM
тАО06-27-2003 02:07 AM
Re: 'exlusively' reserving ports ???
you can check which is already using 1521 using lsof utility.
You can confirm that if that was due to a different application then you need to think about reserving ports for Oracle listener.
If that was only from Oracle then you go for the troubleshooting way.
THanks