473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Understanding "lsnrctl status"

Hi!

I want to clarify, for myself, some basic facts about Oracle Client
Server configuration. I start with the listener configuration on the
server side.

What block(s) in what configuration file(s) defines the services
(shown below)?

What causes there to be more than one instance of a service (shown
below)?

Output from "lsnrctl status" (Oracle 9.2.0.1.0 on Sun Solaris 8):

.........................

Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "ftgdb" has 2 instance(s).
Instance "ftgdb", status UNKNOWN, has 1 handler(s) for this
service...
Instance "ftgdb", status READY, has 1 handler(s) for this service...
Service "ftgdbXDB" has 1 instance(s).
Instance "ftgdb", status READY, has 1 handler(s) for this service...
The command completed successfully

Regards Christian Eriksson
Jul 19 '05 #1
4 57055
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
Hi!

I want to clarify, for myself, some basic facts about Oracle Client
Server configuration. I start with the listener configuration on the
server side.

What block(s) in what configuration file(s) defines the services
(shown below)?

What causes there to be more than one instance of a service (shown
below)?

Output from "lsnrctl status" (Oracle 9.2.0.1.0 on Sun Solaris 8):

........................

Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "ftgdb" has 2 instance(s).
Instance "ftgdb", status UNKNOWN, has 1 handler(s) for this
service...
Instance "ftgdb", status READY, has 1 handler(s) for this service...
Service "ftgdbXDB" has 1 instance(s).
Instance "ftgdb", status READY, has 1 handler(s) for this service...
The command completed successfully

Regards Christian Eriksson


Starting with version 8.1 the Oracle instance and the listener have
the ability to automatically find each other without listener.ora
entries being predefinded for the database. Most listener.ora files
however would have had SID_DESC entries for the existing databases in
them since these were requried up to then. Habit, would result in
entries being made for new databases.

I believe this is the cause of the double listing for a database
instance via status. Unfortunately I am not allowed to change the
listener.ora and test if removing the now redundant entries and
bouncing the listener and databases 1- works correctly and 2- cleans
up the status enties.

As noted this is conjecture, but perhaps you can test it and post back
the results.

HTH -- Mark D Powell --
Jul 19 '05 #2
Jan
Service "ftgdb" has 2 instance(s).
Instance "ftgdb", status UNKNOWN, has 1 handler(s) for this
service...
Instance "ftgdb", status READY, has 1 handler(s) for this service...

One with the UNKNOWN status is that one which is definied statically -
it is writen in listener.ora file
One with status READY si that one which is registered automatically -
when DB is starting up PMON automatically registers DB to the
listener. It is doing so also after starting up every 1 min.
You need to have the static definition since some tools (e.g. OEM)
require it.
Jan
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>... Hi!

I want to clarify, for myself, some basic facts about Oracle Client
Server configuration. I start with the listener configuration on the
server side.

What block(s) in what configuration file(s) defines the services
(shown below)?

What causes there to be more than one instance of a service (shown
below)?

Output from "lsnrctl status" (Oracle 9.2.0.1.0 on Sun Solaris 8):

........................

Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "ftgdb" has 2 instance(s).
Instance "ftgdb", status UNKNOWN, has 1 handler(s) for this
service...
Instance "ftgdb", status READY, has 1 handler(s) for this service...
Service "ftgdbXDB" has 1 instance(s).
Instance "ftgdb", status READY, has 1 handler(s) for this service...
The command completed successfully

Regards Christian Eriksson

Jul 19 '05 #3
Ma*********@eds.com (Mark D Powell) wrote in message news:<26**************************@posting.google. com>...
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
Hi!

I want to clarify, for myself, some basic facts about Oracle Client
Server configuration. I start with the listener configuration on the
server side.

What block(s) in what configuration file(s) defines the services
(shown below)?

What causes there to be more than one instance of a service (shown
below)?

Output from "lsnrctl status" (Oracle 9.2.0.1.0 on Sun Solaris 8):

........................

Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "ftgdb" has 2 instance(s).
Instance "ftgdb", status UNKNOWN, has 1 handler(s) for this
service...
Instance "ftgdb", status READY, has 1 handler(s) for this service...
Service "ftgdbXDB" has 1 instance(s).
Instance "ftgdb", status READY, has 1 handler(s) for this service...
The command completed successfully

Regards Christian Eriksson


Starting with version 8.1 the Oracle instance and the listener have
the ability to automatically find each other without listener.ora
entries being predefinded for the database. Most listener.ora files
however would have had SID_DESC entries for the existing databases in
them since these were requried up to then. Habit, would result in
entries being made for new databases.

I believe this is the cause of the double listing for a database
instance via status. Unfortunately I am not allowed to change the
listener.ora and test if removing the now redundant entries and
bouncing the listener and databases 1- works correctly and 2- cleans
up the status enties.

As noted this is conjecture, but perhaps you can test it and post back
the results.

HTH -- Mark D Powell --


Thank's for the answer!

I still can't pinpoint where the services are defined. In the
listener.ora file I can see the following for the LISTENER listener:

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ftgdb)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(SID_NAME = ftgdb)
)

I guess the SID_NAME entries in the two SID_DESC blocks defines the
services "PLSExtProc" and "ftgdb". My wondering is about the service
"ftgdbXDB". Can someone tell me where that service might be defined?

Regards Christian Eriksson
Jul 19 '05 #4
Christian Eriksson wrote:
Ma*********@eds.com (Mark D Powell) wrote in message news:<26**************************@posting.google. com>...
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
Hi!

I want to clarify, for myself, some basic facts about Oracle Client
Server configuration. I start with the listener configuration on the
server side.

What block(s) in what configuration file(s) defines the services
(shown below)?

What causes there to be more than one instance of a service (shown
below)?

Output from "lsnrctl status" (Oracle 9.2.0.1.0 on Sun Solaris 8):

........................

Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "ftgdb" has 2 instance(s).
Instance "ftgdb", status UNKNOWN, has 1 handler(s) for this
service...
Instance "ftgdb", status READY, has 1 handler(s) for this service...
Service "ftgdbXDB" has 1 instance(s).
Instance "ftgdb", status READY, has 1 handler(s) for this service...
The command completed successfully

Regards Christian Eriksson


Starting with version 8.1 the Oracle instance and the listener have
the ability to automatically find each other without listener.ora
entries being predefinded for the database. Most listener.ora files
however would have had SID_DESC entries for the existing databases in
them since these were requried up to then. Habit, would result in
entries being made for new databases.

I believe this is the cause of the double listing for a database
instance via status. Unfortunately I am not allowed to change the
listener.ora and test if removing the now redundant entries and
bouncing the listener and databases 1- works correctly and 2- cleans
up the status enties.

As noted this is conjecture, but perhaps you can test it and post back
the results.

HTH -- Mark D Powell --

Thank's for the answer!

I still can't pinpoint where the services are defined. In the
listener.ora file I can see the following for the LISTENER listener:

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ftgdb)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(SID_NAME = ftgdb)
)

I guess the SID_NAME entries in the two SID_DESC blocks defines the
services "PLSExtProc" and "ftgdb". My wondering is about the service
"ftgdbXDB". Can someone tell me where that service might be defined?

Regards Christian Eriksson


See pfile - there's a Mutli-threaded Server for XDB defined.
Try http://localhost:8080 and you should get a log on screen.
--

Regards,
Frank van Bortel

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Harry Whitehouse | last post by:
I can center the print dialog on my parent window just fine. But how can I control the location of the status window that pops up during the actual page printing? My app is programmed to center...
6
by: kelvlam | last post by:
Hello, I'm a new begininer with JavaScript. I'm trying to figure out which is the best approach, and to understand the differences between them. I have a <Aelement that's suppose to either...
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change?...
6
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have <a href="javascript:somefunction()"what .... ?...
11
by: jjw92 | last post by:
I've been banging my head against the wall with this one for a couple days so I'm hoping someone has some ideas. I have a web service that I created that is called by a .NET class library (which in...
5
by: Pseudonyme | last post by:
Dear All : Ever had an httpd error_log bigger than the httpd access log ? We are using Linux-Apache-Fedora-Httpd 2006 configuration. The PHP lines code that lead too tons of errors are : ...
4
by: amphibian1 | last post by:
I'm trying to write a C# application that iterates through a collection of Microsoft Office documents and standardizes the meta data of those documents (e.g. the author and company name). ...
4
by: Christian Eriksson | last post by:
Hi! I want to clarify, for myself, some basic facts about Oracle Client Server configuration. I start with the listener configuration on the server side. What block(s) in what configuration...
4
by: makweatan | last post by:
Hello, Can anyone please help me, where did I go wrong..? Line : 388 Char : 1 Error : Object Expected Code : 0 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.