Root.sh script failed
Hi all,
I am trying to install Oracle 11g R2 RAC on HP UX 11.3, As part of that installed Grid software. while executing roo.sh script on node 1 getting the following error.
# ./root.sh
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]:
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.sh script.
Now product-specific root actions will be performed.
chmod: can't change /u01/app/11.2.0/grid/bin/extjob: Not owner
chmod: can't change /u01/app/11.2.0/grid/rdbms/admin/externaljob.ora: Not owner
chmod: can't change /u01/app/11.2.0/grid/bin/jssu: Not owner
2010-11-02 00:52:38: Parsing the host name
2010-11-02 00:52:38: Checking for super user privileges
2010-11-02 00:52:38: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_p arams
Creating trace directory
Can't set permissions on /u01/app/11.2.0/grid/log/lodii017m: Not owner at /u01/a pp/11.2.0/grid/crs/install/crsconfig_lib.pm line 5030.
Please help. I couldnt able to procede further from this step.
Thanks,
Hi rajesh, thanks for the information, it seems my problem is with the permissions. But i have followed the steps which are refered in the installation document.
Here are the steps which i have done.
Created the shared folders for grid, oracle_home, shared_config and oradata using root user.
mkdir /u01/app/11.2.0/grid
mkdir /u01/app/oracle/product/11.2.0/db_1
mkdir /u01/oradata
mkdir /u01/shared_config
chown -R oracle:oinstall /u01/shared_config
chown -R oracle:oinstall /u01/app/11.2.0/grid
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1
chown -R oracle:oinstall /u01/oradata
chmod -R 775 /u01/app /u01/app/oracle /u01/oradata /u01/shared_config
After executing root.sh on node 1 i have faced the problem.
Please correct me if i am doing any thing wrong
Similar Messages
-
Root.sh script failed to run after 11gR2 grid installation
Hi,
I am trying to install 11gR2 on RHEL 5.3 . however I have problems running th post install script on both nodes.
here is the output of the root.sh script on the first node :
[root@rac1 grid]# ./root.sh
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]:
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.
Can't locate auto/DynaLoader/dl_findfile.al in @INC (@INC contains: /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib /u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl . /u01/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 171
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/Fcntl.pm line 216.
Compilation failed in require at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 10.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 10.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 218.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 218.
I found the required auto/DynaLoader/dl_findfile.al file :
[root@rac1 grid]# find /. -name dl_findfile.al
/./orainst/app/crs/perl/lib/5.8.3/x86_64-linux-thread-multi/auto/DynaLoader/dl_findfile.al
/./usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/dl_findfile.al
but I don't know how or where to change the perl include libraries.
Please AdviseHi,
no I don't have PERL5LIB environment set to some value for root.
I added the path in the root.sh file to the system perl-5.8.8 include file and change the perlbin to use the system /usr/bin/perl executable and then the root.sh file did run and finished succesfully.
However other utilities have the same problems . like running asmcmd.
Do you have any idea how to fix it globally?
Thanks -
Root.sh script fail to run on OEL5.4
hi, I am trying to install Grid Infrastructure for a Standalone Server on Oracle Enterprise Linux 5.4. i have a problem when i run root.sh script through root user its not execute successufly the error is "error while loading shared libraries" Please give any soluciton.
Here is the execution of root.sh script
[root@ws1 OraGrid11gR2]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/grid/OraGrid11gR2
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.sh script.
Now product-specific root actions will be performed.
2009-11-02 18:18:28: Checking for super user privileges
2009-11-02 18:18:28: User has super user privileges
2009-11-02 18:18:28: Parsing the host name
Using configuration parameter file: /opt/grid/OraGrid11gR2/crs/install/crsconfig_params
Creating trace directory
/opt/grid/OraGrid11gR2/bin/ocrconfig.bin: error while loading shared libraries:/opt/grid/OraGrid11gR2/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
Failed to create or upgrade OLR
Please give any solutionThis installation should be very very simple and straight-forward but it has taken me over a week to sort it out.
What nobody pointed out is the fact that the best way to go about it is:
1. Deinstall the install
2. Make sure SELINUX=disabled is set in /etc/selinux/conf ....bounce it if necessary
3. Do the install again afresh
I didn't know it can be this easy.....I have gone thru every note and onto Metalink without any luck. Now I am delighted and can go on with my practices. -
Adding new node to the Clusterware fails with the root.sh script.
Dear All,
I had successfully added third node to the existing 2 node cluster. After adding new node I need to run the root.sh scripts, but it was faling with the below error.
Please help me with the below issue:
Instantiating scripts for add node (Monday, April 8, 2013 3:23:14 PM EDT)
. 1% Done.
Instantiation of add node scripts complete
Copying to remote nodes (Monday, April 8, 2013 3:23:16 PM EDT)
............................................................................................... 96% Done.
Home copied to new nodes
Saving inventory on nodes (Monday, April 8, 2013 3:31:40 PM EDT)
. 100% Done.
Save inventory complete
WARNING:
The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
/u01/app/11.2.0/grid/root.sh #On nodes svphxwgdbprd06
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts in each cluster node
The Cluster Node Addition of /u01/app/11.2.0/grid was successful.
Root.SH Script Log:
[root@svphxwgdbprd06 ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
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 contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'svphxwgdbprd06'
CRS-2676: Start of 'ora.mdnsd' on 'svphxwgdbprd06' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'svphxwgdbprd06'
CRS-2676: Start of 'ora.gpnpd' on 'svphxwgdbprd06' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'svphxwgdbprd06'
CRS-2672: Attempting to start 'ora.gipcd' on 'svphxwgdbprd06'
CRS-2676: Start of 'ora.cssdmonitor' on 'svphxwgdbprd06' succeeded
CRS-2676: Start of 'ora.gipcd' on 'svphxwgdbprd06' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'svphxwgdbprd06'
CRS-2672: Attempting to start 'ora.diskmon' on 'svphxwgdbprd06'
CRS-2676: Start of 'ora.diskmon' on 'svphxwgdbprd06' succeeded
CRS-2676: Start of 'ora.cssd' on 'svphxwgdbprd06' succeeded
ASM created and started successfully.
Disk Group DATA created successfully.
clscfg: -install mode specified
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Failed to initialize Oracle Cluster Registry for cluster, rc 105
Oracle Grid Infrastructure Repository configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6818.The document references posted already are very good ones. However, I would say that on personal experience (on Solaris and 10gR2) that the addnode tools gave me nothing but problems. Luckily, I was able to build a parallel cluster (with three nodes) on other hardware and then move the databases across via DataGuard. It was quicker and cleaner (and easier!) that way...
Good luck! -
Hi Oracle Experts,
I am trying to setup a new GRID Standalone Infrastructure on a previously installed Oracle 11g database.
It runs all fine but when prompts to run the root.sh script it does not allow to proceed as it prompts to overwrite the existing path for /usr/bin/local
well, I google'd and tried with overwrite : Y . It prompted to run the script but it failed ...
Could you please help me on this ..
[root@asm ~]# /u01/app/11.2.0/grid/root.sh
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]: 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.
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
[root@asm ~]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/ crs/install/roothas.pl
2015-03-18 01:42:25: Checking for super user privileges
2015-03-18 01:42:25: User has super user privileges
2015-03-18 01:42:25: Parsing the host name
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 'oracle', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node asm successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
acfsroot: ACFS-9320: Missing advmutil.
acfsroot: ACFS-9320: Missing advmutil.bin.
acfsroot: ACFS-9320: Missing fsck.acfs.
acfsroot: ACFS-9320: Missing fsck.acfs.bin.
acfsroot: ACFS-9320: Missing mkfs.acfs.
acfsroot: ACFS-9320: Missing mkfs.acfs.bin.
acfsroot: ACFS-9320: Missing mount.acfs.
acfsroot: ACFS-9320: Missing mount.acfs.bin.
acfsroot: ACFS-9320: Missing acfsdbg.
acfsroot: ACFS-9320: Missing acfsdbg.bin.
acfsroot: ACFS-9320: Missing acfsutil.
acfsroot: ACFS-9320: Missing acfsutil.bin.
acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
acfsroot: ACFS-9302: No installation files found at /u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5xen-x86_64/bin.
asm 2015/03/18 01:43:06 /u01/app/11.2.0/grid/cdata/asm/backup_20150318_014306.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
when I checked for ASM instance its not running ... but just ohasd service and nothing else ..
[root@asm grid]# ps -ef | grep pmon
oracle 5831 1 0 01:15 ? 00:00:01 ora_pmon_db11g1
root 12625 8794 0 02:30 pts/2 00:00:00 grep pmon
[root@asm grid]#
[root@asm grid]#
[root@asm grid]# ps -ef | grep d.bin
oracle 12643 1 5 02:30 ? 00:00:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot
root 12715 8794 0 02:30 pts/2 00:00:00 grep d.bin
[root@asm grid]#
Could you please help .hi,
The issue not with /usr/bin/local. When you excute root.sh, it will try configure the ASM with New GRID HOME. Issue started, whent tried to start
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting <<=================================================================
acfsroot: ACFS-9320: Missing advmutil.
Please let us know the below details
==> Acfs is configured the servers??
==>acfsutil registry
acfsutil info fs output.
==> With out ASM instance , How the database, CRS STarted ???
==> Please try stop and start the crs.
==> crsctl query crs activeversion output
Regards
Krishnan -
11gR2 clusterware installation problem on root.sh script on second node
Hi all,
I wanna install the *11gR2 RAC* on ORA-Linux 5.5 (x86_64) using VMware server but on the second node i get two "*failed*" at the end of root.sh script.
After that i try to install DB but ı can see only one node.What is the problem...
I will send the output, ı need your help.
Thank you all for helping..
Hosts file:(we have no ping problem )
[root@rac2 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# Public
192.168.2.101 rac1.localdomain rac1
192.168.2.102 rac2.localdomain rac2
# Private
192.168.0.101 rac1-priv.localdomain rac1-priv
192.168.0.102 rac2-priv.localdomain rac2-priv
# Virtual
192.168.2.111 rac1-vip.localdomain rac1-vip
192.168.2.112 rac2-vip.localdomain rac2-vip
# SCAN
192.168.2.201 rac-scan.localdomain rac-scan
[root@rac2 ~]#
FIRST NODE root.sh script output...
[root@rac2 ~]# /u01/app/11.2.0/db_1/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/db_1
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.sh script.
Now product-specific root actions will be performed.
2010-12-06 14:45:06: Parsing the host name
2010-12-06 14:45:06: Checking for super user privileges
2010-12-06 14:45:06: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/db_1/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'
CRS-2676: Start of 'ora.gipcd' on 'rac2' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac2'
CRS-2676: Start of 'ora.gpnpd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac2'
CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
ASM created and started successfully.
DiskGroup DATA created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac2'
CRS-2676: Start of 'ora.crsd' on 'rac2' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 587cc69413ce4fd3bf0c2c2548fb9017.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
1. ONLINE 587cc69413ce4fd3bf0c2c2548fb9017 (/dev/oracleasm/disks/DISK1) [DATA]
Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'rac2'
CRS-2677: Stop of 'ora.crsd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2'
CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac2'
CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2'
CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2'
CRS-2677: Stop of 'ora.gipcd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2'
CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'
CRS-2676: Start of 'ora.mdnsd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'
CRS-2676: Start of 'ora.gipcd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac2'
CRS-2676: Start of 'ora.gpnpd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac2'
CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac2'
CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac2'
CRS-2676: Start of 'ora.crsd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac2'
CRS-2676: Start of 'ora.evmd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac2'
CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'rac2'
CRS-2676: Start of 'ora.DATA.dg' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.registry.acfs' on 'rac2'
CRS-2676: Start of 'ora.registry.acfs' on 'rac2' succeeded
rac2 2010/12/06 14:52:06 /u01/app/11.2.0/db_1/cdata/rac2/backup_20101206_145206.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 6847 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
[root@rac2 ~]#
SECOND NODE root.sh script output
[root@rac1 db_1]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/db_1
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.sh script.
Now product-specific root actions will be performed.
2010-12-06 14:54:11: Parsing the host name
2010-12-06 14:54:11: Checking for super user privileges
2010-12-06 14:54:11: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/db_1/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-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
ASM created and started successfully.
DiskGroup DATA created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
Successful addition of voting disk 2761ce8d47b44fbabf73462151e3ba1d.
Successfully replaced voting disk group with +DATA.
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
1. ONLINE 2761ce8d47b44fbabf73462151e3ba1d (/dev/oracleasm/disks/DISK1) [DATA]
Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac1'
CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'rac1'
CRS-2676: Start of 'ora.DATA.dg' on 'rac1' succeeded
PRCR-1079 : *Failed* to start resource ora.scan1.vip
CRS-5005: IP Address: 192.168.2.201 is already in use in the network
CRS-2674: Start of 'ora.scan1.vip' on 'rac1' *failed*
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
start scan ... *failed*
Configure Oracle Grid Infrastructure for a Cluster ... *failed*
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 6847 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
[root@rac1 db_1]# * "./runcluvfy.sh stage -pre -crsinst -n rac1,rac2 " outputs are same each node....*
[oracle@rac2 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2
Performing pre-checks for cluster services setup
Checking node reachability...
Node reachability check passed from node "rac2"
Checking user equivalence...
User equivalence check passed for user "oracle"
Checking node connectivity...
Checking hosts config file...
Verification of the hosts config file successful
Node connectivity passed for subnet "192.168.2.0" with node(s) rac2,rac1
TCP connectivity check passed for subnet "192.168.2.0"
Node connectivity passed for subnet "192.168.122.0" with node(s) rac2,rac1
TCP connectivity check failed for subnet "192.168.122.0"
Node connectivity passed for subnet "192.168.0.0" with node(s) rac2,rac1
TCP connectivity check passed for subnet "192.168.0.0"
Interfaces found on subnet "192.168.2.0" that are likely candidates for VIP are:
rac2 eth0:192.168.2.102 eth0:192.168.2.112 eth0:192.168.2.201
rac1 eth0:192.168.2.101 eth0:192.168.2.111
Interfaces found on subnet "192.168.122.0" that are likely candidates for a private interconnect are:
rac2 virbr0:192.168.122.1
rac1 virbr0:192.168.122.1
Interfaces found on subnet "192.168.0.0" that are likely candidates for a private interconnect are:
rac2 eth1:192.168.0.102
rac1 eth1:192.168.0.101
Node connectivity check passed
Total memory check passed
Available memory check passed
Swap space check passed
Free disk space check passed for "rac2:/tmp"
Free disk space check passed for "rac1:/tmp"
User existence check passed for "oracle"
Group existence check passed for "oinstall"
Group existence check passed for "dba"
Membership check for user "oracle" in group "oinstall" [as Primary] passed
Membership check for user "oracle" in group "dba" passed
Run level check passed
Hard limits check passed for "maximum open file descriptors"
Soft limits check passed for "maximum open file descriptors"
Hard limits check passed for "maximum user processes"
Soft limits check passed for "maximum user processes"
System architecture check passed
Kernel version check passed
Kernel parameter check passed for "semmsl"
Kernel parameter check passed for "semmns"
Kernel parameter check passed for "semopm"
Kernel parameter check passed for "semmni"
Kernel parameter check passed for "shmmax"
Kernel parameter check passed for "shmmni"
Kernel parameter check passed for "shmall"
Kernel parameter check passed for "file-max"
Kernel parameter check passed for "ip_local_port_range"
Kernel parameter check passed for "rmem_default"
Kernel parameter check passed for "rmem_max"
Kernel parameter check passed for "wmem_default"
Kernel parameter check passed for "wmem_max"
Kernel parameter check passed for "aio-max-nr"
Package existence check passed for "make-3.81"
Package existence check passed for "binutils-2.17.50.0.6"
Package existence check passed for "gcc-4.1.2"
Package existence check passed for "libaio-0.3.106 (i386)"
Package existence check passed for "libaio-0.3.106 (x86_64)"
Package existence check passed for "glibc-2.5-24 (i686)"
Package existence check passed for "glibc-2.5-24 (x86_64)"
Package existence check passed for "compat-libstdc++-33-3.2.3 (i386)"
Package existence check passed for "compat-libstdc++-33-3.2.3 (x86_64)"
Package existence check passed for "elfutils-libelf-0.125 (x86_64)"
Package existence check passed for "elfutils-libelf-devel-0.125"
Package existence check passed for "glibc-common-2.5"
Package existence check passed for "glibc-devel-2.5 (i386)"
Package existence check passed for "glibc-devel-2.5 (x86_64)"
Package existence check passed for "glibc-headers-2.5"
Package existence check passed for "gcc-c++-4.1.2"
Package existence check passed for "libaio-devel-0.3.106 (i386)"
Package existence check passed for "libaio-devel-0.3.106 (x86_64)"
Package existence check passed for "libgcc-4.1.2 (i386)"
Package existence check passed for "libgcc-4.1.2 (x86_64)"
Package existence check passed for "libstdc++-4.1.2 (i386)"
Package existence check passed for "libstdc++-4.1.2 (x86_64)"
Package existence check passed for "libstdc++-devel-4.1.2 (x86_64)"
Package existence check passed for "sysstat-7.0.2"
Package existence check passed for "unixODBC-2.2.11 (i386)"
Package existence check passed for "unixODBC-2.2.11 (x86_64)"
Package existence check passed for "unixODBC-devel-2.2.11 (i386)"
Package existence check passed for "unixODBC-devel-2.2.11 (x86_64)"
Package existence check passed for "ksh-20060214"
Check for multiple users with UID value 0 passed
Current group ID check passed
Core file name pattern consistency check passed.
User "oracle" is not part of "root" group. Check passed
Default user file creation mask check passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
NTP Configuration file check passed
Checking daemon liveness...
Liveness check passed for "ntpd"
NTP daemon slewing option check passed
NTP daemon's boot time configuration check for slewing option passed
NTP common Time Server Check started...
Check of common NTP Time Server passed
Clock time offset check from NTP Time Server started...
Clock time offset check passed
Clock synchronization check using Network Time Protocol(NTP) passed
Pre-check for cluster services setup was successful.
[oracle@rac2 grid]$ I'm confused :)
Edited by: Eren GULERYUZ on 06.Ara.2010 05:57Hi,
it looks like, that your "shared device" you are using is not really shared.
The second node does "create an ASM diskgroup" and create OCR and Voting disks. If this indeed would be a shared device, he should have recognized, that your disk is shared.
So as a result your VMware configuration must be wrong, and the disk you presented as shared disk is not really shared.
Which VMWare version did you use? It will not work correctly with the workstation or player edition, since shared disks are only really working with the server version.
If you indeed using the server, could you paste your vm configurations?
Furthermore I recommend using Virtual Box. There is a nice how-to:
http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php
Sebastian -
Root.sh script at the end of installation of Oracle Clusteware software
When i run the root.sh script at the end of installation of Oracle Clusteware software i receive the following message:.
Any ideas on how to fix this?
====================================================================
*[root@rac1 cdata]# /ora_dba/crs/oracle/product/10.2.0/db_1/root.sh*
WARNING: directory '/ora_dba/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/ora_dba/crs/oracle/product' is not owned by root
WARNING: directory '/ora_dba/crs/oracle' is not owned by root
WARNING: directory '/ora_dba/crs' is not owned by root
WARNING: directory '/ora_dba' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up Network socket directories
PROT-3: Failed to create export file
Failed to upgrade Oracle Cluster Registry configuration
===================================================================
OS verssion is :
Linux rac1.localdomain 2.6.18-194.el5PAE #1 SMP Mon Mar 29 20:19:03 EDT 2010 i686 i686 i386 GNU/Linux ( rhel5 32 bit)
Cluster verssion =11g
Vmware
=================================================================================================
Log file output ----
[root@rac1 client]# cat $CRS_HOME/log/rac1/client/ocrconfig_10171.log
Oracle Database 11g CRS Release 11.1.0.6.0 - Production Copyright 1996, 2007 Oracle. All rights reserved.
2010-12-20 13:37:16.649: [ OCRCONF][3086510576]ocrconfig starts...
2010-12-20 13:37:16.650: [ OCRCONF][3086510576]Upgrading OCR data
2010-12-20 13:37:16.672: [ OCRCONF][3086510576]OCR already in current version.
2010-12-20 13:37:16.780: [ OCRCONF][3086510576]Exporting OCR data to [ora_dba/crs/oracle/product/10.2.0/db_1/cdata/crs/ocr10.1.0.2.0]
2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Error encountered during opening export file [ora_dba/crs/oracle/product/10.2.0/db_1/cdata/crs/ocr10.1.0.2.0] [-1]
2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Failed to call export OCR (-1)
2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Failed to make a backup copy of OCR
2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Exiting [status=failed]...
=======================
./runcluvfy.sh out put :
[oracle@rac1 clusterware]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "rac1"
Destination Node Reachable?
rac2 yes
rac1 yes
Result: Node reachability check passed from node "rac1".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
rac2 passed
rac1 passed
Result: User equivalence check passed for user "oracle".
Checking administrative privileges...
Check: Existence of user "oracle"
Node Name User Exists Comment
rac2 yes passed
rac1 yes passed
Result: User existence check passed for "oracle".
Check: Existence of group "oinstall"
Node Name Status Group ID
rac2 exists 54321
rac1 exists 54321
Result: Group existence check passed for "oinstall".
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
rac2 yes yes yes yes passed
rac1 yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.
Administrative privileges check passed.
Checking node connectivity...
Interface information for node "rac2"
Interface Name IP Address Subnet Subnet Gateway Default Gateway Hardware Address
eth0 10.10.0.67 10.10.0.0 0.0.0.0 10.10.0.1 00:0C:29:82:EB:64
eth1 10.10.2.102 10.10.2.0 0.0.0.0 10.10.0.1 00:0C:29:82:EB:6E
Interface information for node "rac1"
Interface Name IP Address Subnet Subnet Gateway Default Gateway Hardware Address
eth0 10.10.0.66 10.10.0.0 0.0.0.0 10.10.0.1 00:0C:29:C4:E6:1D
eth1 10.10.2.101 10.10.2.0 0.0.0.0 10.10.0.1 00:0C:29:C4:E6:27
Check: Node connectivity of subnet "10.10.0.0"
Source Destination Connected?
rac2:eth0 rac1:eth0 yes
Result: Node connectivity check passed for subnet "10.10.0.0" with node(s) rac2,rac1.
Check: Node connectivity of subnet "10.10.2.0"
Source Destination Connected?
rac2:eth1 rac1:eth1 yes
Result: Node connectivity check passed for subnet "10.10.2.0" with node(s) rac2,rac1.
Interfaces found on subnet "10.10.0.0" that are likely candidates for a private interconnect:
rac2 eth0:10.10.0.67
rac1 eth0:10.10.0.66
Interfaces found on subnet "10.10.2.0" that are likely candidates for a private interconnect:
rac2 eth1:10.10.2.102
rac1 eth1:10.10.2.101
WARNING:
Could not find a suitable set of interfaces for VIPs.
Result: Node connectivity check passed.
Checking system requirements for 'crs'...
Check: Total memory
Node Name Available Required Comment
rac2 1.11GB (1161108KB) 1GB (1048576KB) passed
rac1 1.09GB (1144852KB) 1GB (1048576KB) passed
Result: Total memory check passed.
Check: Free disk space in "/tmp" dir
Node Name Available Required Comment
rac2 570.36MB (584044KB) 400MB (409600KB) passed
rac1 461.97MB (473056KB) 400MB (409600KB) passed
Result: Free disk space check passed.
Check: Swap space
Node Name Available Required Comment
rac2 2.93GB (3068404KB) 1.5GB (1572864KB) passed
rac1 2.93GB (3068404KB) 1.5GB (1572864KB) passed
Result: Swap space check passed.
Check: System architecture
Node Name Available Required Comment
rac2 i686 i686 passed
rac1 i686 i686 passed
Result: System architecture check passed.
Check: Kernel version
Node Name Available Required Comment
rac2 2.6.18-194.el5PAE 2.6.9 passed
rac1 2.6.18-194.el5PAE 2.6.9 passed
Result: Kernel version check passed.
Check: Package existence for "make-3.81"
Node Name Status Comment
rac2 make-3.81-3.el5 passed
rac1 make-3.81-3.el5 passed
Result: Package existence check passed for "make-3.81".
Check: Package existence for "binutils-2.17.50.0.6"
Node Name Status Comment
rac2 binutils-2.17.50.0.6-14.el5 passed
rac1 binutils-2.17.50.0.6-14.el5 passed
Result: Package existence check passed for "binutils-2.17.50.0.6".
Check: Package existence for "gcc-4.1.1"
Node Name Status Comment
rac2 gcc-4.1.2-48.el5 passed
rac1 gcc-4.1.2-48.el5 passed
Result: Package existence check passed for "gcc-4.1.1".
Check: Package existence for "libaio-0.3.106"
Node Name Status Comment
rac2 libaio-0.3.106-5 passed
rac1 libaio-0.3.106-5 passed
Result: Package existence check passed for "libaio-0.3.106".
Check: Package existence for "libaio-devel-0.3.106"
Node Name Status Comment
rac2 libaio-devel-0.3.106-5 passed
rac1 libaio-devel-0.3.106-5 passed
Result: Package existence check passed for "libaio-devel-0.3.106".
Check: Package existence for "libstdc++-4.1.1"
Node Name Status Comment
rac2 libstdc++-4.1.2-48.el5 passed
rac1 libstdc++-4.1.2-48.el5 passed
Result: Package existence check passed for "libstdc++-4.1.1".
Check: Package existence for "elfutils-libelf-devel-0.125"
Node Name Status Comment
rac2 elfutils-libelf-devel-0.137-3.el5 passed
rac1 elfutils-libelf-devel-0.137-3.el5 passed
Result: Package existence check passed for "elfutils-libelf-devel-0.125".
Check: Package existence for "sysstat-7.0.0"
Node Name Status Comment
rac2 sysstat-7.0.2-3.el5 passed
rac1 sysstat-7.0.2-3.el5 passed
Result: Package existence check passed for "sysstat-7.0.0".
Check: Package existence for "compat-libstdc++-33-3.2.3"
Node Name Status Comment
rac2 compat-libstdc++-33-3.2.3-61 passed
rac1 compat-libstdc++-33-3.2.3-61 passed
Result: Package existence check passed for "compat-libstdc++-33-3.2.3".
Check: Package existence for "libgcc-4.1.1"
Node Name Status Comment
rac2 libgcc-4.1.2-48.el5 passed
rac1 libgcc-4.1.2-48.el5 passed
Result: Package existence check passed for "libgcc-4.1.1".
Check: Package existence for "libstdc++-devel-4.1.1"
Node Name Status Comment
rac2 libstdc++-devel-4.1.2-48.el5 passed
rac1 libstdc++-devel-4.1.2-48.el5 passed
Result: Package existence check passed for "libstdc++-devel-4.1.1".
Check: Package existence for "unixODBC-2.2.11"
Node Name Status Comment
rac2 unixODBC-2.2.11-7.1 passed
rac1 unixODBC-2.2.11-7.1 passed
Result: Package existence check passed for "unixODBC-2.2.11".
Check: Package existence for "unixODBC-devel-2.2.11"
Node Name Status Comment
rac2 unixODBC-devel-2.2.11-7.1 passed
rac1 unixODBC-devel-2.2.11-7.1 passed
Result: Package existence check passed for "unixODBC-devel-2.2.11".
Check: Package existence for "glibc-2.5-12"
Node Name Status Comment
rac2 glibc-2.5-49 passed
rac1 glibc-2.5-49 passed
Result: Package existence check passed for "glibc-2.5-12".
Check: Group existence for "dba"
Node Name Status Comment
rac2 exists passed
rac1 exists passed
Result: Group existence check passed for "dba".
Check: Group existence for "oinstall"
Node Name Status Comment
rac2 exists passed
rac1 exists passed
Result: Group existence check passed for "oinstall".
Check: User existence for "nobody"
Node Name Status Comment
rac2 exists passed
rac1 exists passed
Result: User existence check passed for "nobody".
System requirement passed for 'crs'
Pre-check for cluster services setup was successful.
=========================================================================
[root@rac1 client]# ps -ef |grep d.bin
root 10699 7654 0 13:54 pts/3 00:00:00 grep d.bin
===================================================================================
Many thanks for helpThank you Helios . As per oracle we need to contract OS team .
It's My home system can any one help me to fine root cause ?.
many thanks . -
Root.sh script hangs while starting ohasd on OEL
Hi
I have installed 11g Oracle grid infrastructure on OEL R5 U6
I am having an issue when it comes to running the root.sh script
The script runs fine until it gets to the part where it tries to start ohasd
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started
ohasd is startingOnce it reaches this point it hangs. It's been at this part of the root.sh script now for over an hour. I cannot move the mouse or create new ssh sessions. It has completely hung the machine.
I have ensured that that hosts file has no entries for the host name
And there does not seem to be any errors in the logs
Any Ideas on where I can start looking to fix this issue?
Thanks
G.
Edited by: Grahambo on Aug 18, 2011 9:35 AM
Edited by: Grahambo on Aug 18, 2011 9:35 AMHere is the last entries in the Log:
/oracle/app/11.2.0/grid/log/server004n0/ohasd/ohasd.log
2011-08-18 17:02:28.116: [ CRSOCR][1916807488] Multi Write Batch processing...
2011-08-18 17:02:28.404: [UiServer][1929414976] Container [ Name: ORDER
MESSAGE:
TextMessage[CRS-2676: Start of 'ora.diskmon' on 'server004n0' succeeded]
MSGTYPE:
TextMessage[3]
OBJID:
TextMessage[ora.cssd]
WAIT:
TextMessage[0]
2011-08-18 17:02:35.986: [ CRSOCR][1916807488] Multi Write Batch done.
2011-08-18 17:02:44.397: [ CRSCCL][1870641472]Obtained GPnP Profile.
2011-08-18 17:02:44.699: [ CRSCCL][1870641472]USING CLSC ============
2011-08-18 17:02:52.779: [ default][1870641472]clsu_get_private_ip_addr: Calling clsu_get_private_ip_addresses to get first private ip
2011-08-18 17:02:52.779: [ default][1870641472]Check namebufs
2011-08-18 17:02:52.780: [ default][1870641472]Finished checking namebufs
2011-08-18 17:02:52.782: [ GPnP][1870641472]clsgpnp_Init: [at clsgpnp0.c:404] gpnp tracelevel 3, component tracelevel 0
2011-08-18 17:02:52.782: [ GPnP][1870641472]clsgpnp_Init: [at clsgpnp0.c:534] '/oracle/app/11.2.0/grid' in effect as GPnP home base.
2011-08-18 17:02:54.744: [ GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3866] Init gpnp local security key providers (2) fatal if both fail
2011-08-18 17:02:54.744: [ GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3869] Init gpnp local security key proveders 1 of 2: file wallet (LSKP-FSW)
2011-08-18 17:02:54.744: [ GPnP][1870641472]clsgpnpkwf_initwfloc: [at clsgpnpkwf.c:398] Using FS Wallet Location : /oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/
2011-08-18 17:02:54.744: [ GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3891] Init gpnp local security key provider 1 of 2: file wallet (LSKP-FSW) OK
2011-08-18 17:02:54.744: [ GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3897] Init gpnp local security key proveders 2 of 2: OLR wallet (LSKP-CLSW-OLR)
[ CLWAL][1870641472]clsw_Initialize: OLR initlevel [70000]
2011-08-18 17:02:54.745: [ GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3919] Init gpnp local security key provider 2 of 2: OLR wallet (LSKP-CLSW-OLR) OK
2011-08-18 17:02:54.745: [ GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1950] <Get gpnp security keys (wallet) for id:1,typ;7. (2 providers - fatal if all fail)
2011-08-18 17:02:54.745: [ GPnP][1870641472]clsgpnpkwf_getWalletPath: [at clsgpnpkwf.c:498] req_id=1 ck_prov_id=1 wallet path: /oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/
2011-08-18 17:02:54.758: [ GPnP][1870641472]clsgpnpwu_walletfopen: [at clsgpnpwu.c:494] Opened SSO wallet: '/oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/cwallet.sso'
2011-08-18 17:02:54.758: [ GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
2011-08-18 17:02:54.758: [ GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
2011-08-18 17:02:54.763: [ GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1950] <Get gpnp security keys (wallet) for id:1,typ;4. (2 providers - fatal if all fail)
2011-08-18 17:02:54.763: [ GPnP][1870641472]clsgpnpkwf_getWalletPath: [at clsgpnpkwf.c:498] req_id=1 ck_prov_id=1 wallet path: /oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/
2011-08-18 17:02:54.771: [ GPnP][1870641472]clsgpnpwu_walletfopen: [at clsgpnpwu.c:494] Opened SSO wallet: '/oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/cwallet.sso'
2011-08-18 17:02:54.771: [ GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
2011-08-18 17:02:54.771: [ GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
2011-08-18 17:02:54.771: [ GPnP][1870641472]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=18394, tl=3, f=3Edited by: Grahambo on 18-Aug-2011 12:08 -
Reg: root.sh script in grid instillation
Hi,
Oracle Version : 11.2.0.1
Operating system : CentOS
Here i am installing 11gR2 rac with 4-nodes every thing went fine but when i execute the below script
/u01/11.2.0/grid/root.sh I am getting this below error.
[root@drc3s5 bin]# /u01/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/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]: 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.
2012-08-24 22:55:41: Parsing the host name
2012-08-24 22:55:41: Checking for super user privileges
2012-08-24 22:55:41: User has super user privileges
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
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 drc3s4, 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 'drc3s5'
CRS-2676: Start of 'ora.mdnsd' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'drc3s5'
CRS-2676: Start of 'ora.gipcd' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'drc3s5'
CRS-2676: Start of 'ora.gpnpd' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'drc3s5'
CRS-2676: Start of 'ora.cssdmonitor' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'drc3s5'
CRS-2672: Attempting to start 'ora.diskmon' on 'drc3s5'
CRS-2676: Start of 'ora.diskmon' on 'drc3s5' succeeded
CRS-2676: Start of 'ora.cssd' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'drc3s5'
CRS-2676: Start of 'ora.ctssd' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'drc3s5'
CRS-2676: Start of 'ora.drivers.acfs' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'drc3s5'
CRS-2676: Start of 'ora.asm' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'drc3s5'
CRS-2676: Start of 'ora.crsd' on 'drc3s5' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'drc3s5'
CRS-2676: Start of 'ora.evmd' on 'drc3s5' succeeded
PRKO-2190 : VIP exists for node drc3s5, VIP name drc3s5-vip
add vip -n drc3s5 -k 1 -A drc3s5-vip/255.255.255.0/eth0 on node=drc3s5 ... failed
Configure Oracle Grid Infrastructure for a Cluster ... failed
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 20002 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
[root@drc3s5 bin]#Please help me solve my problem.
Thanks & Regards,
S.V.Poorna Prasad.S V,
Looking at the output given by you, seems there is some issue with network configuration. But still you may need to dig it further.
When you run root.sh it configure the CRS on nodes and the logs get created under "$GRID_HOME/log/<node name>/" and the filename would be alert<node name>.log.
Please refer the log file and share if you see any errors there.
Regards
Narendra -
Powershell startup scripts fail on Windows 8.1 with error 267
GPO Powershell startup script fails to execute on Windows 8.1, but does run on Windows 8 and Windows 7. Powershell logon scripts run normally on all versions of Windows.
The event log contains entries with event ID 1130 from the GroupPolicy source. The log entries claim error 267 "directory name is invalid".
Running cmd.exe on Windows 8.1 under the computer's account (NT Authority\SYSTEM) confirms that the Powershell script's path in SYSVOL is valid and the script executes normally.
Running procmon on Windows 8.1 while the startup script is being run on a computer shows that the computer caches the files and folders for this GPO into C:\Windows\system32\GroupPolicy.
I am not sure why these scripts are failing to execute on Windows 8.1 when they run on Windows 8 and the same set of GPOs are applied to both Windows 8.1 and Windows 8 computers.These are all good suggestions, but I have already tried to eliminate:
All environment variables
All network paths
Setup the GPO to reference the script by the file name and with a full absolute path. Neither worked.
Tried copying the scripts to multiple folders inside the policy, since the event log message reports only the root path of the policy.
I also used procmon to monitor how the computer handles the startup scripts. I found that the computer caches them into a folder under C:\Windows\System32, but never runs any of them. I never found an error that I could correlate with the event log.
For instance the following one line scripts failed to run:
'I AM HERE.' | sc -path C:\Windows\TEMP\TEST.txt
write-host 'I AM HERE.'
As far as I can see the first script relies on the existence of C:\Windows\TEMP and write permission to it, which SYSTEM should have.
The second one liner has no dependencies at all and it doesn't run with the same error.
I have created multiple GPOs and scripts, so if there was a problem in creating these files and folders it is happening over and over. I checked the permissions and computer accounts have read and execute permissions all throughout the GPOs.
Everything works perfectly on Windows 7 and 8, just not on 8.1. -
Troubleshooting PostPrepare script failed with exit code 1
i get a 'PostPrepare' script failed with exit code '1' message on one of the bundles, and i think i am missing some obvious thing
it is a simple file bundle, to distribute a pdf printer:
it distributes 2 files:
ADIST.PPD to /usr/share/cups/model
pdf-printer to /usr/lib/cups/backend
(script based upon Cool Solutions: A CUPS PDF Printer for your SUSE Linux Enterprise Desktop
then it should execute a pre-installation script that executes:
Code:
#!/bin/bash
rccups restart
mkdir -p /export/share/pdf
chmod -R 777 /export
lpadmin -p Desktop-PDF -v pdf-writer:/export/share/pdf/ -E -P /usr/share/cups/model/ADIST5.PPD -D "PDF Writer for CUPS" -L "PDF on desktop"
manually placing the files on these locations and executing the script works fine
on the machine i get (device set to log debug and above)
Code:
22 Jul 2010 09:33:00 INFO BundleManager Executing preprepare scripts for PDF printer
22 Jul 2010 09:33:00 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:00 INFO WebCache Attempting to retrieve 'https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/ADIST5.PPD' (try 1)
22 Jul 2010 09:33:01 INFO WebCache Successfully retrieved https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/ADIST5.PPD
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 INFO WebCache Attempting to retrieve 'https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/pdf-writer' (try 1)
22 Jul 2010 09:33:01 INFO WebCache Successfully retrieved https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/pdf-writer
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 INFO BundleManager Executing postprepare scripts for PDF printer
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 INFO BundleManager Successfully prepared bundles
22 Jul 2010 09:33:01 INFO BundleManager Beginning bundle transaction
22 Jul 2010 09:33:01 INFO BundleTransaction Beginning bundle transaction: 1 installs, 0 removals.
22 Jul 2010 09:33:01 INFO BundleTransaction Executing preinstall scripts for PDF printer
22 Jul 2010 09:33:01 INFO SystemCatalog Saving system catalog containing 9 bundles
22 Jul 2010 09:33:01 ERROR BundleTransaction Novell.Zenworks.Zmd.BUNDLE_INSTALL_ERROR: Novell.Zenworks.Zmd.BUNDLE_INSTALL_ERROR
Novell.Zenworks.Zmd.Public.ZenException: 'PreInstall' script failed with exit code '1'
22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 ERROR BundleManager Transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
22 Jul 2010 09:33:01 ERROR ActionManager Failed to execute scheduled action (install (bundles=3ba56c5bc95bb2874273a7d0cae07d14)): Bundle transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
Novell.Zenworks.Zmd.Public.ZenException: Bundle transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
22 Jul 2010 09:33:01 INFO BundleTransaction Bundle transaction ended.
clients: sled11sp1 i586
server: sles11 x64 + zlm732
the files are not copied to their destination
the target directories are available, writable by root (obviously) there are no files with the same name available, adding a trailing slash to the target path does not help (but other bundles have no trailing slash and run ok)
questions:
where are the temporary files copied to?
where/how can i find what might be causing the preinstall error?
should i delete previous versions of the bundle in zlmuntil you delete the previous version in zlm and do a rug ref... or is this as designed
When you make changes to the bundle you need to apply them. That creates a new version and then you need to deploy that new version. Apply and deploy are on the same page. But I guess you know that.
If you already did that and still had problems, it might be the zen loader that needs a little bit more time. Once you hit deploy, a zen queue entry gets created that informs the zen loader to update the bundle xml file in the file repository. That file is delivered to the managed device when it queries for bundle information. So if that bundle xml contains the old version, the client will see that.
Problems here can be that the zen loader simply needs a few seconds longer then when you change to the device and run rug ref. Or there can be other queue entries that get processed and the bundle xml update is just in the queue and waiting. The zen loader has 5 slots for processing queue entries.
On the zlm server you can run "zlman ql I" for in progress entries and "zlman ql N" for new state entries that ned to be processed.
Or you can use the short script I posted (Cool Solutions: Monitor ZLM queue entries with Nagios) that shows you in one line how many and what type of queue entries currently exist. This is what I always use to get a overview about the queue status.
Rainer -
Root.sh script is not running successfully in RAC
Hi
when i run root.sh script for RAC Grid installation. throws below error in screen.
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
Disk Group ASM already exists. Cannot be created again
Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/grid/11.2.0/grid_1/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2500: Cannot stop resource 'ora.asm' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/grid/11.2.0/grid_1/bin/crsctl stop resource ora.asm -init
Stop of resource "ora.asm -init" failed
Failed to stop ASM
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
What need to be done. please helpIN case it matters, which version?
I agree with Hemant K Chitale on both of his points. The disk group has already been created, and one probably shouldn't name it "ASM". Give it a more meaningful name.
"Configuration of ASM failed, see logs for details"
Did you look in the log files? Anything of interest in there?
Cheers,
Brian -
QL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of
Dear all,
please help me4 on this
i am getting this error
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
my logs are:
sapinst.log
ERROR 2011-12-18 09:40:34.550
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
ERROR 2011-12-18 09:40:34.558
MUT-03025 Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
ERROR 2011-12-18 09:40:34.717
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
INFO 2011-12-18 09:57:09.852
An error occured and the user decided to stop.\n Current step "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase".
INFO 2011-12-18 09:57:15.747
Creating file /tmp/sapinst_instdir/.lastInstallationLocation.
INFO 2011-12-18 09:57:16.545
Creating file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/CENTRAL/__instana_tmp.xml.
oracle_sql_results.log
SQL*Plus: Release 10.2.0.4.0 - Production on Sun Dec 18 09:40:34 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
SAPINST: End of output of SQL executing program /oracle/PRD/102_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-12-18, 09:40:34 SAPINST ORACLE stop logging
alert_prd.log
Sun Dec 18 09:40:34 2011
Starting ORACLE instance (normal)
Sun Dec 18 09:40:34 2011
WARNING: EINVAL creating segment of size 0x000000d8001b2000
fix shm parameters in /etc/system or equivalent
please sujest the solution very urjent pz........Dear deepak
itried to start the database manually
but it is not working.
SQL> startup
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
SQL>
and my shm parametrs for the Solaris ACCORDING TO NOTE 724713 are
projadd -p 333 -c "SAP System PRD" \
-U prdadm,oraprd \
-K "process.max-file-descriptor=(basic,65536,deny)" \
-K "process.max-sem-nsems=(priv,2048,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-shm-ids=(priv,256,deny)" \
-K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
dr
projmod -s \
-K "process.max-file-descriptor=(basic,65536,deny)" \
-K "process.max-sem-nsems=(priv,2048,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-shm-ids=(priv,256,deny)" \
-K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
user.root
prdadm::::project=dr;oraprd::::project=dr
thanks & Regards
k.Phani Krishna -
CodedUI script fails in MTM will pass in VSTS
Coded UI scripts fail when running on agent Machine but passes when running on Local System. Need help to identify the root cause
Hi yellesh,
Based on your issue, please you provide the detail error message and the Test Run log to me after you run coded UI test script fail from MTM.
I suggest you could refer the following MSDN document to check about how to run a automated test case from MTM.
https://msdn.microsoft.com/en-us/library/dd380741.aspx
Since I know that when MTM run the Coded UI test on test agent machine, the test agents are set up in the lab environment. Please do not lock or have an active screen saver on the test agent. For more information, you can refer to
http://msdn.microsoft.com/en-us/library/ee291332.aspx
Therefore, please you refer the above document to check if you set up your agent to run as a process instead of a service.
If the above suggestion could not help you, please share me more message about your issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Script fails when passing values from pl/sql to unix variable
Script fails when passing values from pl/sql to unix variable
Dear All,
I am Automating STATSPACK reporting by modifying the sprepins.sql script.
Using DBMS_JOB I take the snap of the database and at the end of the day the cron job creates the statspack report and emails it to me.
I am storing the snapshot ids in the database and when running the report picking up the recent ids(begin snap and end snap).
From the sprepins.sql script
variable bid number;
variable eid number;
begin
select begin_snap into :bid from db_snap;
select end_snap into :eid from db_snap;
end;
This fails with the following error:
DB Name DB Id Instance Inst Num Release Cluster Host
RDMDEVL 3576140228 RDMDEVL 1 9.2.0.4.0 NO ibm-rdm
:ela := ;
ERROR at line 4:
ORA-06550: line 4, column 17:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
( - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
The symbol "null" was substituted for ";" to continue.
ORA-06550: line 6, column 16:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
( - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev su
But when I change the select statements below the report runs successfully.
variable bid number;
variable eid number;
begin
select '46' into :bid from db_snap;
select '47' into :eid from db_snap;
end;
Even changing the select statements to:
select TO_CHAR(begin_snap) into :bid from db_snap;
select TO_CHAR(end_snap) into :eid from db_snap;
Does not help.
Please Help.
TIA,
NischalHi,
could it be the begin_ and end_ Colums of your query?
Seems SQL*PLUS hs parsing problems?
try to fetch another column from that table
and see if the error raises again.
Karl
Maybe you are looking for
-
Setting Environment variable in windows xp
Hi all, I am trying to run a java program in textpad, which is installed in windows XP, but i am getting the following error. java.lang.NoSuchMethodError: main Exception in thread "main" Can anybody tell me, how to set the environment variable in the
-
Can I create a custom scrollbar for my spark datagrid
Basically I'm trying to customize the look of my spark datagrid. I'd like to change the header appearance and I'd also like to create a custom scrollbar. If only Catalyst would implement a custom datagrid component. I mean the datagrid is a very popu
-
my ipod shufler is not being recognized by itunes......then I discover I am missing the file QTTASK how do I load this file thanks
-
HowTo: identify readonly/locked files in LightRoom
Dear community member. If you are like me, you will sometimes mark (Nikon calls it "locking" - at the file system level the image is simply flagged as read-only) a photograph in the field. The idea being that: you don't want to accidentally delete a
-
Mandatory field in plant creation
dear cons we want to make one field profit center as a required while creating plant. where is the menu path so that we can make it from optional to required.