Unable to start database in srvctl Command- srvctl hangs
Hi,
I have 2 node rac database and i am not able to up the database with srvctl (instance name prod1 and prod 2)
database: 11.2
Linux red hat
[oracle@Host1 dbs]$ srvctl status database -d PROD
It got hanged, any one let me know how to troubleshoot this.
Where can i find log or trace file.
Thanks
Ram
Are you able to start db instance through sqlplus ?
Check if below MOS note help :
Troubleshooting when srvctl can't start RAC instance, but sqlplus can start it [ID 844272.1]
Diagnosing CRS-215 Error When Starting Clusterware Resources [ID 781632.1]
Regards
Rajesh
Similar Messages
-
Error while starting database using #dbstart command
Hello everybody...
I have installed Oracle 10G release 2 successfully and also created my database,
But when I try to start the database using #dbstart command I get the following error
Failed to auto-start Oracle Net Listene using /oracle/10gR2//bin/tnslsnr
chmod: modification des permissions de `/oracle/10gR1/startup.log': Operation not permited
Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
I modified /oracle/10gR2//bin/bin to /oracle/10gR1/
Then I get the following error...
chmod: modification des permissions de `/oracle/10gR1/startup.log': Op├®ration n
on permise
Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
I´m running RedHat Entreprise Linux 4 ES on an i686...
Please can you help me...?
Infos: The database work succesfully with 10g Release 10.1.0
Thanking you...
Message was edited by:
user526029Thanks for your reply...
Below is the content of my /etc/oratab file...
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
# Multiple entries with the same $ORACLE_SID are not allowed.
ASY_DB:/oracle/10gR1:Y
~
I wonder if the ORATAB file for 10.2 version is different form the one of 10.1...
Thanks a lot for your help -
PRD Down -Unable to start DB from startsap command
We accidently changed the permissions on /oracle/SID/ folder and
after that when we do "startsap" we are getting following error.
GPILPRD:gpradm 66> startsap
Checking GPR Database
Database is not available via R3trans
Running /usr/sap/GPR/SYS/exe/run/startdb
Trying to start GPR database ...
Log file: /home/gpradm/startdb.log
/usr/sap/GPR/SYS/exe/run/startdb: Terminating with error code 12
DB startup failed
The "R3trans -d" output trans.log with the message and
permissions of $ORACLE_HOME directory.
Furthermore , we are able to start the database by logging into SIDADM
user and database is in open state. However when we do startsap from
sidadm user we are facing mentioned issue.
RegardsOutput of trans.log---
4 ETW000 R3trans version 6.14 (release 701 - 23.07.10 - 09:23:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 08.04.2011 - 19:02:48
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Fri Apr 8 19:02:48 2011 449 0.000449
4 ETW000 [dev trc ,00000] db_con_init called 21 0.000470
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 26 0.000496
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/GPR/SYS/exe/run/dboraslib.so' ... 31 0.000527
4 ETW000 [dev trc ,00000] DlLoadLib() success: dlopen("/usr/sap/GPR/SYS/exe/run/dboraslib.so"), hdl 0
4 ETW000 35020 0.035547
4 ETW000 [dev trc ,00000] Library '/usr/sap/GPR/SYS/exe/run/dboraslib.so' loaded 108 0.035655
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/GPR/SYS/exe/run/dboraslib.so
4 ETW000 95 0.035750
4 ETW000 [dev trc ,00000] Version of '/usr/sap/GPR/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.110)
4 ETW000 357 0.036107
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/GPR/SYS/exe/run/dboraslib.so
4 ETW000 36 0.036143
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/GPR/SYS/exe/run/dboraslib.so
4 ETW000 59 0.036202
4 ETW000 [dev trc ,00000] New connection 0 created 31 0.036233
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 48 0.036281
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 51 0.036332
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 19 0.036351
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 44 0.036395
4 ETW000 [dev trc ,00000] -->oci_init1 522 0.036917
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0', (dbsl 701 140910) 125 0.037042
4 ETW000 [dev trc ,00000] Default connection: tnsname ='GPR' 21 0.037063
4 ETW000 [dev trc ,00000] -->oci_initialize(con_hdl=0, char='', nchar='') 21 0.037084
4 ETW000 [dev trc ,00000] application info callback registered 18 0.037102
4 ETW000 [dev trc ,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 39515 0.076617
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=0x60000000010a2070)
4 ETW000 102 0.076719
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=0x60000000010b2c28)
4 ETW000 33 0.076752
4 ETW000 [dev trc ,00000] NLS env. settings: lang=0041004D00450052004900430041004E00000000000000000000000000000000
4 ETW000 238 0.076990
4 ETW000 [dev trc ,00000] terr=0041004D00450052004900430041000000000000000000000000000000000000
4 ETW000 39 0.077029
4 ETW000 [dev trc ,00000] char=0055005400460031003600000000000000000000000000000000000000000000
4 ETW000 38 0.077067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 20 0.077087
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'
4 ETW000 31 0.077118
4 ETW000 [dev trc ,00000] charset='', chset='UTF8', UNI_ASC=FALSE/FALSE 19 0.077137
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 36 0.077173
4 ETW000 [dev trc ,00000] Connecting as /@GPR on connection 0 (nls_hdl 0) ... (dbsl 701 140910)
4 ETW000 31 0.077204
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 45 0.077249
4 ETW000 [dev trc ,00000] 0 UTF8 0x600000000109a5c0 0x60000000010a2070 0x60000000010b2c28
4 ETW000 32 0.077281
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 53 0.077334
4 ETW000 [dev trc ,00000] Allocating server context handle 24 0.077358
4 ETW000 [dev trc ,00000] Attaching to DB Server GPR (con_hdl=0,svchp=0x60000000010b2b58,srvhp=0x60000000010b6a08)
4 ETW000 35 0.077393
4 ETW000 [dev trc ,00000] Assigning server context 0x60000000010b6a08 to service context 0x60000000010b2b58
4 ETW000 57395 0.134788
4 ETW000 [dev trc ,00000] Allocating user session handle 116 0.134904
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0x60000000010b2b58, srvhp=0x60000000010b6a08, usrhp=0x60000000011454d0)
4 ETW000 67 0.134971
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 6044 0.141015
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034: 241 0.141256
4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 28 0.141284
4 ETW000 ORA-27121: unable to determine size of shared memory segment
4 ETW000 HPUX-ia64 Error: 13: Permissi
4 ETW000 [dev trc ,00000] on denied
4 ETW000 70 0.141354
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x60000000010b6a08) 22 0.141376
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x60000000010b2b58,srvhp=0x60000000010b6a08)
4 ETW000 33 0.141409
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x60000000010b6a08 from con_hdl=0
4 ETW000 993 0.142402
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034' 65 0.142467
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1034 22 0.142489
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1034) 85 0.142574
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1034 125 0.142699
4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 26 0.142725
4 ETW000 ORA-27121: unable to determine size of shared memory segment
4 ETW000 HPUX-ia64 Error: 13: Permissi
4 ETW000 [dev trc ,00000] on denied
4 ETW000 47 0.142772
4 ETW000 [dev trc ,00000] SAPUSER or connect error 99=DBSL_ERR_DB, oerr=1034. 46 0.142818
4 ETW000 [dblink ,00433] ***LOG BY2=>sql error 1034 performing CON [dblink#4 @ 433] 240 0.143058
4 ETW000 [dblink ,00433] ***LOG BY0=>ORA-01034: ORACLE not available 27 0.143085
4 ETW000 ORA-27121: unable to determine size of shared memory segment
4 ETW000 HPUX-ia64 Error: 13: Permission denied [dblink#4 @ 433]
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'GPR'" -
Unable to start database instance from sqlplus
The following is the error message displayed whenever I try to start the database from sqlplus:
SQL> startup
ORACLE instance started.
ORA-12505: TNS:listener could not resolve SID given in connect descriptor
SQL>
NOTE: I am able to startup the database by restarting the OracleService successfully.
Jayanand.You would get this error if the SQL Anywhere engine name (ENG) or database name (DBN) has changed.
Perhaps one (or both) of these was changed when the application was updated?
hth,
--Jason -
MacOS 10.10.3 Glassfish 4.1 unable to start using asadmin
it appears, that Apple have changed something to do with the required user rights on the launchctl dsexec which is used on MacOS with 10.10.3, so that I am now unable to start glassfish from the command line.
what's the fix for this?
eg:
bash-4.3$ asadmin start-domain test3
JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1.
Before it died, it produced the following output:
Command start-domain failed.
bash-4.3$weirddan455 wrote:
Morcas wrote:
graysky wrote:3.16.4 is a binary breaker. I don't know why it wasn't tested more before going into [core]... Perhaps because 3.17.0 was built so fast. In any case, either build the package yourself or wait for the devs to rebuild the module. This isn't the only one that is broken.
Thanks for the help. At this time I haven't got a clue how to build the necessary modules, so I guess I'll have to wait. Perhaps a reinstall with the lts...
There's probably another way but you can always just rebuild the package from the AUR.
Unfortunately, with a fresh install of Arch followed by catalyst-test from AUR, the boot process stops just after the disk check. -
Database not start with srvctl command in rac 10g
hi
when i change parameter in sqlnet file
SQLNET.AUTHENTICATION_SERVICES= (NTS) to SQLNET.AUTHENTICATION_SERVICES= (NONE)
then database is not started with srvctl utillity but started with sqlplus enviroment.
please help in this issueuser521214 wrote:
hi,
we are implementing security policy for our client. our databas is on RAC . As per the security, we need to revoke sys dba priviliges. when i used SQLNET.AUTHENTICATION_SERVICES=(NTS) in sqlnet.ora or SQLNET.AUTHENTICATION_SERVICES=(NONE). the instance not start with the following command in rac 10g.
$srvctl start database -d abc
$ crs_stat -t
Name Type Target State Host
ora.db.db application OFFLINE OFFLINE
ora....b1.inst application ONLINE OFFLINE hosttest01
Edited by: user521214 on Apr 21, 2011 4:08 AMIs this the only parameter you changed? What happens when you undo this modification?
What do you see on log files? -
Srvctl change OS user during start database
Scenario:
Aix 7.1
Oracle Grid Infrastructure Standalone Server 11.2.0.3
Patch 16083653: GRID INFRASTRUCTURE PATCH SET UPDATE 11.2.0.3.6 (INCLUDES DB PSU 11.2.0.3.6)
Oracle RDBMS Single Instance Installation 11.2.0.3
Patch 16056266: DATABASE PATCH SET UPDATE 11.2.0.3.6 (INCLUDES CPUAPR2013)
Patch 16036950: N-APPLY PATCH 11.2.0.3 FOR CRITCAL AIX BUGS BUNDLE #1
Owner of Grid Install is grid11g
Owner of RDBMS Install is ora11g
After install both binaries and patches, i created +ASM instance and Diskgroups using raw device (OS user grid11g).
Using DBCA i created a single instance, executing all scripts in manual mode (OS user ora11g).
Add instance to clusterware using:
srvctl add database -d "$SID" -o /ora11g/app/product/11.2.0.3/$SID -p "+DG_$SID_DATA/$SID/spfile$SID.ora" -n "$SID" -a "DG_$SID_DATA"
My problem is:
When i start database with logged user ora11g using command: srvctl start database -d $SID, all process of instance are started with grid owner install (grid11g).
output of ps -ef | grep $SID
grid11g 5439526
1 2 21:04:53
- 0:00 oracle$SID (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid11g 5963952
1 0 21:04:35
- 0:00 ora_dbw4_$SID
grid11g 6488118
1 3 21:04:53
- 0:00 ora_m002_$SID
grid11g 6619268
1 0 21:04:35
- 0:00 ora_dbw7_$SID
grid11g 6684858
1 0 21:04:44
- 0:00 ora_o001_$SID
grid11g 6881424
1 0 21:04:35
- 0:00 ora_smon_$SID
grid11g 7078066
1 0 21:04:35
- 0:00 ora_ocf0_$SID
But when i start database using sqlplus /nolog;conn / as sysdba; startup open. All process of instance started with correct owner (ora11g).
output of ps -ef | grep $SID
ora11g 5963950
1 0 20:22:16
- 0:00 ora_s000_$SID
ora11g 6619262
1 0 20:22:15
- 0:00 ora_ckpt_$SID
ora11g 7143426
1 0 20:22:16
- 0:01 ora_mmnl_$SID
ora11g 7340278
1 0 20:22:15
- 0:00 ora_dbw6_$SID
ora11g 7536702
1 0 20:22:15
- 0:00 ora_lgwr_$SID
ora11g 7798912
1 0 20:27:30
- 0:00 ora_smco_$SID
ora11g 7930010
1 0 20:22:15
- 0:00 ora_dbw2_$SID
Has anyone had any similar situation?
Thanks for help
Gustavo
Output:
With ora11g
srvctl config database -d $SID
Database unique name: $SID
Database name:
Oracle home: /ora11g/app/product/11.2.0.3/$SID
Oracle user: ora11g
Spfile:
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: MANUAL
Database instance: $SID
Disk Groups: DG_$SID_DATA
With grid11g
crsctl stat res ora.$SID.db -p
NAME=ora.$SID.db
TYPE=ora.database.type
ACL=owner:grid11g:rwx,pgrp:dba:r-x,other::r--,group:dba:r-x,user:ora11g:rwx
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
AUTO_START=never
CARDINALITY=1
CHECK_INTERVAL=1
CHECK_TIMEOUT=30
CLUSTER_DATABASE=false
DATABASE_TYPE=SINGLE
DB_UNIQUE_NAME=$SID
DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=database) PROPERTY(DB_UNIQUE_NAME= CONCAT(PARSE(%NAME%, ., 2), %USR_ORA_DOMAIN%, .)) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%) ELEMENT(DATABASE_TYPE= %DATABASE_TYPE%)
DEGREE=1
DESCRIPTION=Oracle Database resource
ENABLED=1
FAILOVER_DELAY=0
FAILURE_INTERVAL=60
FAILURE_THRESHOLD=1
GEN_AUDIT_FILE_DEST=/ora11g/app/admin/$SID/adump
GEN_START_OPTIONS=open
GEN_USR_ORA_INST_NAME=$SID
INSTANCE_FAILOVER=1
LOAD=1
LOGGING_LEVEL=1
MANAGEMENT_POLICY=MANUAL
OFFLINE_CHECK_INTERVAL=0
ONLINE_RELOCATION_TIMEOUT=0
ORACLE_HOME=/ora11g/app/product/11.2.0.3/$SID
PLACEMENT=balanced
RESTART_ATTEMPTS=1
ROLE=PRIMARY
SCRIPT_TIMEOUT=60
SERVER_POOLS=
START_DEPENDENCIES=weak(type:ora.listener.type,uniform:ora.ons) hard(ora.DG_$SID_DATA.dg)
START_TIMEOUT=600
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(intermediate:ora.asm,shutdown:ora.DG_$SID_DATA.dg)
STOP_TIMEOUT=600
TYPE_VERSION=3.2
UPTIME_THRESHOLD=1h
USR_ORA_DB_NAME=
USR_ORA_DOMAIN=
USR_ORA_ENV=
USR_ORA_FLAGS=
USR_ORA_INST_NAME=$SID
USR_ORA_OPEN_MODE=open
USR_ORA_OPI=false
USR_ORA_STOP_MODE=immediate
VERSION=11.2.0.3.0Hi JollyRoger
At first, I thought it was the command executed with the wrong user and redid the command being careful to be connected with the correct user.
Having the same result.
Following your suggestion, remove database with grid11g user and add with ora11g user. Same result.
I'm thinking of removing the Clustware and RDBMS installation and install infrastructure without patching. After this applying each patches and checking if the user changes. -
Databases instances stuck in MOUNT MODE after srvctl start database -d
Hi,
I wonder if anyone can shed some light on why the following scenario is happening in our environment.
We have a 4 node site, configured with RAC on nodes 1 & 2 and dataguard shipping the logs to a standby physical cluster
database on nodes 3 & 4.
Our issue is this:
When the database instances on nodes 1 & 2 are stopped and restarted using this command sequence
srvctl stop database -d SOCPRODCAV
srvctl start database -d SOCPRODCAV
each database instance gets started up only as far as MOUNT mode.
The databases are not opened and i have to go in and do this manually for each instance.
The above command sequence used to successfully restart the database and leave it open for use so i'm wondering how the start
mode has been changed and if there is an area of configuration or view anyone can guide me to look at it.
I provide remote DBA support for this client's and it is possible that another onsite DBA may have changed something.
Any pointers gratefully received.
Regards,
GeorgeSee current configuration as follows
srvctl config database -d SOCPRODCAV -aThis should show you current startup/stop settings as follows
Start options: open
Stop options: immediate
Now you can change current settings if Start option is not "open"
srvctl modify database -d SOCPRODCAV -s OPENReference
http://docs.oracle.com/cd/E14072_01/server.112/e10595/restart005.htm#i1009665
Salman -
Cound not start Database with SRVCTL
Hi,
We have 2 node Oracle RAC 10g on linux .But the problem is we can only start the database with SRVCTL command.The statistics of crs are given bellow
crs_stat -t -v
Name Type R/RA F/FT Target State Host
ora.mitc.db application 0/1 0/1 ONLINE OFFLINE
ora....c1.inst application 0/5 0/0 ONLINE OFFLINE
ora....c2.inst application 0/5 0/0 ONLINE OFFLINE
ora....UB.lsnr application 0/5 0/0 ONLINE ONLINE rac1pub
ora....pub.gsd application 0/5 0/0 ONLINE ONLINE rac1pub
ora....pub.ons application 0/3 0/0 ONLINE ONLINE rac1pub
ora....pub.vip application 0/0 0/0 ONLINE ONLINE rac1pub
ora....UB.lsnr application 0/5 0/0 ONLINE ONLINE rac2pub
ora....pub.gsd application 0/5 0/0 ONLINE ONLINE rac2pub
ora....pub.ons application 0/3 0/0 ONLINE ONLINE rac2pub
ora....pub.vip application 0/0 0/0 ONLINE ONLINE rac2pub
and when we start the database we got the following error
[oracle@rac1pub ~]$ srvctl start database -d mitc
PRKP-1001 : Error starting instance mitc1 on node rac1pub
CRS-0215: Could not start resource 'ora.mitc.mitc1.inst'.
PRKP-1001 : Error starting instance mitc2 on node rac2pub
CRS-0215: Could not start resource 'ora.mitc.mitc2.inst'.
Please,help in this matter.Thanx for your reply
The log file of CRSD has the following entries
2011-04-20 14:07:21.831: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:08:22.184: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:09:22.534: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:10:22.887: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:11:23.240: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:12:25.666: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:12:26.801: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:12:26.903: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [146043288] retval lht [-27] Signal CV.
2011-04-20 14:14:24.275: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:15:24.627: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:15:38.383: [ CRSRES][3739253664]0startRunnable: setting CLI values
2011-04-20 14:15:38.404: [ CRSEVT][3739253664]0CAAMonitorHandler :: 0:Action Script for resource 'ora.mitc.mitc1.inst' stdout redirection failed for `/oracle/product/10.2.0/crs/crs/log/startRqwsEA.stdout` : No such file or directory
2011-04-20 14:15:39.747: [ CRSAPP][3739253664]0StartResource error for ora.mitc.mitc1.inst error code = 1
2011-04-20 14:16:24.989: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:17:25.346: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:18:25.688: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:19:02.007: [ CRSRES][3739253664]0startRunnable: setting CLI values
2011-04-20 14:19:02.037: [ CRSEVT][3739253664]0CAAMonitorHandler :: 0:Action Script for resource 'ora.mitc.mitc1.inst' stdout redirection failed for `/oracle/product/10.2.0/crs/crs/log/startufHsG5.stdout` : No such file or directory
2011-04-20 14:19:03.372: [ CRSAPP][3739253664]0StartResource error for ora.mitc.mitc1.inst error code = 1
2011-04-20 14:19:26.034: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:20:26.386: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145591424] retval lht [-27] Signal CV.
2011-04-20 14:20:52.294: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145593896] retval lht [-27] Signal CV.
2011-04-20 14:20:52.517: [ OCRUTL][3931159456]u_freem: mem passed is null
2011-04-20 14:20:52.961: [ CRSRES][3771255712]0Attempting to start `ora.mitc.mitc2.inst` on member `rac2pub`
2011-04-20 14:20:52.989: [ CRSRES][3781745568]0startRunnable: setting CLI values
2011-04-20 14:20:53.004: [ CRSRES][3781745568]0Attempting to start `ora.mitc.mitc1.inst` on member `rac1pub`
2011-04-20 14:20:55.049: [ CRSAPP][3781745568]0StartResource error for ora.mitc.mitc1.inst error code = 1
2011-04-20 14:20:55.236: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145997144] retval lht [-27] Signal CV.
2011-04-20 14:20:55.929: [ CRSRES][3771255712]0Start of `ora.mitc.mitc2.inst` on member `rac2pub` failed.
2011-04-20 14:20:56.628: [ CRSRES][3781745568]0Start of `ora.mitc.mitc1.inst` on member `rac1pub` failed.
2011-04-20 14:21:26.746: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145593896] retval lht [-27] Signal CV.
2011-04-20 14:22:25.372: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [146011440] retval lht [-27] Signal CV.
2011-04-20 14:22:26.026: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145593896] retval lht [-27] Signal CV.
2011-04-20 14:22:27.151: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145283768] retval lht [-27] Signal CV.
2011-04-20 14:23:27.451: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [145593896] retval lht [-27] Signal CV.
2011-04-20 14:24:27.804: [ OCRSRV][4078017440]th_select_handler: Failed to retrieve procctx from ht. constr = [146011440] retval lht [-27] Signal CV.
There is not any error found in alter log file of database. -
Cannot start RAC DB using srvctl start database
Hello Fellows,
We used to have a 10.1.0.4 RAC DB on top of CRS 10.1.0.4 on top of Sun cluster 3.1 on both Sun Solaris SPARC 64-bit 5.9 nodes.
We :
- Unregisted the current RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- CRS servcies are healthy and up :
$ crs_status.sh
ora.tibisdb1.LISTENER_TIBISDB1.lsnr ONLINE ....etc for all other services
Now we are trying to upgrade the RAC DB from 10.1.0.4 to 10.2.
When i started the DBUA it i chose the cluster mode and then DBUA tried to startup both DB instances but it failed. To reproduce this, i registed the databse TIBIS with the 2 instances to the CRS and then tried to startup the DB but it failed:
$ crs_status.sh
ora.TIBIS.TIBIS1.inst OFFLINE OFFLINE
ora.TIBIS.TIBIS2.inst OFFLINE OFFLINE
ora.TIBIS.db OFFLINE OFFLINE ...etc
$ srvctl start database -d TIBIS
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:
SQL*Plus: Release 10.1.0.4.0 ...
Connected to an idle instance.
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:IPC init failed with status: 65
ORA-27301: OS failure message: Package not installed
ORA-27302: failure occurred at: skgxpcini
ORA-27303: additional information:libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
PRKP-1001 : Error starting instance TIBIS2 on node tibisdb2
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS2.inst
BTW, i can open the instances fine through SQLPLUS.
I did a full SRVCTL trace for the command and got the same errors above only.
I also followed also Note :Note : 814896.1
1. cd $ORACLE_HOME/rdbms/lib
2. rename the original library (if exists)
mv libskgxp10.so libskgxp10.so.old
3. Relink to configure UDP for IPC
make -f ins_rdbms.mk rac_on ipc_udp ioracle
4. Check whether the library exists
ls -l $ORACLE_HOME/lib/libskgxp10.so
Same result when try to SRVCTL START DATABASE -D TIBIS
RECENT CHANGES:
- Unregisted the current 10.1.0.4 RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- Try to upgrade/register the 101 RAC DB to 10.2 .
O/S DETAILS:
$ uname -a
SunOS tibisdb1 5.9 Generic_122300-29 sun4u sparc SUNW,Sun-Fire-V240
CLUSTERWARE:
Sun Cluster 3.1
Please advise,
Thank you.
FerasHello,
Thanks first for your following up and trying to help. I appreciate that.
Here is what you suggested :
$ srvctl start instance -d TIBIS -i TIBIS1
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL*Plus: Release 10.1.0.4.0 - Production on Tue Nov 17 08:57:50 2009
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Copyright (c) 1982, 2005, Oracle. All rights reserved.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Enter user-name: Connected to an idle instance.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> ORA-00603: ORACLE server session terminated by fatal error
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27504: IPC error creating OSD context
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27300: OS system dependent operation:IPC init failed with status: 65
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27301: OS failure message: Package not installed
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27302: failure occurred at: skgxpcini
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27303: additional information: libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
tibisdb1:ora.TIBIS.TIBIS1.inst:
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst
NAME=ora.TIBIS.TIBIS1.inst
TYPE=application
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for Instance
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=tibisdb1
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=ora.tibisdb1.vip
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
$ CRS_HOME/bin/crs_stat -p ora.oradb.oradb1.inst | grep ACTION_SCRIPT
/usr/bin/ksh: CRS_HOME/bin/crs_stat: not found
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst | grep ACTION_SCRIPT
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
$ ls -ltr /oracle/product/10.1.0/db_1/bin/racgwrap
-rwxr-x--x 1 oracle dba 629 Oct 17 14:23 /oracle/product/10.1.0/db_1/bin/racgwrap
$ more /oracle/product/10.1.0/db_1/bin/racgwrap
#!/bin/sh
# Wrapper script
ORACLE_HOME=/oracle/product/10.1.0/db_1
export ORACLE_HOME
ORACLE_BASE=/oracle/product/10.1.0/db_1
# export ORACLE_BASE if it is set
if [ ! -z "$ORACLE_BASE" ]
then
export ORACLE_BASE
fi
PATH=$ORACLE_HOME/bin:/usr/bin:$PATH
export PATH
# environment variable need to be set for executing
# lsnrctl, agentctl and sqlplus
ORA_RACG_EXEC_ENV="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH"
export ORA_RACG_EXEC_ENV
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
#_USR_ORA_DEBUG=1
#export USRORA_DEBUG
$ORACLE_HOME/bin/racgmain "$@"
status=$?
exit $status
$Regarding the Oracle SR, they replied yesterday and requested logs..etc. Waiting for their feedback while trying to resolve this.
Please advise.
Thanks,
Feras -
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 -
How to alter database open using srvctl command
Hi all,
I mounted my instances by using:
[oracle@rac1 ~]$ srvctl start database -d RAC -o mount
How can i open the instances by using srvctl from mounted status?
Thank you!
Dân.Hi,
srvctl start database <dbname> -open will not issue an "alter database open", hence it will not work on a mounted instance, as you have seen. So this is expected.
In case crs did only start the database in mount mode, you either have to use sqlplus or shutdown the db beforehand:
srvctl stop database -d <dbname> -o immediate
srvctl start database -d <dbname> -o openFor the future change the behavior, how crs will start the database with srvctl modify database.
Regards
Sebastian -
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 -
Reinstall CRS - SrvCtl start database - PRKR-1001
CRS,RDBMS: 10.2.0.4
I have reinstall CRS whith new ocr and voting disk
but command
srvctl stop database -d TEST
show following error
PRKR-1001 : cluster database TEST does not exist
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: TEST
Have you any advice how may I add my TEST cluster database to CRS RegistryI found myself solution for this questionon on metalink.oracle.com Doc ID: 169454.1
$ srvctl add database -d <db_name> -o $ORACLE_HOME
$ srvctl add instance -d <db_name> -i <instance_name> -n <node1>
$ srvctl add instance -d <db_name> -i <instance_name> -n <node2>
$ srvctl config database -d <db_name> -
11gR2:crsctl, srvctl commands takes too long to respond
Hi,
I have successfully configured *11gR2 two node RAC on ASM on Win 2008 64bit.*
Everything work very well like connecting to database, querying database. Node restart also takes acceptable time to go down & restart the clusterware & database.
But when I execute crsctl status resource -t or srvctl status database -d db_name commands from any node takes 10-15min to give output.
They give output & everything completes successfully but takes too long to respond.
The questions are:
- If everything works fine then why crsctl, srvctl takes too long to respond?
- what could be blocking these command to gather clusterware and database status on all nodes?
- what additional info would be helpful that I can provide?dag wrote:
I dont have this issue either. are you auto starting mpd?
that time is how long it is up in other words you opened it then closed it at that time
I'm not sure if you are referring to me or not, but in my screenshot I am timing the lag in ncmpcpp by pressing 'q' in the terminal during the delay, so it quits ncmpcpp immediately after the lag. The lag is longer for ncmpc because the interface loads before the program connects to mpd, so I have to stop it manually immediatly after it connects.
WonderWoofy wrote:I don't have this problem... if you are starting it as a systemd user service, maybe there is relevant information in the journal.
The journal did not reveal anything relevant sadly. I have now tried launching mpd without systemd, and the lag remains. I have also noticed that a small mpd programming project I am writing also experiences the same lag when it tries to connect to mpd.
Maybe you are looking for
-
Problem in installing SAP best practises.
Hi, We are trying to install SAP Best Practices Profeesional Sevrices (version1.500) But we are facing the problem of version incompatability as our SAP product is SAP ECC 6.0 the CD we received is (version 1.500). ERROR IS: component SAP_ABA sys.
-
since update or pushing button " reset Camera Raw settings" Camera raw shows wrong colors and wrong brightness. (Adobe RGB, Eizo CG245W) Photo has not been converted or anything else. Bridge shows correct collors.... opening in Camera Raw the Photo i
-
SQL Developer SDK wiki(for extensions development) link broken
Hi, I would like to develop an extension for Oracle SQL Developer. I searched around the web for extension development API but couldn't find any working links. The link http://wiki.oracle.com/page/SQL+Dev+SDK+Getting+Started in the forum sticky as we
-
Can anyone help? I have no delete option in my Media / Pictures menu so the only way I can delete pics is when attached to the computer. I think it was there when I first got the phone but somewhere along the way it has disappeared! Also I get a CS p
-
Hello, I have been trying to fix this problem with no success for awhile. When I try and backup and sync my iPad Air iOS 7.1.1 iTunes keeps returning the error message " iTunes cannot sync apps to the iPad because the apps installed on the iPad could