HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TNS listener problem
Operating System - HP-UX
1834167
Members
2667
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-23-2005 08:44 PM
02-23-2005 08:44 PM
TNS listener problem
We have installed RAC (9iR2) on 2 nodes, with HP-UX 11.11 on them.
We have 2 dbs, a test and a real one.
We set up the test listeners to listen on the 1521 port and the real listeners on the 1525 port, in the listener.ora files (one for each node).
When we try to connect to the the real db through the Oracle Enterprise Manager Console we get the msg: TNS:no listener.
I run the lsnrctl start and then the lsnrctl status and I get:
Connecting to ...(PORT=1521))
STATUS of the LISTENER
----------------------
Alias LISTENER
...
The listener supports no services
The command completed successfully
Is there another way to start the listener of the real db?
We have 2 dbs, a test and a real one.
We set up the test listeners to listen on the 1521 port and the real listeners on the 1525 port, in the listener.ora files (one for each node).
When we try to connect to the the real db through the Oracle Enterprise Manager Console we get the msg: TNS:no listener.
I run the lsnrctl start and then the lsnrctl status and I get:
Connecting to ...(PORT=1521))
STATUS of the LISTENER
----------------------
Alias LISTENER
...
The listener supports no services
The command completed successfully
Is there another way to start the listener of the real db?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 09:25 PM
02-23-2005 09:25 PM
Re: TNS listener problem
Do you have one listener with 2 tcp ports such as: -
LISTENER =
( DESCRIPTION =
( ADDRESS_LIST =
( ADDRESS = (PROTOCOL = TCP)...1521
( ADDRESS = (PROTOCOL = TCP)...1525
)
)
etc, or do you have 2 separate listeners defined eg: -
LISTENER_TEST =
( DESCRIPTION =
...1521
....
LISTENER_LIVE =
( DESCRIPTION =
...1525
etc? If the latter then you'll have to start the listeners separately.
lsnrctl start by default starts a listener called "LISTENER". If you have one called eg LISTENER_LIVE you'll need to do
lsnrctl start LISTENER_LIVE
If that's not the problem, check for listnening TCP ports: -
netstat -an | grep LISTEN | grep -e 1521 -e 1525
You should get 2 lines, otherwise you have a problem with your listener.ora and we can't help more unless you post it.
LISTENER =
( DESCRIPTION =
( ADDRESS_LIST =
( ADDRESS = (PROTOCOL = TCP)...1521
( ADDRESS = (PROTOCOL = TCP)...1525
)
)
etc, or do you have 2 separate listeners defined eg: -
LISTENER_TEST =
( DESCRIPTION =
...1521
....
LISTENER_LIVE =
( DESCRIPTION =
...1525
etc? If the latter then you'll have to start the listeners separately.
lsnrctl start by default starts a listener called "LISTENER". If you have one called eg LISTENER_LIVE you'll need to do
lsnrctl start LISTENER_LIVE
If that's not the problem, check for listnening TCP ports: -
netstat -an | grep LISTEN | grep -e 1521 -e 1525
You should get 2 lines, otherwise you have a problem with your listener.ora and we can't help more unless you post it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 10:50 PM
02-23-2005 10:50 PM
Re: TNS listener problem
If you have 2 listeners when you run the command "ps -ef | grep [t]ns" you should have 2 processes , one for each listener.
Regards
Jean-Luc
Regards
Jean-Luc
fiat lux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 11:32 PM
02-23-2005 11:32 PM
Re: TNS listener problem
Thanks for your answers.
I have 2 seperate listeners and I used
the lsnrctl start listener_name command.
I have 2 seperate listeners and I used
the lsnrctl start listener_name command.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP