473,396 Members | 2,026 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,396 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 57052
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
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.