Starting listener in redhat 9.0
Hello everybody,
I think I can get help for my problem. I have installed Oracle 8.1.7 on RedHat Linux9.0. To
run some applications listener should be started when I am running the command
lsnrctl start listener
the error shown is
lsnrctl: erro while loading shared libraries: libclntsh.so.8.0: cannot open shared object file: No such
file or directory
Please help me out to over Come the Problem
Anoop Singhal
Hi,
Chek did you set your LD_LIBRARY_PATH variable or not.
set it correctly..i.e
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
where $ORACLE_HOME is also set to your oracle installation.
mail me back in case problem persist..
Yogi
[email protected]
Similar Messages
-
To restart listener in Redhat 5
Hi,
I have created a new listener in oralce 10g on Redhat 5 plateform, and created a service name. How can I can i restart the listener service to take changes effect. I did'nt find the oracle listener in services in Redhat 5 as we get in windows.
Thank you
Ravi.805599 wrote:
Hi,
I have created a new service name at client, and thus created a new listener.Creating a new listener does not logically flow from creating something new at the client side. Would you expect the telephone company to build a new switchboard for every telephone handset on the network?
I did following entries.
In LISTENER.ORA
LISTENER2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
Then connect to the DB as sys and registered the listener dynamically :
SQL> alter system set local_listener=listener2 scope=spfile;
SQL> alter system register;
and when I starter listener it is showing that the listener supports no services:
Several problems
1) you set local listener in the spfile only. It had no effect on the running listener
2) even if (1) had been correct, at this point you don't have the listener running for the system to register with it
and ....
LSNRCTL> start listener2
Starting /oracle/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /oracle/10.2.0/network/admin/listener.ora
Log messages written to /oracle/10.2.0/network/log/listener2.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias listener2
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 28-OCT-2010 14:06:28
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/10.2.0/network/admin/listener.ora
Listener Log File /oracle/10.2.0/network/log/listener2.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
The listener supports no services
The command completed successfully
Why it is not registering the service with the listener2.
3) now that your listener is up, you'd need to wait a couple of minutes for the system to automaticaly register itself, OR go back and ALTER SYSTEM REGISTER again.
Plz help.
Ravi -
How to start listener in sql developer for remote debug
how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
even follow the user guide below and not work . Experts on sql developer please help me with this.
Remote Debugging
To debug a procedure or function for a connection where the database is on a different host than the one on which you are
running SQL Developer, you can perform remote debugging.
Remote debugging involves many of the steps as for local debugging; however, do the
following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
program containing the breakpoints.
For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
TCP/IP connection to that system and the port for the JDWP session:
EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
is listening.
Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
Use this
dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
that a debuggee can attach to the debugger.
For more information about remote debugging, see Remote Debugging.
Host: Name or IP address of
the remote host on which SQL Developer should listen for the database to connect.
Port: Listening port number on the remote host. You can
choose any valid port number that is not in use by another process.
Timeout: The number of seconds that SQL Developer will wait for the
remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
be displayed before future connections for remote debuggingYou're not the only one:
Not able to start remote debug listener
Re: remote debug question at version 1.1.0.23 64 -
Problem With Listener Service: Long Delay Starting Listener, Intermittent Connections
I am having trouble connecting to my Oracle database. I'm not sure what the cause was, but now when I connect to a database that has been working fine for the past two years, I usually get a ORA-12541 error.
I run lsnrctl status on the server and get a prinout like this:
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dqaswn02)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
I've also tried manually stopping the service via services.msc and then restarting via lsnrctl start, but when I do this I get a really long delay (10+ minutes) before it returns with something like:
TNS-01153: Failed to process string: 0í≈♥
I'm pretty lost as to what is wrong. I've been messing around with listener.ora, but I don't see anything problematic in there. Here's a copy:
# listener.ora Network Configuration File: E:\app\myc0714\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\myc0714\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\myc0714\product\11.2.0\dbhome_1\BIN\OraClr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dqaswn02)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
# ADR_BASE_LISTENER = E:\app\myc0714
LOG_FILE_LISTENER = LISTENER
TRACE_LEVEL_LISTENER = SUPPORT
TRACE_FILE_LISTENER = LISTENER
However, a few times during this I've been able to connect to the server, via sqlplus, but it has taken 10 minutes before the connection comes online. Once I'm connected, I can query my tables as expected, but I need an application to connect.
If anyone has any ideas on what could be wrong, please let me know.When I opened up netca, I didn't have any listeners configured, which seems very strange. When adding it, I get this message in the cmd window:
Oracle Net Services Configuration:
Configuring Listener:LISTENER
ServiceAliasException: Could not save Service Alias: TNS-04406: Object already e
xists
Default local naming configuration complete.
Listener configuration complete.
Oracle Net Listener Startup:
Running Listener Control:
E:\app\myc0714\product\11.2.0\dbhome_1\bin\lsnrctl start LISTENER
Listener Control complete.
Listener start failed.
I killed the service via services.msc again and tried starting the lsnrctl. This time I've got a new listening service going:
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is E:\app\myc0714\product\11.2.0\dbhome_1\network\admin\li
stener.ora
Log messages written to e:\app\myc0714\diag\tnslsnr\DQASWN02\listener\alert\log.
xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DQASWN02.petroleumplace.
com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DQASWN02.petroleumplace.
com)(PORT=1521)))
TNS-01153: Failed to process string: X☺∙♥
I just tried starting the trace. I'm waiting for it to connect, I guess. I'll post anything I get out of it when it returns. -
Stop and then start Listener from OEM
Hi,
I am new to Oracle. I notice after stopping listener using OEM on Windows XP, the TNSLNR.exe is terminated as I expected. At that point, all connections include OEM, iSQL*PLUS and SQL*PLUS should close connection.
If this is right, how can one start listener from OEM? One needs listener work before using OEM to config something else. What is the purpose of Start button for listener on OEM? Even more perplexing me is that iSQL*PLUS is still works! Does iSQL*PLUS not use listener for connection?
Your help will be appreciated,
-HongHi
i think its not possible to start the listener from oem, because the oem use the listener to communicate to the db.
Regards
Mirko -
How to start WLS in RedHat 6.2
Hi everyone,
Everytime when I try to start WLS in RedHat with the command -
./startWebLogic.sh in command line console,
an error - "Don't know how to set the shared library for Linux" is displyed.
Could anyone help me solve this problem at your earliest convenience sine
it is quite urgent to me to solve this problem?
Thanks in advanceOpen startWebLogic.sh
look for label LINUX)
substitute the line with
LINUX | Linux)
and try again.
Marco.
Rex Law <[email protected]> wrote in message
news:[email protected]..
Hi everyone,
Everytime when I try to start WLS in RedHat with the command -
./startWebLogic.sh in command line console,
an error - "Don't know how to set the shared library for Linux" isdisplyed.
>
Could anyone help me solve this problem at your earliest conveniencesine
it is quite urgent to me to solve this problem?
Thanks in advance -
I can't start listener in the Control Painel/Admin Tools/ Services
Windows XP - Home Edition (I know it´s not the better but came with my laptop)
I installed the Oracle 10g and I don't know why I have 3 listener as services. Its services showed me different messages when I tried start it:
1. OracleOraDb10g_home1TNSListener: Could not start the 2. OracleOraDb10g_home1TNSListener service on Local Computer
2. OracleOraDb10g_home1TNSListenerORCL: The OracleOraDb10g_home1TNSListenerORCL service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performace Logs and Alerts service
3. OracleOraDb10g_home1TNSListenerSID_LIST_LISTENER: The OracleOraDb10g_home1TNSListenerSID_LIST_LISTENER service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performace Logs and Alerts service
====PATH======
Path=C:\oracle\product\10.1.0\Db_3\bin;C:\Program Files\oracle 8i\bin;C:\oracle\
product\10.1.0\Db_3\jdk\jre\bin;C:\oracle\product\10.1.0\Db_3\jdk\jre\bin\classi
c;C:\oracle\product\10.1.0\Db_3\jdk\jre\bin\classic;C:\oracle\product\10.1.0\Db_
3\jlib;C:\oracle\product\10.1.0\Db_3\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C
:\oracle\product\10.1.0\Db_3\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\Db_3\
jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;%java_home%\bin;C:\Program Files\Commo
n Files\Ulead Systems\MPEG;C:\WINDOWS\system32\gs\gs8.13\bin
====REGISTRY======
TNS_ADMIN I set as Binary Data in the HKEY_CURRENT_USER\Environment with the path C:\oracle\product\10.1.0\Db_3\NETWORK\ADMIN
====LISTENER.ORA======
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_3)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.17)(PORT = 1521))
====TNSNAMES.ORA========
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.17)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
====SQL.ORA========
NAMES.DEFAULT_DOMAIN = 192.168.0.17
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
=======OS CONFIGURATION================
C:\>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 23-MAR-2006 08:23
:44
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.17)(PORT=1521)
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
C:\>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Ethernet adapter Wireless Network Connection 2:
Connection-specific DNS Suffix . : myhome.westell.com
IP Address. . . . . . . . . . . . : 192.168.0.17
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
C:\>
Please, if somebody knows this problem I need a very urgent help. Thank you very much.Thanks ALL, I GOT IT, but I used other solution.
Since I installed and uninstalled the Oracle several times, it keeps also many different Services for the listener. I don't know why, it didn't create a Service for my actual instalation with its path. In other words, all the services remained in the services.msc panel, had the path that was already removed from the Windows folder.
Then what I did, was that I picked one service, took its name (OracleOraDb10g_home1TNSListener), went to regedit to [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OracleOraDb10g_home1TNSListener] and simply changed the image path that was setted for the one that was removed (C:\oracle\product\10.1.0\Db_2\BIN\TNSLSNR ) for mine that is installed right now
(C:\oracle\product\10.1.0\Db_1\BIN\TNSLSNR). Nothing more and finally works.
I have tried something in the services.msc panel before, as you can see in this forum at the thread "I can't start listener in the Control Painel/Admin Tools/ Services", but I never got
success.
Appreciate your time!! -
I got the foll-error when i try to start listener..
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
Any one could give some tips to overcome this
Thanks
RamyaHI
check the network connection also .......
this should be the output
C:\>tnsping google
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 30-JUL-2
008 10:34:27
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dscp3528
)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
NAME = google)))
OK (20 msec)
CHeers -
I am trying to install Oracle Secure Enterprise Search 11.1.2.2 on Windows 7 64-Bit Enterprise Edition.
The machine has Oracle Client installed on it. Loopback adapter was configured.
The setup created a Listener named LISTENER and SID is ASUSES.
I am getting the following error when trying to start the Listener.
LSNRCTL> start LISTENER
TNS-01106: Listener using listener name LISTENER has already been started
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=01HW536484.India.TCS.com
)(PORT=1521)))
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Content of listener.ora
# listener.ora Network Configuration File: D:\ses\seshome\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 01HW536484.India.TCS.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
Content of tnsnames.ora
# tnsnames.ora Network Configuration File: D:\ses\seshome\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ASUSES =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 01HW536484.India.TCS.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ASUSES.01HW536484.India.TCS.com)
Content of sqlnet.ora
# sqlnet.ora Network Configuration File: D:\ses\seshome\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
tcp.invited_nodes=(01HW536484,127.0.0.1)
tcp.validnode_checking=yes
sqlnet.expire_time=10
tcp.invited_nodes=(01HW536484,127.0.0.1)
tcp.validnode_checking=yes
sqlnet.expire_time=10
Kindly let me know what should be done.i have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
thanks guys for your heip. please i need more solutions -
To answer the post from Manwendra Jun 20, 2013 7:17 AM
" TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup "
https://community.oracle.com/message/11077982#11077982
Hello,
Probably that you already have the listener up and running from your installation of SES.
Also, you could check in your Windows Services (from the Control Panel), you'll see that
there is a service like OraclesesTNSListener up and running.
If it is the case, then it's probably why it is telling you the message below when trying to start it again:
TNS-01106: Listener using listener name LISTENER has already been started
Then, before trying to start the listener, you can check if it is already up by running the command : lsnrctl status
If you need to shut it down, then you can run the command : lsnrctl stop
for example, from the command line:
> set ORACLE_SID=ASUSES
> set ORACLE_BASE=D:\ses\
> set ORACLE_HOME=D:\ses\seshome
> cd %ORACLE_HOME%/bin
> lsnrctl status <== this will give you the status of your listener
> lsnrctl stop <== this will stop your listener
> lsnrctl start <== this will start your listener
Hope this can help you and others.
Regards,
-Stephani have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
thanks guys for your heip. please i need more solutions -
Starting listener on OEL5.3
Hi. I am new to oracle and linux. I recently installed OEL5.3 on my HP dv6536 laptop. During the installation i checked the "oracle validated install" option in the customize packages section. I then installed oracle 10GR2, everything went well. I was able to use enterprise manager and iSQL but i could not launch SQL. when i restarted my system, i typed "lsnrctl start LISTENER", i get an error, saying "command not found". Is there any other way to start the listener or should i manually reconfigure my enterprise linux for oracle? If so please i need the right commands and parameters. thanks.
Hi and welcome to Oracle world and Oracle Forum :)
You should know that in order to run SqlPlus or Listener or any Oracle related program, you need to run it from bin directory.
If you don't want each time to go to bin directory and run them, you should export Oracle home directory and you should add Oracle's bin directory to PATH environment variable
Let's assume that you've installed Oracle Database in */home/oracle/product/10.2.0/Db_1* directory and your Database name is testdb
export ORACLE_SID=testdb
export ORACLE_HOME=/home/oracle/product/10.2.0/Db_1
export PATH=$PATH:/home/oracle/product/10.2.0/Db_1If you want above codes to be run automatically when you open new terminal, you shoul add those lines to */home/oracle/.basrc* file
Good Luck
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com -
Srvctl start listener -n rac1 gives CRS-1028 and CRS-0223
Boot up 2 linux 10.2.0.1.0 RAC nodes.
everything starts except listeners
srvctl start listener -n rac1
or
srvctl start listener -n rac2
gives
CRS-1028
CRS-0223
However, if you start listeners manually, using
lsnrctl start listener_rac1
or
lsnrctl start listener_rac2
they start right up. Moreover, once you have started them manually, the srvctl start listener commands now work, both stopping and starting the listeners with srvctl now works. However, when reboot systems, again srvctl must be "primed" for starting listener by doing one "manual" startup of listener.
Any thoughts on what is causing this behavior?
Thanks!Alan, thanks - excellent advice. However, I just ended up redoing the entire install and this of course fixed the problem :-)
Thanks for your reply, Gil
PS also, btw I use the crsstat script instead of the crs_stat for better formatting, i.e. this script (which I named crsstat) lives in $ORA_CRS_HOME/bin. Also, note I am not the author of this script, I downloaded it from Metalink:
#!/usr/bin/ksh
# Sample 10g CRS resource status query script
# Description:
# - Returns formatted version of crs_stat -t, in tabular
# format, with the complete rsc names and filtering keywords
# - The argument, $RSC_KEY, is optional and if passed to the script, will
# limit the output to HA resources whose names match $RSC_KEY.
# Requirements:
# - $ORA_CRS_HOME should be set in your environment
RSC_KEY=$1
QSTAT=-u
AWK=/usr/bin/awk # if not available use /usr/bin/awk
# Table header:echo ""
$AWK \
'BEGIN {printf "%-45s %-10s %-18s\n", "HA Resource", "Target", "State";
printf "%-45s %-10s %-18s\n", "-----------", "------", "-----";}'
# Table body:
$ORA_CRS_HOME/bin/crs_stat $QSTAT | $AWK \
'BEGIN { FS="="; state = 0; }
$1~/NAME/ && $2~/'$RSC_KEY'/ {appname = $2; state=1};
state == 0 {next;}
$1~/TARGET/ && state == 1 {apptarget = $2; state=2;}
$1~/STATE/ && state == 2 {appstate = $2; state=3;}
state == 3 {printf "%-45s %-10s %-18s\n", appname, apptarget, appstate; state=0;}' -
Hi,
DB : 10.2.0.4
OS: AIX 5.3 L
This is 2 node RAC on ASM with single standby on ASM.
To stop listener in all RAC nodes , are the below steps correct?.
crs_stop ora.rac1.LISTENER_rac1.lsnr
crs_stop ora.rac2.LISTENER_rac2.lsnr
OR
srvctl stop listener -n rac1 -l ora.rac1.LISTENER_rac1.lsnr
srvctl stop listener -n rac2 -l ora.rac2.LISTENER_rac2.lsnr
Node1: rac1
Node2: rac2
Same i have to follow to start listener , start word in place of stop , right?.
Please confirm me on this.
Thanks,
SunandThis is 2 node RAC on ASM with single standby on ASM.
To stop listener in all RAC nodes , are the below steps correct?.
crs_stop ora.rac1.LISTENER_rac1.lsnr
crs_stop ora.rac2.LISTENER_rac2.lsnr
OR
srvctl stop listener -n rac1 -l ora.rac1.LISTENER_rac1.lsnr
srvctl stop listener -n rac2 -l ora.rac2.LISTENER_rac2.lsnr
Node1: rac1
Node2: rac2
Same i have to follow to start listener , start word in place of stop , right?.
You should use the second option using srvctl.
Because srvctl is meant for starting/stopping resources.
Even using first command also you can achieve this and also using lsnrctl also. But I would prefer srvctl.
Regards
Rajesh -
How to connect to PC-ORACLE8.0.4 & Forms 5.0 without Starting Listener?
i have installed pco8.0.4 and d2k(form5,rep3) , i couldn't connect to pco without starting listener, this gives me after some time , unable to attach or connect oracle error, how to connect pco8.0.4 from form5.0 without starting listener?
thanksdj143 wrote:
I developed an application and then built it and deployed to a cRIO processor. It runs correctly on start up.[...]
This sounds like you have created a startup-exe for your cRIO. So this is what you do if you want the cRIO to run independently from your host. This is what you do if you want the cRIO to start working as soon as you power it.
Running a VI from your LV project on the cRIO is for debugging. So if an executable is running on the cRIO, it will have to terminate before you can run the debugging version of the VI.
So regarding what you want to have, you either have not to run the application as startup-exe at all or you must not connect to the cRIO using your LV project.
If you choose to keep the rtexe, you will have to implement an interface to it in order to exchange data with your host. You should take a look into the cRIO reference architectures for ideas for possible solutions. This reference architecture shows a quite good solution....
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
How can i start listener?
i have installed oracle8.1.6 on solaris7,but i cannot start the listener. the following is the error message.
LSNRCTL> start listener
Message 1070 not found; No message file for product=network, facility=TNSTNSLSNR for Solaris: Version 8.1.6.0.0 - Production
Message 279 not found; No message file for product=network, facility=NL
Message 1073 not found; No message file for product=network, facility=TNSMessage 1074 not found; No message file for product=network, facility=TNSTNS-12542: Message 12542 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00512: Message 512 not found; No message file for product=network, facility=TNS
Solaris Error: 125: Address already in use
beg you for help???
thanks very much.It sounds like your environment isn't set up, e.g. ORACLE_HOME, etc.
However you should post your question to the database forum.
Regards,
Robin Zimmermann
Forms Product Management
Maybe you are looking for
-
How Do I Sign, Seal, and Protect a .pdf from Tampering?
Saturday, August 8, 2009 11:46 AM -0800 Hello Everyone. I originally posted this question in the Mac OS Adobe Acrobat Pro section; the folks over there had no idea what to tell me. Neither did Acrobat telephone support. They told me to take my post
-
I have been having frequent ABENDs on NW 6.5 server running appacke2. I applied SP8 in hopes of solving it, but after applying SP8 I got an ABEND yesterday that involving apache2 again. Can anyone tell me what appears to be causing this. See the atta
-
Data is not showing using SE16n T-code even though it is available in table
Hi All, I am facing a problem .Please do let me know the solution incase if it is known to any one. There are some customized z-tables which is present in both production and development environment and for each of those development customized tables
-
HT4528 My iphone 5s screen is black.
My battery is fully charged. I was on my phone and it just went black.I tried to restore it through itunes and it wants me to turn off "find my iphone" on icloud. I cant do that because I do not have a screen. I am so frustrated, I have had it with A
-
Safari could not open the page because the server stopped responding
What might solve this problem? I have two ipad minis and both started giving me this message today.