Error after running root.sh on second node
hi,
i have installed clusterware on a 2 node system running on RHEL 5
i followed the prereqs , and solved all the errors i encountered
after clusterware installation , it asks to run root.sh on all the nodes
when i ran root.sh on second node
it gave this error
Running vipca(silent) for configuring nodeapps
/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading
shared libraries: libpthread.so.0: cannot open shared object file:
No such file or directory
so i follwed metalink note 414163.1
after that i called it a day
in the morning , wheni started both nodes
and started vipca on second node
it gave this error
PRKH:1010 unable to communicate with crs services
the i ran ps-ef | grep crs
root 3201 1 0 15:37 ? 00:00:00 /bin/sh /etc/init.d/init.crsd run
crsctl check crs gave
failure 1 contacting css daemon
cannot communicate with crs
cannot communicate with evm
what should i do to start these services?
crsd and cssd logs were empty and there was no relevant info in crs alert
i am just reinstalling clusterware now
one thing i wanted to ask
why does owner ship of raw files change back to root (after node restart)
even though i chnged them to oracle
Similar Messages
-
(root@slpas20)[oracle/crshome/crs11g/css/admin] /oracle/crshome/crs11g/root.sh
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 0: slpas04 slpas04_priv slpas04
node 1: slpas20 slpas20_priv slpas20
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Failed 3 to bind listening endpoint: (ADDRESS=(PROTOCOL=tcp)(HOST=slpas20_priv))
CRS daemons not set to start.
(root@slpas20)[oracle/crshome/crs11g/css/admin]Hi Anand
Can you please control the following points please?
That on node1 in the /etc/hosts file the name of the private interconnect exist. But on node2 or the failing node it's missing the private interconnect in the /etc/hosts file. That should be the reason why the issue occurs.
Solution of The Problem might be to :
1. Add the missing hostnames to /etc/hosts
2. Stop and start CRS stack
Please confirm that this solves your issue.
thanks -
Cluster Installation Error while running root.sh
Hi all,
Please help
I tried to install clusterware but when i run root.sh on first node it shows as below
[root@rac11g1 etc]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory to 770.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete
[root@rac11g1 etc]# /u01/crs/oracle/product/11.1.0/crs/root.sh
WARNING: directory '/u01/crs/oracle/product/11.1.0' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
The directory '/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
The directory '/u01/crs/oracle/product' is not owned by root. Changing owner to root
The directory '/u01/crs/oracle' is not owned by root. Changing owner to root
The directory '/u01/crs' is not owned by root. Changing owner to root
The directory '/u01' is not owned by root. Changing owner to root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac11g1 rac11g1-priv rac11g1
node 2: rac11g2 rac11g2-priv rac11g2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/sdd1
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
rac11g1
Cluster Synchronization Services is inactive on these nodes.
rac11g2
Local node checking complete. Run root.sh on remaining nodes to start CRS daemon
On the Second Node
[root@rac11g2 crs]# ./root.sh
WARNING: directory '/u01/crs/oracle/product/11.1.0' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
The directory '/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
The directory '/u01/crs/oracle/product' is not owned by root. Changing owner to root
The directory '/u01/crs/oracle' is not owned by root. Changing owner to root
The directory '/u01/crs' is not owned by root. Changing owner to root
The directory '/u01' is not owned by root. Changing owner to root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac11g1 rac11g1-priv rac11g1
node 2: rac11g2 rac11g2-priv rac11g2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/sdd1
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
rac11g2
Cluster Synchronization Services is inactive on these nodes.
rac11g1
Local node checking complete. Run root.sh on remaining nodes to start CRS daemon
When i run root.sh on first node it shows that the second node is not active which is accceptable
but when i run on second node it shows that fisrt node is not active
please help i'm stuck here from past 2 days
Bala
Edited by: Bala0575 on Jun 16, 2010 3:48 AMDid you run cluvfy.sh before performing the instalation, if so did it report any errors. I would suggest running it now in "pre crsinst" mode and report any findings back. If CVU says everything is good then I would recommend talking to Oracle Support.
It looks like CSS is running on node1 at the end of its root.sh, yet its dead when root.sh is run on node 2.... makes me wonder if its root.2h on node2 thats killing it.
Run "cluvfy stage -pre crsinst" and post the output back to the forum please?
Yours,
Bob -
Root.sh on second node fails
I am running Linux 64bit. Installing Oracle 11gR2.
It passed all the per-requisite. Run root.sh on first node. It finished with no errorrs.
On second node I got the following:
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-07-13 12:51:28: Parsing the host name
2010-07-13 12:51:28: Checking for super user privileges
2010-07-13 12:51:28: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node fred0224, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'fred0225'
CRS-2676: Start of 'ora.mdnsd' on 'fred0225' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'fred0225'
CRS-2676: Start of 'ora.gipcd' on 'fred0225' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'fred0225'
CRS-2676: Start of 'ora.gpnpd' on 'fred0225' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'fred0225'
CRS-2676: Start of 'ora.cssdmonitor' on 'fred0225' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'fred0225'
CRS-2672: Attempting to start 'ora.diskmon' on 'fred0225'
CRS-2676: Start of 'ora.diskmon' on 'fred0225' succeeded
CRS-2676: Start of 'ora.cssd' on 'fred0225' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'fred0225'
Start action for octssd aborted
CRS-2676: Start of 'ora.ctssd' on 'fred0225' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'fred0225'
CRS-2672: Attempting to start 'ora.asm' on 'fred0225'
CRS-2676: Start of 'ora.drivers.acfs' on 'fred0225' succeeded
CRS-2676: Start of 'ora.asm' on 'fred0225' succeeded
CRS-2664: Resource 'ora.ctssd' is already running on 'fred0225'
CRS-4000: Command Start failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl start resource ora.asm -init
Start of resource "ora.asm -init" failed
Failed to start ASM
Failed to start Oracle Clusterware stack
In the ocssd.log I found
[ CSSD][3559689984]clssnmvDHBValidateNCopy: node 1, fred0224, has a disk HB, but no network HB, DHB has rcfg 174483948, wrtcnt, 232, LATS 521702664, lastSeqNo 232, uniqueness 1279039649, timestamp 1279039959/521874274
In oraagent_oracle.log I found
[ clsdmc][1212365120]Fail to connect (ADDRESS=(PROTOCOL=ipc)(KEY=fred0225DBG_GPNPD)) with status 9
2010-07-13 12:54:07.234: [ora.gpnpd][1212365120] [check] Error = error 9 encountered when connecting to GPNPD
2010-07-13 12:54:07.238: [ora.gpnpd][1212365120] [check] Calling PID check for daemon
2010-07-13 12:54:07.238: [ora.gpnpd][1212365120] [check] Trying to check PID = 20584
2010-07-13 12:54:07.432: [ COMMCRS][1285794112]clsc_connect: (0x1304d850) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=fred0225DBG_GPNPD))
[ clsdmc][1222854976]Fail to connect (ADDRESS=(PROTOCOL=ipc)(KEY=fred0225DBG_MDNSD)) with status 9
2010-07-13 12:54:08.649: [ora.mdnsd][1222854976] [check] Error = error 9 encountered when connecting to MDNSD
2010-07-13 12:54:08.649: [ora.mdnsd][1222854976] [check] Calling PID check for daemon
2010-07-13 12:54:08.649: [ora.mdnsd][1222854976] [check] Trying to check PID = 20571
2010-07-13 12:54:08.841: [ COMMCRS][1201875264]clsc_connect: (0x12f3b1d0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=fred0225DBG_MDNSD))
[ clsdmc][1159915840]Fail to connect (ADDRESS=(PROTOCOL=ipc)(KEY=fred0225DBG_GIPCD)) with status 9
2010-07-13 12:54:10.051: [ora.gipcd][1159915840] [check] Error = error 9 encountered when connecting to GIPCD
2010-07-13 12:54:10.051: [ora.gipcd][1159915840] [check] Calling PID check for daemon
2010-07-13 12:54:10.051: [ora.gipcd][1159915840] [check] Trying to check PID = 20566
2010-07-13 12:54:10.242: [ COMMCRS][1254324544]clsc_connect: (0x12f35630) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=fred0225DBG_GIPCD))
In oracssdagent_root.log I found
2010-07-13 12:52:28.698: [ CSSCLNT][1102481728]clssscConnect: gipc request failed with 29 (0x16)
2010-07-13 12:52:28.698: [ CSSCLNT][1102481728]clsssInitNative: connect failed, rc 29
2010-07-13 12:53:55.222: [ CSSCLNT][1102481728]clssnsqlnum: RPC failed rc 3
2010-07-13 12:53:55.222: [ USRTHRD][1102481728] clsnomon_cssini: failed 3 to fetch node number
2010-07-13 12:53:55.222: [ USRTHRD][1102481728] clsnomon_init: css init done, nodenum -1.
2010-07-13 12:53:55.222: [ CSSCLNT][1102481728]clsssRecvMsg: got a disconnect from the server while waiting for message type 43
2010-07-13 12:53:55.222: [ CSSCLNT][1102481728]clsssGetNLSData: Failure receiving a msg, rc 3
If anyone needs more info please let me know.On all nodes,
1. Modify the /etc/sysconfig/oracleasm with:
ORACLEASM_SCANORDER="dm"
ORACLEASM_SCANEXCLUDE="sd"
2. restart the asmlib by :
# /etc/init.d/oracleasm restart
3. Run root.sh on the 2nd node
hope this helps you -
Problem while running root.sh in RAC Node
I am currently configuring RAC on linux using VMWARE Server using the following link .My host Operating System is Windows XP and guest O/S Cent OS.Shared disks have been configured on my C drive for ocr,voting disk,asm.
http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
I have performed all the steps succesfully but during the installation of Clusterware Software from node RAC1 it asks for the execution of root.sh from both the nodes.
Currently I am running root.sh from first node but it gets hanged at "Startup will be queued to init within 90 seconds" and doesn't move from there on..Also according to the link I am following I should be experiencing below output while running root.sh from Node RAC2 instead of RAC1 which I am experiencing....Please suggest on this ...
# cd /u01/crs/oracle/product/10.2.0/crs
# ./root.sh
WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname rac1 for node 1.
assigning default hostname rac2 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac1 rac1-priv rac1
node 2: rac2 rac2-priv rac2
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
---------------------------Will someone update on this?
-
Error CLSRSC-507 during the execution of root.sh on second node
Hi all.
OS.......: Red-Hat 6.5
RDBMS: Oracle 12.1.0.2.0
During the installation of a 2-node RAC in a RHEL 6.5, during the execution of the root.sh script in the second node, i get the following error:
[root@oraprd02 grid]# ./root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.1.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/12.1.0/grid/crs/install/crsconfig_params
2015/05/04 22:47:16 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2015/05/04 22:47:59 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2015/05/04 22:48:00 CLSRSC-363: User ignored prerequisites during installation
OLR initialization - successful
2015/05/04 22:48:46 CLSRSC-507: The root script cannot proceed on this node oraprd02 because either the first-node operations have not completed on node oraprd01 or there was an error in obtaining the status of the first-node operations.
Died at /u01/app/12.1.0/grid/crs/install/crsutils.pm line 3681.
The command '/u01/app/12.1.0/grid/perl/bin/perl -I/u01/app/12.1.0/grid/perl/lib -I/u01/app/12.1.0/grid/crs/install /u01/app/12.1.0/grid/crs/install/rootcrs.pl ' execution failed
The root.sh on the first node completed successfully. I get the succeeded message from the script in the first node.
Have anyone faced this problem? Any assistance will be most helpfull.
Thanks in advance.crsd and cssd logs were empty and there was no relevant info in crs alert
i am just reinstalling clusterware now
one thing i wanted to ask
why does owner ship of raw files change back to root (after node restart)
even though i chnged them to oracle -
Error when running root.sh after 11.g2 standalone rac installation
OS: redhat 5.8
After completing the installation, when running root.sh , I get error:
[root@vmorarac1 oracle]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2/oracle
Enter the full pathname of the local bin directory: [usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Unrecognized character \x03 in column 3 at /u01/app/11.2/oracle/perl/lib/5.10.0/File/Basename.pm line 1.
Compilation failed in require at /u01/app/11.2/oracle/crs/install/roothas.pl line 115.
BEGIN failed--compilation aborted at /u01/app/11.2/oracle/crs/install/roothas.pl line 115.Based on error messages you are getting it narrows down to perl issue and invalid character present in perl script.
Have you or someone modified the perl script? Usually it is required to modify the scripts to point toproper perl location. Sometimes when you modify the script, the text editors could insert some characters in wrong encoding, etc. So I suggest to do comparison to perl scripts from the nodes with the same psu levels where installation was sucessfull., just compare filesize and if its different, then you could possible copy right scripts over current ones.
The GI installations are very hard to investigate remotely, there could be too many things that can be wrong, so oracle support is your friend.
As general thing I always recommend to install latest PSU before root.sh script execution.
Ed Rudans
erudans.blogspot.com -
Error while running root.sh in 11GR2 2 node cluster
Hi Friends,
I am trying to setup 11gR2 2 node RAC on RHEL 4.7. The cluvfy script shows everything as passed and grid infrastructure installation completes fine until I ran root.sh script. The root.sh script when run on node 1 exits with following error in console
DOCRAC1-N310 []:./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:>ORACLE_OWNER= oracle
>ORACLE_HOME= /app/oracle/grid
>
Enter the full pathname of the local bin directory: [usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y>Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y>Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y>Copying coraenv to /usr/local/bin ...
>
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-01-06 13:20:18: Parsing the host name
2011-01-06 13:20:18: Checking for super user privileges
2011-01-06 13:20:18: User has super user privileges
Using configuration parameter file: /app/oracle/grid/crs/install/crsconfig_params
PROTL-16: Internal Error
Command return code of 41 (10496) from command: /app/oracle/grid/bin/ocrconfig -local -upgrade oracle oinstall
Failed to create or upgrade OLRWhen I checked the logs in $GRID_HOME/log/<Node1>/client
I can see errors in ocrconfig_12426.log as
Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.
2011-01-06 13:20:19.133: [ OCRCONF][2564297536]ocrconfig starts...
2011-01-06 13:20:19.134: [ default][2564297536]utgdv: Could not find occonfig_loc property or ocrconfig_loc pointing to nothing
[ OCRCONF][2564297536]Error retrieving OCR configuration. Return [4]. procr_get_conf rc [41] error buffer [Error retrieving ocrconfig_loc property.]
2011-01-06 13:20:19.134: [ OCRCONF][2564297536]Error [4] retrieving configuration type
2011-01-06 13:20:19.134: [ OCRCONF][2564297536]Exiting [status=failed]...and in crsctl.log
[ CRSCTL][2566642592]Command::initStatic: clsugetconf failed with return code 4, status 1
2011-01-06 13:19:01.372: [ CRSCTL][2566642592]Command::checkConfig: clsugetconf returned unknown status
2011-01-06 13:19:11.502: [ default][2566642592]utgdv: Could not find occonfig_loc property or ocrconfig_loc pointing to nothing
[ default][2566642592]Error retrieving OCR configuration. Return [4]. procr_get_conf rc [41] error buffer [Error retrieving ocrconfig_loc property.]
[ CRSCTL][2566642592]Command::initStatic: clsugetconf failed with return code 4, status 1
2011-01-06 13:19:11.503: [ CRSCTL][2566642592]Command::checkConfig: clsugetconf returned unknown statusI have tried to deinstall, reconfigure , but still no luck. I will be trying to use Oracle Deinstall utlity now. Before that I would like to get comments from experts
Thanks ,
SSN.Consider moving this question to the Real Application Clusters forum.
Confirm that +/app/oracle/grid/crs/install/crsconfig_params+ exists before running root.sh - if it does, please post contents using tags to encapsulate the config text data.
Are you using ASM for managing voting and OCR disk storage, or are you manually setting these to specific block devices? -
Error when running root.sh on node1...
Oracle10GR2 RAC
RHEL 4 64bit
Hi,
I am almost through the clusterware installation. However, I am at the part where I have to run the root.sh scripts. When I run in on my first node I get the following message:
[root@galapagos home]# ./root.sh
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
/crs/home/bin/crsctl.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No s uch file or directory
Failure initializing entries in /etc/oracle/scls_scr/galapagos.
Do I need to worry about this? I'm pretty sure it is suppose to be error free.
Any help would be appreciated.
Thanks.Apparently, you are missing a c++ library. Please check to see if you have a library by name some thing like 'compat-libstdc++-*'
$rpm -qa |grep c++
libstdc++-devel-32bit-9-200407011229
libstdc++-3.3.3-43.41
compat-libstdc++-lsb-4.0.2_20050901-0.4 #-----This may be missing
libstdc++-devel-3.3.3-43.41
gcc-c++-3.3.3-43.41
HTH
Thanks
Chandra Pabba
PS: After posting this message, I have seen you second post...please ignore..
Message was edited by:
ChandraP -
Error while running root.sh
Hi, I am trying to install Oracle 9i (9.2.0.1.0) in my Red Hat Advanced Server 2.1 and everything went fine from installing to linking it. But when it´s asked me to run root.sh as root it gives me an error while trying to install LSSV. It´s an dependency error with libncurses.so.4. orclclnt-nw_lssv.Build.71-1 needs this file I mentioned.
Is the installation of my OS with problems? I am not sure if this (libncurses.so.4) should be installed with the OS or if Oracle installs it! After that, I decided to ignore this error and tried to continue with the installation but dbca gives me an error. I don´t think it´s related with LSSV but I would like to make sure is that´s nothing wrong with the installation!
Can anyone help solve this problem? Thanks!Hi,
Rename the file and continue the installation again.
Regards,
Umair -
OIM: Error after running in patch_oimapp.sh
Hi All,
I have OIM11gR2 installed and I am trying to configure the LDAP Synch with OID via OVD. As per the documentation, after running the patch_oimapp.sh, I am getting below error:
explode-archived-apps-was:
seed-ootb-jobs:
seed-ootb-jobs:
+[echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS+
+*[java] Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver+*
*+[java]* at java.net.URLClassLoader$1.run(URLClassLoader.java:202)+
+[java] at java.security.AccessController.doPrivileged(Native Method)+
+[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)+
+[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)+
+[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)+
+[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)+
+[java] at java.lang.Class.forName0(Native Method)+
+[java] at java.lang.Class.forName(Class.java:169)+
+[java] at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:723)+
+[java] at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:111)+
BUILD FAILED
+/opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:21: The following error occurred while executing this line:+
+/opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:84: The following error occurred while executing this line:+
+/opt/oracle/Middleware/Oracle_IAM/server/seed_data/seed-rcu-data.xml:37: Java returned: 1+
Total time: 44 seconds
Below is my appserver.profile file:
# Please fill the information below before running the post-patch script.
# Put the OIM DB schema owner name here
operationsDB.user=DEV_OIM
# Put the DB driver to be used
operationsDB.driver=oracle.jdbc.OracleDriver
# Put the absolute path to the Weblogic/Websphere server directory here.
appserver.dir=/opt/oracle/Middleware/wlserver_10.3
# The host on which OIM db is running
operationsDB.host=oracle
# The service name of the OIM db [Do not mention the SID here.]
operationsDB.serviceName=ORACLE11G
# The port of the OIM db
operationsDB.port=1521
# Application server was or wls
appserver.type=wls
Any pointers what could be wrong?
Regards,
SunnyHi Guys,
Thanks for the reply.
Copied the ojdbc6.jar in WLS_HOME/server/lib, OIM_HOME/server/lib,DOMAIN_HOME/lib, restarted the server but still no luck:
patch:
check-appserver-type:
[echo]
[echo] websphere.server----${appserver.was}
[echo]
explode-archived-apps:
[delete] Deleting directory /opt/oracle/Middleware/Oracle_IAM/server/apps/oim.ear
[delete] Deleting directory /opt/oracle/Middleware/Oracle_IAM/server/apps/Nexaweb.ear
[mkdir] Created dir: /opt/oracle/Middleware/Oracle_IAM/server/apps/oim.ear
[mkdir] Created dir: /opt/oracle/Middleware/Oracle_IAM/server/apps/Nexaweb.ear
[unzip] Expanding: /opt/oracle/Middleware/Oracle_IAM/server/patching/oim.ear into /opt/oracle/Middleware/Oracle_IAM/server/apps/oim.ear
[unzip] Expanding: /opt/oracle/Middleware/Oracle_IAM/server/patching/Nexaweb.ear into /opt/oracle/Middleware/Oracle_IAM/server/apps/Nexaweb.ear
check-appserver-type:
[echo]
[echo] websphere.server----${appserver.was}
[echo]
explode-archived-apps-was:
seed-ootb-jobs:
seed-ootb-jobs:
[echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS
[java] Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:169)
[java] at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:723)
[java] at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:111)
BUILD FAILED
/opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:21: The following error occurred while executing this line:
/opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:84: The following error occurred while executing this line:
/opt/oracle/Middleware/Oracle_IAM/server/seed_data/seed-rcu-data.xml:37: Java returned: 1
Total time: 50 seconds
Regards,
Sunny -
10g R2 RAC on Solaris 10 error when running root.sh
hi, I am installing Oracle 10g rac on Solaris 10 with two nodes. In the end of the installation of RAC when a run root.sh I get the error bellow.
# /opt/crs/oracle/product/10.2.0/crs/root.sh
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configurationI have done this install using a pair of T2000's and a 65XX SAN. The install doco is not straight forward. I had to compile a number of Metalink notes to eventually get the disk partitions sorted. Of particular help was Note:271621.1.
Since I am not a Solaris admin, the next bit is caveated as "This is how I did it" and maybe not how anyone else would have done it. These things were not explicitly noted, but gleaned through a bit of reading:
1) you need to throw away the first cylinder of each LUN. I did this by creating the first partition as a single cylinder.
2)then create s4 (or whichever slice you desire) as the rest of the space allocated to that LUN.
3) Repeat this for each LUN presented
4) I created a directory /san under which I then created the character mode (raw) interface for each of ocr, vote.
5) For asm, and for no other reason than being self documenting, I created /san/asm and created character mode interfaces to each of the LUN's for datadg and fradg
6) repeat steps 1-5 on the other box
I took quite some time (2 days) to extract all this and assemble it to a working system. But has always been stable.
Regards,
Kevin Crowley
Principal Consultant
Pacific DBMS P/L -
Installing 11gR1 CRS and receive error when executing root.sh on 2nd node of 2 node cluster
This is the error from the execution of root.sh on 2nd node of 2 node RAC cluster:
dhzusbx98: /u01/app/crs # ./root.sh
WARNING: directory '/u01/app' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up Network socket directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
dhzusbx98: /u01/app/crs #
This is what I find in the following log file: /u01/app/crs/log/dhzusbx98/client\ocrconfig_6422692.log
Oracle Database 11g CRS Release 11.1.0.6.0 - Production Copyright 1996, 2007 Ora cle. All rights reserved.
2015-02-11 11:21:07.384: [ OCRCONF][1]ocrconfig starts...
2015-02-11 11:21:07.388: [ OCRCONF][1]Upgrading OCR data
2015-02-11 11:21:07.455: [ OCROSD][1]utopen:7:failed to open OCR file/disk /dev /lnkocrd01CC3 , errno=16, os err string=Device busy
2015-02-11 11:21:07.465: [ OCRRAW][1]proprinit: Could not open raw device
2015-02-11 11:21:07.465: [ default][1]a_init:7!: Backend init unsuccessful : [26 ]
2015-02-11 11:21:07.467: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
2015-02-11 11:21:07.467: [ OCRAPI][1]a_init:7!: Backend init unsuccessful : [33 ]
2015-02-11 11:21:07.467: [ OCRCONF][1]There was no previous version of OCR. erro r:[PROC-33: Oracle Cluster Registry is not configured]
2015-02-11 11:21:07.524: [ OCROSD][1]utopen:7:failed to open OCR file/disk /dev /lnkocrd01CC3 , errno=16, os err string=Device busy
2015-02-11 11:21:07.524: [ OCRRAW][1]proprinit: Could not open raw device
2015-02-11 11:21:07.524: [ default][1]a_init:7!: Backend init unsuccessful : [26 ]
2015-02-11 11:21:07.560: [ OCROSD][1]utopen:7:failed to open OCR file/disk /dev /lnkocrd01CC3 , errno=16, os err string=Device busy
2015-02-11 11:21:07.560: [ OCRRAW][1]proprinit: Could not open raw device
2015-02-11 11:21:07.560: [ OCRAPI][1]a_init:6b!: Backend init unsuccessful : [2 6]
2015-02-11 11:21:07.560: [ OCRCONF][1]Failed to initialized OCR context. error:[ PROC-26: Error while accessing the physical storage Operating System error [Devi ce busy] [16]]
2015-02-11 11:21:07.560: [ OCRCONF][1]Exiting [status=failed]...
dhzusbx98: /u01/app/crs/log/dhzusbx98/client #
dhzusbx98: /u01/app/crs/log/dhzusbx98/client #
dhzusbx98: /u01/app/crs/log/dhzusbx98/client #
dhzusbx98: /u01/app/crs/log/dhzusbx98/client # set -o vi
dhzusbx98: /u01/app/crs/log/dhzusbx98/client # cat ocrconfig_6422692.log
Oracle Database 11g CRS Release 11.1.0.6.0 - Production Copyright 1996, 2007 Oracle. All rights reserved.
2015-02-11 11:21:07.384: [ OCRCONF][1]ocrconfig starts...
2015-02-11 11:21:07.388: [ OCRCONF][1]Upgrading OCR data
2015-02-11 11:21:07.455: [ OCROSD][1]utopen:7:failed to open OCR file/disk /dev/lnkocrd01CC3 , errno=16, os err string=Device busy
2015-02-11 11:21:07.465: [ OCRRAW][1]proprinit: Could not open raw device
2015-02-11 11:21:07.465: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2015-02-11 11:21:07.467: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
2015-02-11 11:21:07.467: [ OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
2015-02-11 11:21:07.467: [ OCRCONF][1]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2015-02-11 11:21:07.524: [ OCROSD][1]utopen:7:failed to open OCR file/disk /dev/lnkocrd01CC3 , errno=16, os err string=Device busy
2015-02-11 11:21:07.524: [ OCRRAW][1]proprinit: Could not open raw device
2015-02-11 11:21:07.524: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2015-02-11 11:21:07.560: [ OCROSD][1]utopen:7:failed to open OCR file/disk /dev/lnkocrd01CC3 , errno=16, os err string=Device busy
2015-02-11 11:21:07.560: [ OCRRAW][1]proprinit: Could not open raw device
2015-02-11 11:21:07.560: [ OCRAPI][1]a_init:6b!: Backend init unsuccessful : [26]
2015-02-11 11:21:07.560: [ OCRCONF][1]Failed to initialized OCR context. error:[PROC-26: Error while accessing the physical storage Operating System error [Device busy] [16]]
2015-02-11 11:21:07.560: [ OCRCONF][1]Exiting [status=failed]...
dhzusbx98: /u01/app/crs/log/dhzusbx98/client # cat /etc/oracle/ocr.loc
ocrconfig_loc=/dev/lnkocrd01CC3
local_only=FALSE
Can I just retry the root.sh on the 2nd node? or, do I have to do some sort of cleanup and then retry? Please advise.... Thanks, AdolfoAre you using raw disk devices for Oracle 11g RAC? You might want to move to ASM. For starters, your version, 11.1 is no longer fully supported by Oracle Corp. You'll need to be on 11.2.0.3 or higher to be supported. The 11.2.0.3 version loses Extended Support in August I think. The 11.2.0.4 version loses Extended Support in January. All of this means your production Oracle RAC database should be on the 12c version by January. And guess what? Oracle 12c RAC does not support raw disk devices.
Since you're starting with this cluster fresh, why not aim for a configuration that will allow you to go forth into the foreseeable future without major configuration changes?
Cheers,
Brian -
Oracle 9i export error after running catexp.sql file
After running catexp.sql file in oracle 9i 9.2.0.7.0 as system user,it gives the following error while logging
ORA-04020: deadlock detected while trying to lock object SYS.DBMS_STANDARD
please help me.............."catexp.sql" is to be run by SYS AS SYSDBA.
You'd have to cleanup any extra objects that you created in the SYSTEM account.
Why did you think that you needed to run "catexp.sql" ? Are you exporting using 9i exp against a 10g database or against a 9i database ? -
Several errors after running catalog.sql
I did a fresh installation of oracle apps EBS 11.5.10.2 on Linux OEL and was trying to do an import/export and it was not working as expected. So after i looked at Oracle's documentation it said catalog.sql has to be run before using the import/export. So i ran catalog.sql first but i did not run it with SYSDBA but ran it as SYSTEM and i saw several errors like access denied etcv. after i ran the catalog.sql i was not able to login via apps or any other user except SYSTEM and was giving me erros like ORA-04065:not executed,altered or dropped stored procedure "SYS.DBMS_SESSION"
After this to fix the issue i ran @?/rdbms/admin/catpatch.sql and @?/rdbms/admin/utlrp as SYSDBA but both executed a lot of grants etc but are haging at some point and not finishing.
The current state of the database is that im not able to login via any user except SYSTEM and i think i corrupted the db dictionary as everywhere i see they say running catalog.sql on an existing database is a bad idea. Can anyone help?Hi Dheeraj,
My db version is 9.2.0.5.0 and OS is OEL 5.7.
The doc where it was mentioned to run catalog.sql before using import/export is below:
http://docs.oracle.com/cd/B10501_01/server.920/a96652/ch01.htm
Please do not follow the steps in this link and instead follow the steps in (9i Export/Import Process for Oracle Applications Release 11i [ID 230627.1]).
Currently when im trying to login using apps or any other user below are errors i get.
ERROR:
ORA-00604: error occurred at recursive SQL level1
ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped stored procedure "SYS.DBMS_SESSION"
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512:at "SYS.OWA_VPD_CTX", line 5
ORA-06512:at "SYS.PORTAL_LOGIN", line 3
ORA-06512:at line 2
Can you pls help me to fix this.The status of the package is invalid and you need to validate it. Connect as sysdba and issue:
SQL> select owner, object_type, status
from dba_objects
where object_name = 'DBMS_SESSION';
SQL> alter package DBMS_SESSION compile body;
SQL> show error
SQL> alter package DBMS_SESSION compile;
SQL> show errorPlease also see:
Data Dictionary Objects Invalid after Running catalog.sql, catproc.sql, utlrp.sql or catpatch.sql [ID 752783.1]
Debug and Validate Invalid Objects [ID 300056.1]
How to Diagnose Invalid or Missing Data Dictionary (SYS) Objects [ID 554520.1]
Thanks,
Hussein
Maybe you are looking for
-
My computor has a message that says this copy of windows is not genuine. Please Help
My computor shut down and I called the lenovo help centre.I was then told that as my computor was not responding that I would have to return it to its factory default settings. The guy told me to turn off the computor and then press f11 and hold whil
-
The album ratings assigned by iTunes are ruining my playlists. How do I COMPLETELY remove these ratings? They currently appear as hollow stars. I have tried to find assistance in the forums and in the help sections but without success. I see a few pe
-
Connecting Creative Megaworks 510D to Nforce - Analogue or digital bes
Hi, I am awaiting delivery of a set of Creative Megaworks 510D 5.1 speakers, and have a couple of questions for you.. 1) What is the best method of connecting them to my K7N420 Pro?. I have a CNR (AMR?) card as a plan B, but my first preference would
-
Help accessing NAS - not working like before iCloud...
Hi: So before upgrading my mobileme account to iCloud I was able to acces a hard drive attached to my airport extreme remotely. I believe this was done by enabling back to my mac in mobileme. When opening the finder, the NAS would appear in the sid
-
RH8 Webhelp not working with IE8 - potential workaround
So after about 2 hours on the phone with Adobe, and no luck getting even an ounce of support, I'm totally frustrated and ready to give up. Problem - generate webhelp with RH8, display in IE8. Browser opens, spawns a blank window. Help might be displa