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;}'
Similar Messages
-
Hi All,
We need at add new listener with new port to cluster, while adding iam getting this error
DB VERSION : 11.2.0.3
from ORACLE_HOME/bin directory
[oracle@cisssna01sora81 bin]$ ./srvctl add listener -l LISTENER_TEST -p 1559 -o /app/oracle/product/11.2.0/dbhome_1
PRCN-2061 : Failed to add listener ora.LISTENER_TEST.lsnr
PRCN-2065 : Port(s) 1559 are not available on the nodes given
PRCN-2067 : Port 1559 is not available across node(s) "node1"
Please advise me on this.Same link i attached you the other day:
How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure (Doc ID 1063571.1)
why didn't you read it? -
Dear,
the default for listener was in a RAC environment.
$ORACLE_HOME/network/admin
question:
i have moved the listener to a different location.
$ORACLE_HOME/network/admin/DB1
how can i change this location in CRS
which command should i use.
Thanks in advance!
Regards,Hi,
I try simulate the same scenario on my test env...
carpa:/home/ora10g> cd $ORACLE_HOME/network/admin/
carpa:/u01/app/oracle/product/10.2.0/network/admin> mkdir teste
carpa:/u01/app/oracle/product/10.2.0/network/admin> mv listener.ora teste/
carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
/u01/app/oracle/product/10.2.0/network/admin
carpa:/u01/app/oracle/product/10.2.0/network/admin> export TNS_ADMIN=/u01/app/oracle/product/10.2.0/network/admin/teste
carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
/u01/app/oracle/product/10.2.0/network/admin/teste
carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:26
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/network/admin/teste/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.22.9)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.22.9)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 13-APR-2009 14:36:26
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/network/admin/teste/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.22.9)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "dsrj01.myjob.com" has 1 instance(s).
Instance "dsrj01", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:37
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.22.9)(PORT=1521)))
The command completed successfully
carpa:/u01/app/oracle/product/10.2.0/network/admin> export TNS_ADMIN=/u01/app/oracle/product/10.2.0/network/admin
carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
/u01/app/oracle/product/10.2.0/network/admin
carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:52
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=carpa)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 13-APR-2009 14:36:52
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=carpa)(PORT=1521)))
The listener supports no services
The command completed successfully
This is a listener without listener.ora, this is a default configuration, it happened cause
we move listener.ora from new location, now listener.ora is under $ORACLE_HOME/network/admin/teste/ ... Do you remeber?
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com -
How to stop and start listener auto. when database is open and shutdown?
Hi,
is there a way, in Window , i can shutdown the listener service when the database is shutdown (the rdbms service still up) and startup the listener when the database is open?
ThanksRon_B wrote:
In simple way,
when the window rdbms service is runing and the database is in shutdown or stop state, the listener have to be stop.
The listener have to be start only when the database pass from nomount to mount.With mentioning the fact that there is abosultely no such dependency between listener and database, I am really curious to know that why you want to do it? Listener is merely a process and even if its running, there is no such harm or resource consumption it would do that you need to shut it down as and when db would be.
HTH
Aman.... -
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 -
Srvctl status listener not wkng for 10g DB on 11g cluster
Hi Friends,
I am using Oracle 11g (11.2.0.2) cluster and on which 10g database(10.2.0.2) database and listener is registered.
I have a problem in using srvctl (10g) to check the listener status.It's throwing error but i am able to start and stop listsner service using srvctl:
bash-3.00$ which srvctl
/oraho/ora10g/product/10.2.0/db_1/bin/srvctl
bash-3.00$
bash-3.00$ ps -ef | grep tns
grid 4528 1 0 May 31 ? 0:13 /orapdpw/app/oracle/product/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
grid 4537 1 0 May 31 ? 0:13 /orapdpw/app/oracle/product/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
grid 4531 1 0 May 31 ? 0:13 /orapdpw/app/oracle/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oraho 11336 1 0 15:59:05 ? 0:00 /oraho/ora10g/product/10.2.0/db_1/bin/tnslsnr HOLISTENER_JXR12DB1 -inherit
bash-3.00$
bash-3.00$
bash-3.00$ srvctl status listener -l HOLISTENER_JXR12DB1
Usage: srvctl <command> <object> [<options>]
bash-3.00$
bash-3.00$ srvctl status listener -l HOLISTENER_JXR12DB1 -n JXR12DB1
Usage: srvctl <command> <object> [<options>]
I even tried as grid user but same error
But i could able to use
srvctl start listener -l HOLISTENER_JXR12DB1 -n JXR12DB1 and
srvctl stop listener -l HOLISTENER_JXR12DB1 -n JXR12DB1
I could use the srvctl status for DB and it's working fine
bash-3.00$ srvctl status database -d HOTEST
Instance HOTEST1 is running on node jxr12db1
Instance HOTEST2 is running on node jxr12db2
Please let me know the reason
Regards,
DBHello DB
10g syntax does not support "srvctl status listener". See this URL:
http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1009882
Cheers
Riyaj Shamsudeen
Blog: http://orainternals.wordpress.com/
Oracle ACE Director and OakTable member http://www.oaktable.com
Advanced RAC seminar | http://www.orainternals.com/services/training/advanced-rac-training/ -
I have installed the clusterware and now I'm installing the software database. When the installer try to configure the listener I got error.
Problem in configuration: rac1: LISTENER_RAC1
Listener start failed. Listener may already be running
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.rac1.LISTENER_RAC1.lsnr'
has placement error
Try again?
Someone can help me?.
Oracle10gR2
Linux Redhat 4 AS 2
ThanksHi,
sorry, this is not enough information. Please, check the CRSD.log why the listener could not be started.
Have you checked whether or not the error message is maybe even correct: Is the listener already started?
Sorry, but without some more information, anything else would be guessing, I guess ;-). Thanks,
Markus -
SRVCTL START DATABASE FAILS WITH ORA-00119
Hi,
My DB version is 11.2.0.2.3
I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
CRS-5017: The resource action "ora.****.db start" encountered the following error:
SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_local'
Can you please suggest for any workaround.
ThanksDid you check the TNS_ADMIN? Where does it point to?
Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
sqlnet.ora
listener.ora
tnsnames.ora -
Error starting listener on single node in RAC..Error listening on: (DESCRIP
LSNRCTL> start LISTENER_CORPNG04
Starting /ora00/app/oracle/product/11/db1/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
System parameter file is /ora00/app/oracle/product/11/db1/network/admin/listener.ora
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vir_corpng04)(PORT=1521)(IP=FIRST)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
HPUX Error: 227: Can't assign requested address
Listener failed to start. See the error message(s) above...
LSNRCTL>
Plz help its production system
Thanks in Advance
GaganHello,s
First of all, check the status of all resources by using crs_stat -t
Check if your VIP resource is indeed up and running on the node where you want to start the listener. As listener is depending upon this VIP address, it is needed to be up on the node where listener is configured. If this is the case then relocate the vip back to the system by using either of the following commands
1. crs_relocate <vip_resource_name>
OR
2. srvctl start nodeapps -n <hostname>
listener should be automatically up once crs relocates back the vip to the system.
If vip is already running fine on the system then check for your listener configuration as you check in normal systems.
Lalit Verma
[http://sites.google.com/site/racinsights1] -
CRS-0223: Resource has placement error, when starting DB instance
Hello All,
Env: 2 node 10.2.0.4 RAC on Solaris 10 SPARC
All of a sudden the DB instance on Node 2 crashed. The alert.log says "Instance terminated by MMAN".
There were no changes recently.
I tried to start it up using srvctl and it failed with
[SHCL1N02]$ srvctl start instance -d SHCL1_PRMY -i SHCL1N02
PRKP-1001 : Error starting instance SHCL1N02 on node myjpsuolicdbd02
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.SHCL1_prmy.SHCL1N02.inst' has placement error.
[SHCL1N02]$The nodeapps and crs processes are all running happily, the instance alone has a problem.
I tried
(1)Stop nodeapps, Stop CRS, Start CRS => Still instance on node2 didn't come up.
(2)sqlplus / as sysdba, startup => Instance came up, but the ora.SHCL1_prmy.SHCL1N02.inst is still offline.
Below is the error in the crsd.log file.
2009-11-04 10:18:30.627: [ CRSRES][2970821] CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.SHCL1_prmy.SHCL1N02.inst'
2009-11-04 10:21:23.269: [ CRSRES][2970843] StopResource: setting CLI values
2009-11-04 10:21:23.340: [ CRSRES][2970843] Attempting to stop `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02`
2009-11-04 10:21:30.478: [ CRSAPP][2970843] StopResource error for ora.SHCL1_prmy.SHCL1N02.inst error code = 1
2009-11-04 10:21:30.502: [ CRSRES][2970843] Stop of `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02` succeeded.
2009-11-04 10:21:49.867: [ CRSRES][2970861] startRunnable: setting CLI values
2009-11-04 10:21:49.895: [ CRSRES][2970861] Attempting to start `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02`
2009-11-04 10:21:55.019: [ CRSAPP][2970861] StartResource error for ora.SHCL1_prmy.SHCL1N02.inst error code = 1
2009-11-04 10:22:00.583: [ CRSAPP][2970861] StopResource error for ora.SHCL1_prmy.SHCL1N02.inst error code = 1
2009-11-04 10:22:00.592: [ CRSRES][2970861] X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1803
2009-11-04 10:22:00.593: [ CRSRES][2970861][ALERT] `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02` has experienced an unrecoverable failure.
2009-11-04 10:22:00.593: [ CRSRES][2970861] Human intervention required to resume its availability.Any clue would be much helpful.
TIA,
JJThe srvctl failed 'coz of my problem(over security).
/u01/app/oracle/product/10.2.0/db_1/log/<node_name>/racg/imon_SHCL1_prmy.log
(thanks to support guy to taking me to this file.)
In this file i saw the below error and it struck me.
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Nov 4 18:59:49 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Enter user-name: ERROR:
ORA-01031: insufficient privileges
Enter user-name: SP2-0306: Invalid option.
2009-11-04 18:59:50.737: [ RACG][176] [28813][176][ora.SHCL1_prmy.SHCL1N02.inst]: Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[/<password>][@<connect_identifier>] | /
Enter user-name: Enter password:
ERROR:
ORA-01005: null password given; logon denied
2009-11-04 18:59:50.738: [ RACG][176] [28813][176][ora.SHCL1_prmy.SHCL1N02.inst]: SP2-0157: unable to CONNECT to ORACLE after 3 attempt
s, exiting SQL*PlusI had SQLNET.AUTHENTICATION_SERVICES=(NONE) in the sqlnet.ora, and this stopped the srvctl from logging into the db.
1)Commented the entry in sqlnet.ora
2)crs_stop -f ora.SHCL1_prmy.SHCL1N02.inst
3)crs_stat -u => to confirm that the TARGET and STATE are OFFLINE for ora.SHCL1_prmy.SHCL1N02.inst
4)srvctl start instance -d SHCL1_PRMY -i SHCL1N02
and the instance came up.
They would investigate on regarding the ORA-7445 error.
Regards,
J J -
Srvctl start service/stop throwing error ORA-01031: insufficient privileges
Hi Gurus,
When i try to start/stop the service getting below error.Please help me troubleshoot it.
AIX-6.1
11.2.0.1
Plato1:/u01/app/11.2.0/grid/network/admin>srvctl start service -d maxcv
PRCR-1079 : Failed to start resource ora.maxcv.maxcv.svc
CRS-2680: Clean of 'ora.maxcvuat.svc' on 'Plato1' failed
CRS-5807: Agent failed to process the message
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2680: Clean of 'ora.maxcvuat.svc' on 'Plato1' failed
ThanksSQL> execute dbms_service.start_service('maxcvuat');PL/SQL procedure successfully completed.
Output from alert.log
EMNC started with pid=32, OS id=1384660
2011-09-09 09:32:09.820000 -04:00
Starting background process CJQ0
CJQ0 started with pid=53, OS id=1429756
2011-09-09 09:37:00.698000 -04:00
Starting background process SMCO
SMCO started with pid=33, OS id=1687726
2011-09-09 09:52:59.212000 -04:00
ALTER SYSTEM SET service_names='maxcvuat' SCOPE=MEMORY SID='maxcv2';
~crsctl stat output:
plato2:/home/grid>crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.CRS.dg
OFFLINE OFFLINE plato1
OFFLINE OFFLINE plato2
ora.CRS_DATA.dg
ONLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.CRS_DATA1.dg
ONLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.CRS_VDISK.dg
OFFLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.LISTENER.lsnr
ONLINE ONLINE plato1
ONLINE ONLINE plato2
ora.maxcv_DATA.dg
ONLINE INTERMEDIATE plato1
ONLINE ONLINE plato2
ora.maxcv_REC.dg
ONLINE INTERMEDIATE plato1
ONLINE ONLINE plato2
ora.asm
ONLINE OFFLINE plato1
ONLINE ONLINE plato2
ora.eons
ONLINE ONLINE plato1
ONLINE ONLINE plato2
ora.gsd
OFFLINE OFFLINE plato1
OFFLINE OFFLINE plato2
ora.net1.network
ONLINE ONLINE plato1
ONLINE ONLINE plato2
ora.ons
ONLINE ONLINE plato1
ONLINE ONLINE plato2
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE plato2
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE plato1
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE plato1
ora.plato1.vip
1 ONLINE ONLINE plato1
ora.plato2.vip
1 ONLINE ONLINE plato2
ora.maxcv.db
1 ONLINE ONLINE plato2 Open
2 ONLINE ONLINE plato1 Open
ora.maxcv.maxcvuat.svc
1 OFFLINE UNKNOWN plato1
2 OFFLINE UNKNOWN plato1
ora.coscv.db
1 ONLINE ONLINE plato1 Open
2 ONLINE ONLINE plato2 Open
ora.coscv.coscvuat.svc
1 ONLINE UNKNOWN plato1
2 ONLINE UNKNOWN plato1
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE plato2
ora.scan2.vip
1 ONLINE ONLINE plato1
ora.scan3.vip
1 ONLINE ONLINE plato1
plato2:/home/grid>Stopping of database:
plato2:/home/oracle>srvctl stop database -d maxcv
PRCD-1124 : Failed to stop database maxcv and its services
PRCR-1065 : Failed to stop resource (((((NAME STARTS_WITH ora.maxcv.) && (NAME ENDS_WITH .svc)) && (TYPE == ora.service.type)) && ((STATE != OFFLINE) || (TARGET != OFFLINE))) || (((NAME == ora.maxcv.db) && (TYPE == ora.database.type)) && (STATE != OFFLINE)))
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
CRS-5807: Agent failed to process the message
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2675: Stop of 'ora.maxcv.db' on 'plato1' failed
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
CRS-5807: Agent failed to process the message
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2675: Stop of 'ora.maxcv.db' on 'plato1' failed
plato2:/home/oracle>ps -ef |grep pmon
oracle 892946 1818664 0 09:30:35 pts/0 0:00 grep pmon
grid 1360080 1 0 Sep 06 - 1:23 asm_pmon_+ASM2
oracle 1376428 1 0 Sep 06 - 1:42 ora_pmon_coscv2
plato2:/home/oracle>Thanks -
Another user who can't get this thing started, Listener will not operate!!!
I installed from root, used port 8085 for the database (8080 used by Tomcat) and 1521 for the listener. Logged out, log back in as user oracle. Takes three full minutes to "start" the listener, but netstat -a does not show any listener on port 1521, despite listener startup saying "Command successful". Starting database, then 'lsnrctl status' returns the following:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-FEB-2007 19:16:16
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 19-FEB-2007 19:11:20
Uptime 0 days 0 hr. 4 min. 55 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=solera.homedns.org)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status BLOCKED, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "XE", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
All firewalls are completly disabled, except for my router which has ports 8085 and 1521 open. So, 1) Where is the listing for the listening in netstat -a? and 2) Why are my database services blocked? I've been trying for a week to get this thing started, I need it for work. I can log in to the database through SqlPlus, so it is there and running fine, but the listener is not working, and I cannot get to the database home page.Checked the listener log. Doesn't look good. Keep saying host or object does not exist!!
TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 19-FEB-2007 18:56:13
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
Trace level is currently 0
Started with pid=3711
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=solera.homedns.org)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 19-FEB-2007 19:11:20
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
Trace level is currently 0
Started with pid=3384
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=solera.homedns.org)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
19-FEB-2007 19:14:29 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:16:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:16:15 * service_register * XE * 0
19-FEB-2007 19:16:16 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:16:17 * service_update * XE * 0
19-FEB-2007 19:16:23 * service_update * XE * 0
19-FEB-2007 19:16:32 * service_update * XE * 0
19-FEB-2007 19:16:35 * service_update * XE * 0
19-FEB-2007 19:16:37 * ping * 0
Error listening on: (Description=(Address=(Protocol=tcp)(Port=8085)(Host=localhost))(Presentation=HTTP)(Session=RAW))
19-FEB-2007 19:16:38 * service_update * XE * 12545
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
19-FEB-2007 19:16:41 * service_update * XE * 0
19-FEB-2007 19:16:44 * service_update * XE * 0
19-FEB-2007 19:26:47 * service_update * XE * 0
19-FEB-2007 19:27:44 * service_update * XE * 0
19-FEB-2007 19:34:02 * service_update * XE * 0
19-FEB-2007 19:41:47 * service_update * XE * 0
19-FEB-2007 19:46:44 * service_update * XE * 0
19-FEB-2007 19:46:59 * service_update * XE * 0
19-FEB-2007 19:47:02 * service_update * XE * 0
19-FEB-2007 19:47:10 * service_died * XE * 12537
19-FEB-2007 19:47:26 * service_register * XE * 0
19-FEB-2007 19:47:26 * service_update * XE * 0
19-FEB-2007 19:47:32 * service_update * XE * 0
19-FEB-2007 19:47:38 * service_update * XE * 0
19-FEB-2007 19:47:41 * service_update * XE * 0
Error listening on: (Description=(Address=(Protocol=tcp)(Port=8085)(Host=localhost))(Presentation=HTTP)(Session=RAW))
19-FEB-2007 19:47:44 * service_update * XE * 12545
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
19-FEB-2007 19:47:50 * service_update * XE * 0
19-FEB-2007 19:48:32 * service_update * XE * 0
19-FEB-2007 19:48:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:58:32 * service_update * XE * 0
19-FEB-2007 20:00:02 * service_update * XE * 0
19-FEB-2007 20:00:41 * service_update * XE * 0
19-FEB-2007 20:01:42 * service_update * XE * 0
19-FEB-2007 20:02:49 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 20:11:18 * service_update * XE * 0
19-FEB-2007 20:14:06 * service_update * XE * 0
19-FEB-2007 20:15:12 * service_update * XE * 0
19-FEB-2007 20:17:27 * service_update * XE * 0
19-FEB-2007 20:18:36 * service_update * XE * 0
19-FEB-2007 20:21:41 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 20:28:36 * service_update * XE * 0
But here is my hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 solera.homedns.org solera localhost.localdomain localhost 127.0.0.1
Looks like they are there. -
Srvctl start database -d dbname error tns lost contact
hi,
i am facing error while starting the databse by using srvctl in single node database.
srvctl status database -d <dbname> is working fine and it is giving output. i am able to start the database manually too.
srvctl start database -d <dbname>
PRCR-1133 : Failed to stop database <dbname> and its running services
PRCR-1132 : Failed to stop resources using a filter
ORA-12547: TNS:lost contact
any advice.
regards
Suresh J
Edited by: user11982371 on Apr 20, 2012 6:53 AMmay i know what you have done before....srvctl start...etc...
do you have done any changes?
post your oracle version and OS....
please find below notes from metalink..it may helpful to you....
This could be many things but a popular issue is when you have a separate ASM Home and the listener is running out of this home (it was the first home installed). Srvctl needs a TNS_ADMIN alias to the network/admin directory in this home instead of using the default ORACLE_HOME/network/admin for the database you are trying to start. For srvctl to work you must
srvctl setenv nodeapps -n node -T TNS_ADMIN=full path
on each node in the cluster.
You cannot rely on a TNS_ADMIN environment variable.
See Note 420977.1
Another cause is non-existent spfile, see Note 732683.1
source support.oracle.com
Edited by: dbc001 on Mar 23, 2013 10:55 AM -
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 -
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
Maybe you are looking for
-
Inventory Cube Compression - Non-Cumulative
Dear All I have loaded setup tables in R/3 BX as on date TAC MCNB1 BF i.e. Historical TAC OLI1BW UM TAC OLIZBW I have loaded the Inventory Cube form all the three Data Sources 2LIS_03_BX : Initial Statu
-
Acrobat 10 Pro: Unable to Install Updates After Virus Removed: Receive Error 1310 ? Attempted to re-install the original Adobe Acrobat 10 Pro from the disk provided with the purchase; and it has put me in a trial; and is requesting that I purchase th
-
While posting f-53 i getting error missing table T043G
Hi while posting F-53 i getting error "company code" is Missing table T043G. What can i do for this.. can u advise this. Thank u anil
-
I want to display the print preview by using JavaScript.
Can the print preview be displayed by using JavaScript?
-
Error code :d0000029 while purchasing Cross court tennis 2 App in lumia
Error code :d0000029 while purchasing Cross court tennis 2 App in lumia , I tried so many times But it is not yet solved. Trial version is working fine, When i tried to buy full game at last movement it is returning error as d0000029