- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ORACLE listener error: already in use [but sometim...
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
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
тАО08-20-2006 08:56 PM
тАО08-20-2006 08:56 PM
ORACLE listener error: already in use [but sometimes]
My box contains several databases. They are started in different startup scripts.
One of the listener didn't start from startup script. The error messages is:
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=node5)(PORT=1531)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
HPUX Error: 226: Address already in use
Listener failed to start. See the error message(s) above...
I realized one hour later. Then I ran:
lsof -i :1531
but no process is displayed.
Then I launched the listener and started fine.
Why was port 1531 in use ? Which process might use it ?
I searched in IANA port list. That port number is for RAP-SERVICE. Is that service used in HP-UX ? What is RAP-SERVICE ?
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2006 09:18 PM
тАО08-20-2006 09:18 PM
Re: ORACLE listener error: already in use [but sometimes]
pls post your tnsnames.ora and listener.ora
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2006 09:50 PM
тАО08-20-2006 09:50 PM
Re: ORACLE listener error: already in use [but sometimes]
# Generated by Oracle configuration tools.
SID_LIST_LISTENER_DWH =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u700/app/oracle/product/ora92)
(PROGRAM = extproc)
)
)
LISTENER_DWH =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = node5)(PORT = 1531))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
SID_LIST_LISTENER_DWH =
(SID_LIST =
(SID_DESC =
(SID_NAME = dwh01)
(ORACLE_HOME = /u700/app/oracle/product/ora92)
)
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2006 09:56 PM
тАО08-20-2006 09:56 PM
Re: ORACLE listener error: already in use [but sometimes]
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nodo5 )(PORT = 1531))
)
(CONNECT_DATA =
(SID = DWH01)
)
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2006 10:42 PM
тАО08-20-2006 10:42 PM
Re: ORACLE listener error: already in use [but sometimes]
it may be that another process that is configured to run on port 1531.
try to run and post the output of:
netstat -an|grep 1531|grep -i listen
also verify your /etc/services
you may wish to add the following line in it:
listener 1531/tcp
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2006 10:56 PM
тАО08-20-2006 10:56 PM
Re: ORACLE listener error: already in use [but sometimes]
lsnrctl start listener_dwh
lsnrctl stop listener_dwh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2006 12:31 AM
тАО08-21-2006 12:31 AM
Re: ORACLE listener error: already in use [but sometimes]
you are searching at the wrong corner:
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=node5)(PORT=1531)))
-> TCP is OK
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
-> IPC is your problem.
I suspect you have some kernel resorces too low (ipc / sem / shm parameters). Check the documetation for correct kernel parameters !
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 06:09 PM
тАО09-13-2006 06:09 PM
Re: ORACLE listener error: already in use [but sometimes]
Now, kernel parameters of my box fit the Oracle9i 64bit requisites for HP-UX 11.11:
# kmtune | grep -e ^msg -e ^shmm -e ^sem
msgmap 4098 - (MSGTQL+2)
msgmax 8192 Y 8192
msgmnb 16384 Y 16384
msgmni 4096 - (NPROC)
msgseg 32767 - 32767
msgssz 8 - 8
msgtql 4096 - (NPROC)
sema 1 - 1
semaem 16384 - 16384
semmap 4098 - (SEMMNI+2)
semmni 4096 - 4096
semmns 8192 - (SEMMNI*2)
semmnu 4092 - (NPROC-4)
semmsl 2048 Y 2048
semume 10 - 10
semvmx 32767 - 32767
shmmax 4294967296 Y 4294967296
shmmni 512 - 512
But the listener still shows the behaviour explained above.
P.D: I'm not a DB admin. What the clausule '(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))'
is for ?. The other listener.ora files don't include it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 07:50 PM
тАО09-13-2006 07:50 PM
Re: ORACLE listener error: already in use [but sometimes]
I found a web page in internet where is mentioned the use of IPC protocol in listener.ora. The key here is use different KEY clause values in different listener config files. For example, for the first listener:
(KEY = EXTPROC1 )
for the second listener:
(KEY = EXTPROC2 )
and so on...
In my case, both KEYs were the same. Thus, second listener startup reported "already in use" because first one already was running with that KEY value.