ORACLE_HOME:permissions:11gR2
Permission for the entire Oracle software directory were changed to 755 to give access to one of the application user to grant access to SQLPLUS located within Oracle_home/bin. I would like to confirm waht are the oracle recommended permission for entire OracleHome directory
My Oracle_home= /u01/app/oracle/product/11/2.0/db_1
user13584310 wrote:
Permission for the entire Oracle software directory were changed to 755 to give access to one of the application user to grant access to SQLPLUS located within Oracle_home/bin. I would like to confirm waht are the oracle recommended permission for entire OracleHome directory
My Oracle_home= /u01/app/oracle/product/11/2.0/db_1IMO, only the DBA should be logging directly onto the DB Server.
Oracle client s/w can be installed on their own client PC for those who need to access the DB via sqlplus.
Similar Messages
-
How to deinstall Oracle database
I installed Oracle database 11g twice on my machine, I have dbhome_1 and dbhome_2, but I want to uninstalled dbhome_2.
I have started to uninstall it but where i hanged is where in the command prompt to : Specify all Single Instance listeners that are to be de-configured [LISTENER]:
I don't know the information to put there. I want to know what to put there.
Thanks.Hi,
Welcome to OTN form.
Oracle support id:
Oracle De-install Utility – 11g R2 [ID 886184.1]
How To Deinstall Oracle Home In 11GR2 [ID 883743.1]
Deinstalling an ORACLE_HOME in 11gR2 DB = MORE WORK! | Oracle High Availability
Oracle De-install Utility | DBASoul.com
for Windows OS:
Deinstall Oracle 11gR2 windows | DBA
Thank you -
Different software and database user
I want to install oracle software and oracle database on two difference user
Software user: orasoft
Primary group: oinstall
Secondary group: dba
User Home: /u01/orasoft
$ORACLE_HOME=/u00/app/oracle/product/10.2.0
/u00: owner: orasoft:oinstall permission 775 (before installing software)
Database User: oradb
Primary group: dba
Secondary group: oinstall
User Home: /u01/oradb
In this scenario,
Software is getting installed perfectly; I’m getting permissions issue for creating database
1. Do I need to change the $ORACLE_HOME permissions to 775 after software installation for the database to get installed without any issue?
2. if I do this, then the permission executables also gets changed to rwx-rwx-rx.Hi,
First of all, I cannot really see the concept behind the user management how you have assigned orasoft and oradb users to oinstall and dba groups.
Why cannot oinstall be the primary for both users and dba is the secondary? As well as what OS group do you plan to be the sysdba and sysoper groups?
Second of all what do you mean by:
user8209189 wrote:
I want to install oracle software and oracle database on two difference userWhat kind of oracle software do you mean by the first oracle software ? What Oracle component are you refering here?
As well as:
user8209189 wrote:
2. if I do this, then the permission executables also gets changed to rwx-rwx-rx.Be careful with playing with such permissions in the Oracle binary home as certain binary files require SUID settings (e.g. rwS)
Regards,
Jozsef -
Database, redo log files accessiblity
Hi guys!
I have a quick question regarding Oracle File Permissions (Operational Security Check).
How would one check if the Oracle files are not world read/writeable
(database, redo log and control files are not world accessible)?
Thanks!Hi guys!
I have a quick question regarding Oracle File Permissions (Operational Security Check).What is this referring to?
How would one check if the Oracle files are not world read/writeable
(database, redo log and control files are not world accessible)?Example from a lab setup on AIX
$ find $ORACLE_HOME | wc -l
18197
$ find $ORACLE_HOME -perm -0002
If "at least" the world writable bit is set, find will list files in and below Home top directory. -
How to setup the raw devices permissions permanantly in 11gr2 on RHEL 5.
Hi All,
Succesfully installed 11gr2 RAC and working fine , but in next boot raw devices permissions revert back to root .
Please advice me to how to setup permissions permanantly as the oracle user.
Regards
San
.you find the lib on this page:
http://www.oracle.com/technetwork/topics/linux/downloads/rhel5-084877.html
in the AMD64 / Intel em64t Architecture table
this is the direct link
http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel5/amd64/2.0.5/2.6.18-194.el5/oracleasm-2.6.18-194.el5xen-2.0.5-1.el5.x86_64.rpm
hth
p.s. don't forget to mark question as helpful/correct and close the question. -
11gr2 RAC install on RHEL fails with "failed to create or upgrade olr"
New 11gr2 install on empty Red Hat Enterprise Linux 5.4 machine fails with "failed to create or upgrade olr"
Error during config steps. First script ran OK (orainstRoot.sh) on both nodes.
Second script failed on DB01, and I haven't run on DB02, as it's supposed to complete on DB01 first.
[root@RiskmgmtDB01 oraInventory]# cd /u01/app/11.2.0/grid
[root@RiskmgmtDB01 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]:
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-11-12 10:35:13: Parsing the host name
2010-11-12 10:35:13: Checking for super user privileges
2010-11-12 10:35:13: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
PROTL-16: Internal Error
Command return code of 41 (10496) from command: /u01/app/11.2.0/grid/bin/ocrconfig -local -upgrade oracle oinstall
Failed to create or upgrade OLR
[root@RiskmgmtDB01 grid]#
Looking on the net, anyone who has hit this has had a problem with permissions, so as suggested I ran:
[root@RiskmgmtDB01 grid]# /usr/sbin/getenforce
Disabled
[root@RiskmgmtDB01 grid]# /usr/sbin/setenforce 0
/usr/sbin/setenforce: SELinux is disabled
[root@RiskmgmtDB01 grid]# /usr/sbin/getenforce
Disabled
As this is already set to disabled, I don't think it will help.
The two other threads similar to this are:
root.sh failed with signal 11 while installing 11gR2 grid infrastructure
root.sh script fail to run on OEL5.4
But neither works. I've raised a support request, but if anyone else has a bright idea ....
Thanks, DuncanThis document seems to apply: PROTL-16 Reported while Executing OCRCONFIG [ID 1123453.1]
It recommends running CVU, but that showed no issues.
So next step is the uninstall, as per: How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]
However "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" fails:
# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode
2010-11-15 17:11:21: Parsing the host name
2010-11-15 17:11:21: Checking for super user privileges
2010-11-15 17:11:21: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Can't open /etc/oracle/scls_scr/node01/root/ohasdrun for write: No such file or directory at /u01/app/11.2.0/grid/crs/install/s_crsconfig_lib.pm line 1021.
So no further along yet ... -
Asmcmd permissions issue with oracle user
I installed 11gr2 grid infrastructure according to the recommendation of the installation guide that there would be one OS owner of grid infrastructure (grid user) and another OS ower for the database software (oracle).
As the oracle user I can access and control ASM via sql*plus but I can not use asmcmd. Using asmcmd requires me to switch to the grid user but I want the oracle user to be able to use it for script purposes, etc.
(oracle)$ id
uid=502(oracle) gid=501(oinstall) groups=10(wheel),501(oinstall),502(dba),506(asmdba)
(oracle)$ . oraenv
ORACLE_SID = [+ASM1] ?
The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle
(oracle)$ asmcmd
/u01/app/11.2.0/grid/bin/asmcmd: line 122: /u01/app/11.2.0/grid/perl/bin/perl: Permission denied
/u01/app/11.2.0/grid/bin/asmcmd: line 142: /u01/app/11.2.0/grid/perl/bin/perl: Permission denied
/u01/app/11.2.0/grid/bin/asmcmd: line 142: exec: /u01/app/11.2.0/grid/perl/bin/perl: cannot execute: Permission denied
$ dir /u01/app/11.2.0/grid/perl/bin/perl
-rwx------ 1 grid oinstall 1424555 Oct 23 14:55 /u01/app/11.2.0/grid/perl/bin/perl*
So I tried to manually set permissions results in this show stopper.
$ asmcmd
Can't load '/u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: libexpat.so.1: cannot open shared object file: No such file or directory at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.
at /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm line 14
Compilation failed in require at /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm line 18.
Compilation failed in require at /u01/app/11.2.0/grid/lib/asmcmddisk.pm line 119.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/lib/asmcmddisk.pm line 119.
Compilation failed in require at /u01/app/11.2.0/grid/bin/asmcmdcore line 166.
-rwxrwx--- 1 grid oinstall 105955 Jul 21 2009 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/auto/XML/Parser/Expat/Expat.so*
-rwxrwx--- 1 grid oinstall 0 Jul 21 2009 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/auto/XML/Parser/Expat/Expat.bs*
-rwxrwx--- 1 grid oinstall 25002 Jul 21 2009 /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm*
-rwxrwx--- 1 grid oinstall 27103 Jul 21 2009 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm*
-rw-r--r-- 1 grid oinstall 129421 Jul 1 2009 /u01/app/11.2.0/grid/lib/asmcmddisk.pm
-rw-r--r-- 1 grid oinstall 129421 Jul 1 2009 /u01/app/11.2.0/grid/lib/asmcmddisk.pm
-rwxr-xr-x 1 grid oinstall 29487 Jun 13 2009 /u01/app/11.2.0/grid/bin/asmcmdcore*
So that leaves me with the question... is there a way to get this to work or am I going to have to re-install the Grid Infrastructure under the oracle user?Hi,
I installed 11gr2 grid infrastructure according to the recommendation of the installation guide that there would be one OS owner of grid infrastructure (grid user) and another OS ower for the database software (oracle).When you create a software owner for Oracle grid infrastructure is usually to separate grid infrastructure administrative privileges from Oracle Database administrative privileges.
As the oracle user I can access and control ASM via sql*plus but I can not use asmcmd. Using asmcmd requires me to switch to the grid user but I want the oracle user to be able to use it for script purposes, etc.
(oracle)$ id
uid=502(oracle) gid=501(oinstall) groups=10(wheel),501(oinstall),502(dba),506(asmdba)
(oracle)$ . oraenv
ORACLE_SID = [+ASM1] ?
The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle
(oracle)$ asmcmd
So that leaves me with the question... is there a way to get this to work or am I going to have to re-install the Grid Infrastructure under the oracle user?
$ dir /u01/app/11.2.0/grid/perl/bin/perl
-rwx------ 1 grid oinstall 1424555 Oct 23 14:55 /u01/app/11.2.0/grid/perl/bin/perl*I believe you should not set the file permissions, but access the asmcmd whith user grid or reinstall your Grid Infrastrucutre.
Or
Put user oracle on ASMDBA and ASMDMIM and access ASM from $ORACLE_HOME (database) through SQLPLUS.
Regards,
Levi Pereira
<font size="1" color="black">Mark the replies answered "helpful" answer or "correct" answer that will help others with same problem.</font><br>
<font size="1" color="black">Thanks for doing your part to make this community as valuable as possible for everyone!</font><br>
Edited by: Levi Pereira on Jan 12, 2011 5:10 PM -
How to create an asm instance manaually? oracle 11gr2.
env: oracle 11gr2 os: hpux or aix single machine , not rac.
question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
can anyone give me document about it?Hi,
This is a simple answer:
Automatic Storage Management (ASM)
ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
Installing ASM
On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
Determine Which Version of ASMLib You Need
ASMLib 2.0 is delivered as a set of three Linux packages:
* oracleasmlib-2.0 - the ASM libraries
* oracleasm-support-2.0 - utilities needed to administer ASMLib
* oracleasm - a kernel module for the ASM library
Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
First, determine which kernel you are using by logging in as root and running the following command:
uname -rm
Ex:
# uname -rm
2.6.9-22.ELsmp i686
The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
Use this information to find the correct ASMLib packages on OTN:
1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
2. Select the link for your version of Linux.
3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
Next, install the packages by executing the following command as root:
rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
oracleasmlib-asmlib_version.cpu_type.rpm \
oracleasm-support-asmlib_version.cpu_type.rpm
Ex:
# rpm -Uvh \
> oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
> oracleasmlib-2.0.1-1.i386.rpm \
> oracleasm-support-2.0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
Configuring ASMLib
Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
You mark disks for use by ASMLib by running the following command as root:
/etc/init.d/oracleasm createdisk DISK_NAME device_name
Tip: Enter the DISK_NAME in UPPERCASE letters.
Ex:
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: [ OK ]
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
Marking disk "/dev/sdd1" as an ASM disk: [ OK ]
Verify that ASMLib has marked the disks:
# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
Create the ASM Instance
ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
Log in as oracle and start runInstaller:
$ ./runInstaller
1. Select Installation Method
* Select Advanced Installation
* Click on Next
2. Specify Inventory Directory and Credentials
* Inventory Directory: /u01/app/oracle/oraInventory
* Operating System group name: oinstall
* Click on Next
3. Select Installation Type
* Select Enterprise Edition
* Click on Next
4. Specify Home Details
* Name: OraDB10gASM
* Path: /u01/app/oracle/product/10.2.0/asm
Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
* Click on Next
5. Product-specific Prerequisite Checks
* If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
* Click on Next
6. Select Configuration Option
* Select Configure Automatic Storage Management (ASM)
* Enter the ASM SYS password and confirm
* Click on Next
7. Configure Automatic Storage Management
* Disk Group Name: DATA
* Redundancy
- High mirrors data twice.
- Normal mirrors data once. This is the default.
- External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
* Add Disks
The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
* Click on Next
8. Summary
* A summary of the products being installed is presented.
* Click on Install.
9. Execute Configuration Scripts
* At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
* Click on OK when finished.
10. Configuration Assistants
* The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
11. End of Installation
* Make note of the URLs presented in the summary, and click on Exit when ready.
12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
Kind regards
Mohamed -
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? -
Localconfig is not found out in the new grid Oracle_HOME
Hi There,
Ifollowed the metalink Note ID 736121.1 to upgrad ASM for Non-RAC from 10gr2 to 11gr2. The 11gr2 Grid installation is successful, which is on a different directory from the current ASM directory. What I did for insallation is software only installation. However, when I'm doing step 4 in the Note, localconfig is not found out in the now Grid home directory(/ora/fs0000/app/grid/11.2.0/bin). even no DBUA is found out either. I'm unable to upgrade ASM for non-RAC from 10r2 to 11gr2.
With the successful installation of 11rr2 grid, the CSS is running in 11gr2, but No DBUA is found out in the new Grid Oracle_HOME directory.
$ ps -ef | grep d.bin | grep -v grep
oracle 7751 1 0 Sep 17 ? 40:56 /ora/fs0000/app/grid/11.2.0/bin/ocssd.bin
oracle 7618 1 0 Sep 17 ? 27:32 /ora/fs0000/app/grid/11.2.0/bin/ohasd.bin reboot
$ ls -ltr /ora/fs0000/app/grid/11.2.0/bin/local*
/ora/fs0000/app/grid/11.2.0/bin/local*: No such file or directory
$ ls -ltr /ora/fs0000/app/grid/11.2.0/bin/db*
-rwxr-x--- 1 oracle dba 13790 Jan 1 2000 /ora/fs0000/app/grid/11.2.0/bin/dbstart
-rwxr-x--- 1 oracle dba 6074 Jan 1 2000 /ora/fs0000/app/grid/11.2.0/bin/dbshut
-rwxr-xr-x 1 oracle dba 2426 Jan 1 2000 /ora/fs0000/app/grid/11.2.0/bin/dbhome
-rw-r--r-- 1 oracle dba 5297 Oct 3 2006 /ora/fs0000/app/grid/11.2.0/bin/dbgeu_run_action.pl
-rwxr-x--- 1 oracle dba 666264 Nov 2 2009 /ora/fs0000/app/grid/11.2.0/bin/dbfs_client
-rwxr-x--- 1 oracle dba 0 Nov 3 2009 /ora/fs0000/app/grid/11.2.0/bin/dbvO
-rwxr-x--- 1 oracle dba 0 Nov 3 2009 /ora/fs0000/app/grid/11.2.0/bin/dbfsizeO
-rwxr-x--x 1 oracle dba 554200 Sep 17 16:00 /ora/fs0000/app/grid/11.2.0/bin/dbv
-rwxr-x--x 1 oracle dba 11680 Sep 17 16:00 /ora/fs0000/app/grid/11.2.0/bin/dbfsize
Here are the steps in Note 736121.1:
1) Install the new 11g ASM Oracle Home (on a different directory) as described in the Installation Guide associated with your specific platform :
http://www.oracle.com/pls/db111/portal.portal_db?selected=11&frame=
==)> Installation Guide for <your platform/Os>
2) Shutdown all the database instances that are using ASM as storage option.
3) Shutdown the ASM instance.
4) Reconfigure the CSS service:
Connect as root OS user and execute:
$ORACLE_HOME/bin/localconfig reset
Where: $ORACLE_HOME is the new 11g ASM Oracle Home
5) Startup the ASM instance (connected as Oracle OS user) as usual (using the 10g Oracle Home).
6) From another graphical session, set the environment variables (ORACLE_HOME, PATH, etc.) pointing to your new 11 ASM Oracle Home.
7) Then execute the DBUA from the new ASM 11gOracle_Home/bin/dbua:
DBUA will show 2 options:
=)> upgrade ASM instance.
=)> upgrade the database
8) Select [upgrade ASM instance] option. The DBUA will upgrade your ASM instance to release 11g automatically.
9) Finally, please startup the databases that are using ASM as storage option.
Does anyone has experience upgrading 10g ASM for Non-RAC to 11gR2?
Thanks in advance.
Edited by: user618594 on 20-Sep-2010 4:17 PMstrangely, i seem to have left out the word "bought" to the first sentence.
"I have bought the album Fading West by Switchfoot..." -
Oracle Client 11gR2 installation issue on RHEL v5.4 64-bit
Hi,
I am trying to install Oracle Client software 11gR2 on RHEL v5.4 64-bit. I have resolved all the libraries dependency as well as Kernel changes as suggested by the installer. The error in the log file is as attached. At present I have "skipped" this error and proceeded with installation.
While installing the client, the installer fails while configuring the Net CA with error:
INFO: Done parsing command line arguments.
INFO: Oracle Net Services Configuration:
INFO: #
INFO: # An unexpected error has been detected by HotSpot Virtual Machine:
INFO: #
INFO: # SIGSEGV (0xb) at pc=0xe5e97498, pid=27377, tid=4160075984
INFO: #
INFO: # Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
INFO: # Problematic frame:
INFO: # C [libnnz11.so+0x3c498]
INFO: #
INFO: # An error report file with more information is saved as hs_err_pid27377.log
INFO: #
INFO: # If you would like to submit a bug report, please visit:
INFO: # http://java.sun.com/webapps/bugreport/crash.jsp
INFO: #
WARNING: /home/oracle/app/oracle/product/11.2.0/client_1/bin/netca: line 178: 27377 Aborted $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.ne
t.ca.NetCA $*
WARNING:
INFO:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.
Also when I invoke the SQL Client; sqlplus user@db and enter the password, the sqlplus exits without any error and returns to the terminal console. Please note earlier I has getting a SELinux violation and have changed it to "permissive" mode
Please let me know how to resolve NetCA installation and the sqplus issue.
Thanks & regards,
VinayHi,
Thet NetCA error occurs during installation and I believe the installer should take care of the ORACLE_HOME variable setting.
But before invoking sqlplus I have set the ORACLE_HOME and LD_LIBRARY_PATH setting in the .bash_profile as mentioned in the installation guide. The snippet of the profile file is:
export ORACLE_HOME=~/app/oracle/product/11.2.0/client_1
export JAVA_HOME=$ORACLE_HOME/jdk
export PATH=$ORACLE_HOME/bin:$JAVA_HOME/bin:$PATH;
export LD_LIBRARY_PATH=$ORACLE_HOME:$LD_LIBRARY_PATH
export TNS_ADMIN=$ORACLE_HOME/network/admin
export TWO_TASK=mmcoedb
I am able to tnsping to the server/service name too but when I try to login using the user/password using sqlplus, it simply exits without any error.
Please let me know how to resolve the error.
Best regards,
Vinay -
11gR2 Grid Infrastucture Installation Problem on HP-UX 11.31
While installing Oracle 11gR2 Grid Infrastructure on HP-UX 11.31 it is giving error message
INS-06006: Passwordless SSH connectivity not set up between the following node(s),
but manually it is working fine from both nodes.
What to do now, any suggestion from anybody.I had the same issue today, it took me 30 minutes to figure out how to solve it.
I had a script called by .bashrc that was setting Oracle variables and doing Echos to have a nice login prompt.
For some reason, the SSH Connectivity created a directory with the banner (!!) sounds crazy, but when i removed those files, started again, it went through.
I'd say, whenever you install this software, do not init Oracle specific environmental variables such as ORACLE_HOME, ORACLE_SID, etc.
If it still doesn't work, check Oracle Note: *How to Validate Network and Name Resolution Setup for the Clusterware and RAC [ID 1054902.1]*
Hope this helps.
JB -
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 -
OWB 11gr2 32Bit on Windows Server 2008 R2 64Bit Error 0xC0000018
Hi there.
I had install Oracle Warehouse Builder g11 R2 32 Bit version on a Windows Server 2008 R2 64 Bit version.
After the install, my setowbenv.bat looks like:
@echo off
REM This file is automatically generated from shiphome/owb/bin/win32/owbEnv.ctl
REM Any manual changes will be lost on next generation.
set JAVAPATH=..\..\..\jdk
set ORACLE_HOME=C:\product\11.2.0\dbhome_2
set OWB_HOME=C:\product\11.2.0\dbhome_2
set JDK_HOME=..\..\..\jdk
set ORA_HOME=C:\product\11.2.0\dbhome_2
set OEM_HOME=C:\product\11.2.0\dbhome_2
set IAS_HOME=C:\product\11.2.0\dbhome_2
set OWBCC_HOME=C:\product\11.2.0\dbhome_2
set CLASSPATH=Personalities.jar;%MIMB_JAR%;
set CLASSPATH_LAUNCHER=-classpath %CLASSPATH%;..\admin\;..\admin\launcher.jar -D OWB_HOME=%OWB_HOME% -D JDK_HOME=%JDK_HOME% -D SYSTEMROOT=%SystemRoot% -D ORA_HOME=%ORA_HOME% -D OEM_HOME=%OEM_HOME% -D IAS_HOME=%IAS_HOME% -Doracle.net.tns_admin=%ORA_HOME%\network\admin Launcher ..\admin\owb.classpath cd /d ..\admin
And if I start the Warehouse Builder - Design Center, I get an error message something like:
owb.exe - Application error
<The Application couldn't start correctly (0xc0000018). Click to "OK" to close the application.> (translated from german)
Can someone help me?
What did I do wrong?
Is there any work around?
Thanks a lot.
hakkiHi Deb
With the code that's out today I don't think the compatibility mode works, from what I can read from users' experencies on LinkedIn discussions.
Customers have used Windows XP mode for Windows 7 (for example), this installs a Windows XP virtual machine in which you can install and run OWB 11gR2 on your Windows 7 (64-bit) workstation. Windows XP mode can be downloaded from:
http://www.microsoft.com/windows/virtual-pc/download.aspx
You should also increase your XP mode virtual machine memory (RAM) allocation to at least 1GB for it to perform at an acceptable level. This will get you going until there is a better option.
Cheers
David -
Hi ,
We are migrating from oracle 10gR2 on AIX 5.3 to oracle 11gR2 on AIX 6.1 (64bit Kernal) . As pat of this , we need to migrate all the pro*c codes and for that we are trying to complie those files on the new server . But while compiling , we are getting error as :
*1586-119 (U) The 32-bit file "/lib/crt0_64.o" is being linked in 64-bit mode, or vice versa.*
We have only one library in $ORACLE_HOME which is lib..Lib32 is not present .
Could you please help me in resolving this error ?
The details , that I feel will be helpful ,is provided below :
COMP_PROC ]>echo $ORACLE_HOME
*/data/oracle/product/11.2.0.2*
*/COMP_PROC ]>echo $LD_LIBRARY_PATH*
*/data/oracle/product/11.2.0.2/lib*
COMP_PROC ]>echo $LIBPATH
*/data/oracle/product/11.2.0.2/lib*
COMP_PROC ]>echo $PATH
*/data/oracle/product/11.2.0.2:/data/oracle/product/11.2.0.2/bin:/applications/tf3/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/bin:.::/dbjobs/utils/adsm:.:/applications/tf3/bin:/applications/tf3/bin/ctm/source:/usr/vac/bin:/applications/tf3/bin:/usr/lib:/tshome/tfapp:/tshome/tfapp/app/genio::/tshome/tfapp/app/genio/odbc:/tshome/tfapp/app/genio/odbc/lib:/data/oracle/product/11.2.0.2/lib:/data/oracle/product/11.2.0.2/bin:/tshome/tf01/:/usr/bin:/etc:/usr/sbin:/usr/ucb:/tshome/tfapp/bin:/usr/bin/X11:/sbin*
Compiler version :
COMP_PROC ]>cc -v
exec: /usr/bin/pg(/usr/bin/pg,/usr/vac/exe/default_msg/vac.help,NULL)
C for AIX Compiler, Version 6
os version :
COMP_PROC ]>uname -a
AIX 1 6 00F6249E4C00
Make file :
# File : makeheader.h #
# Description : #
# The target 'build' puts together an executable $(EXE) from the .o files
# in $(OBJS) and the libraries in $(PROLDLIBS). It is used to build the
# c sample programs. The rules to make .o files from .c and .pc files are
# later in this file.
# ($(PROLDLIBS) includes the client shared library, and $(STATICPROLDLIBS) does
# not.)
# Here are some rules for converting .pc -> .c -> .o and for .typ -> .h.
# If proc needs to find .h files, it should find the same .h files that the
# c compiler finds. We use a macro named INCLUDE to hadle that. The general
# format of the INCLUDE macro is
# INCLUDE= $(I_SYM)dir1 $(I_SYM)dir2 ...
# Normally, I_SYM=-I, for the c compiler. However, we have a special target,
# pc1, which calls $(PROC) with various arguments, include $(INCLUDE). It
# is used like this:
# $(MAKE) -f $(MAKEFILE) <more args to make> I_SYM=include= pc1
# This is used for some of $(SAMPLES) and for $(OBJECT_SAMPLE).
USERID=xxxxx/yyyyy@zzzzzzz
SHELL=/bin/ksh
MQMLIBS=/usr/lpp/mqm/lib/libmqm.a
MQMCLIENTLIBS=/usr/lpp/mqm/lib/libmqic.a
#MQMLIBS=/pvcs/compile/proc/libmqm.a
CONVLIBS=/usr/lib/libiconv.a
NETWORKHOME=$(ORACLE_HOME)/network/
PLSQLHOME=$(ORACLE_HOME)/plsql/
#INCLUDE=$(I_SYM). $(I_SYM)$(PRECOMPHOME)public $(I_SYM)$(RDBMSHOME)public $(I_SYM)$(RDBMSHOME)demo $(I_SYM)$(PLSQLHOME)public $(I_SYM)$(NETWORKHOME)public
I_SYM=-I
AS_EXT=s
LIB_EXT=a
OBJ_EXT=o
PLB_EXT=plb
SO_EXT=so
LOCK_EXT=lk
SQL_EXT=sql
SYM_EXT=sym
LIB_PREFIX=lib
LDLIBFLAG=-l
LDPATHFLAG=-L
AS=as
AWK=awk
CAT=cat
CC=/usr/vac/bin/cc
CD=cd
CHMOD=chmod
CP=cp
CPP=cpp
DATE=date
ECHO=echo
ECHON=echo -n
EXEC=exec
FIND=find
FOLLOW=-follow
NOLEAF=-noleaf
GREP=grep
KILL=kill
SLEEP=sleep
LD=ld
LMAKE=make
LN=ln
LNS=ln -s
MKDIR=mkdir
MKDIRP=mkdir -p
MV=mv
NM=nm
PERL=perl
RM=rm
RMF=rm -f
RMRF=rm -rf
SED=sed
SORT=sort
TOUCH=touch
XARGS=xargs
LS=ls
SPFLAGS=
MATHLIB=-lm
LOCALLIBS=
OPTIMIZE=-O5
OTHERLIBS = `cat $(ORACLE_HOME)/lib/sysliblist`
CCFLAGS= -g
SO=a
LLIBTHREAD=-lpthreads
EXOSLIBS=
LIBBSD=
SECLIBS=
M6LIBS=
LIBHOME=$(ORACLE_HOME)/lib
VER =11
BASENAME =n
NETWORKHOME = $(ORACLE_HOME)/network/
NETWORKLIB = $(NETWORKHOME)lib/
RONAME=${BASENAME}ro${VER}
PFLAGS=
PFLAGS= $(INCLUDE) $(SPFLAGS) $(LPFLAGS)
RDBMS_VERSION = 11
LIBSERVERNAME=server$(RDBMS_VERSION)
LIBSERVER=$(LIBHOME)$(LIB_PREFIX)$(LIBSERVERNAME).$(LIB_EXT)
LLIBSERVER=$(LDLIBFLAG)$(LIBSERVERNAME)$(LIB_SUFFIX)
LIBCLIENTNAME=client$(RDBMS_VERSION)
LIBCLIENT=$(LIBHOME)$(LIB_PREFIX)$(LIBCLIENTNAME).$(LIB_EXT)
LLIBCLIENT=$(LDLIBFLAG)$(LIBCLIENTNAME)
LIBGENERICNAME=generic$(RDBMS_VERSION)
LIBGENERIC=$(LIBHOME)$(LIB_PREFIX)$(LIBGENERICNAME).$(LIB_EXT)
LLIBGENERIC=$(LDLIBFLAG)$(LIBGENERICNAME)
LIBDSBTSHNAME=dsbtsh$(RDBMS_VERSION)
LIBDSBTSH=$(RDBMSLIB)$(LIB_PREFIX)$(LIBDSBTSHNAME).$(SO_EXT)
LIBSKGXPNAME=skgxp$(RDBMS_VERSION)
LIBSKGXP=$(LIBHOME)$(LIB_PREFIX)$(LIBSKGXPNAME).$(SKGXP_EXT)
LLIBSKGXP=$(LDLIBFLAG)$(LIBSKGXPNAME)
LIBCOMMONNAME=common$(RDBMS_VERSION)
LIBCOMMON=$(LIBHOME)$(LIB_PREFIX)$(LIBCOMMONNAME).$(LIB_EXT)
LLIBCOMMON=$(LDLIBFLAG)$(LIBCOMMONNAME)
LIBVSNNAME=vsn$(RDBMS_VERSION)
LIBVSN=$(LIBHOME)$(LIB_PREFIX)$(LIBVSNNAME).$(LIB_EXT)
LLIBVSN=$(LDLIBFLAG)$(LIBVSNNAME)
LIBAGENTNAME=agent$(RDBMS_VERSION)
LIBAGENT=$(LIBHOME)$(LIB_PREFIX)$(LIBAGENTNAME).$(LIB_EXT)
LLIBAGENT=$(LDLIBFLAG)$(LIBAGENTNAME)
LIBDBTOOLSNAME=dbtools$(RDBMS_VERSION)
LIBDBTOOLS=$(RDBMSLIB)$(LIB_PREFIX)$(LIBDBTOOLSNAME).$(LIB_EXT)
#DEF_ON= $(RDBMSLIB)kpudfo.$(OBJ_EXT)
#DEF_OFF= $(RDBMSLIB)kpundf.$(OBJ_EXT)
#DEF_OPT= $(RDBMSLIB)defopt.$(OBJ_EXT)
LIBSLAXNAME=slax8
LIBSLAX=$(LIBHOME)$(LIB_PREFIX)$(LIBSLAXNAME).$(LIB_EXT)
LLIBSLAX=$(LDLIBFLAG)$(LIBSLAXNAME)
LIBSQLNAME=sql11
LIBSQL=$(LIBHOME)/$(LIB_PREFIX)$(LIBSQLNAME).$(LIB_EXT)
LLIBSQL=$(LDLIBFLAG)$(LIBSQLNAME)
#SCOREPT = $(LIBHOME)/scorept.$(OBJ_EXT)
#SSCOREED = $(LIBHOME)/sscoreed.$(OBJ_EXT)
LIBORA=$(LIBCLIENT) $(LIBCOMMON) $(LIBGENERIC)
LLIBORA=$(LLIBCLIENT) $(LLIBCOMMON) $(LLIBGENERIC)
LIBSQLNET = $(LDFLAGSLIST) $(ANOLIBD) $(PROTOCOLLIBD) $(NATIVELIBD) $(NATIVESYSLIBD) $(LIBNETWORK) $(LIBNL)
LLIBSQLNET = $(LDFLAGSLIST) $(ANOLIBS) $(PROTOCOLLIBS) $(NATIVELIBS) $(NATIVESYSLIBS) $(LLIBNETWORK) $(LLIBNL)
LIBRPC = $(LIBHOME)$(LIB_PREFIX)$(RONAME).$(LIB_EXT)
LLIBRPC = $(LDLIBFLAG)$(RONAME)
NETLIBS = $(LLIBSQLNET) $(LLIBRPC) $(LLIBSQLNET)
NETLIBD = $(LIBSQLNET) $(LIBRPC)
LDFLAGSFILE=$(NETWORKLIB)ldflags
LDFLAGSLIST=`$(CAT) $(LDFLAGSFILE)`
LDFLAGSLIST=
LIBNLSRTLNAME = nls11
LIBNLSRTL= $(LIBHOME)$(LIB_PREFIX)$(LIBNLSRTLNAME).$(LIB_EXT)
LLIBNLSRTL= $(LDLIBFLAG)$(LIBNLSRTLNAME)$(LIB_SUFFIX)
CORE_LIB_VER = 11
CORE_LIB_NAME = core
LIBCORE = $(LIBHOME)$(LIB_PREFIX)$(CORE_LIB_NAME)$(CORE_LIB_VER).$(LIB_EXT)
LLIBCORE = $(LDLIBFLAG)$(CORE_LIB_NAME)$(CORE_LIB_VER)
RDBMSHOME=$(ORACLE_HOME)/rdbms/
RDBMSLIB=$(RDBMSHOME)lib/
RDBMSADMIN=$(RDBMSHOME)admin/
LIBCLNTSHNAME=clntsh
LIBCLNTSH=$(LIBHOME)$(LIB_PREFIX)$(LIBCLNTSHNAME).$(SO_EXT)
LLIBCLNTSH=$(LDLIBFLAG)$(LIBCLNTSHNAME)
LIBAGTSHNAME=agtsh
LIBAGTSH=$(LIBHOME)$(LIB_PREFIX)$(LIBAGTSHNAME).$(SO_EXT)
LLIBAGTSH=$(LDLIBFLAG)$(LIBAGTSHNAME)
LIBKNLOPTNAME=knlopt
LIBKNLOPT=$(RDBMSLIB)$(LIB_PREFIX)$(LIBKNLOPTNAME).$(LIB_EXT)
LLIBKNLOPT=$(LDLIBFLAG)$(LIBKNLOPTNAME)
#LIBTRACENAME=trace9
#LIBTRACE=$(LIBHOME)$(LIB_PREFIX)$(LIBTRACENAME).$(LIB_EXT)
#LLIBTRACE=$(LDLIBFLAG)$(LIBTRACENAME)$(LIB_SUFFIX)
#LIBEPC=$(LIBHOME)$(LIB_PREFIX)$(LIBTRACENAME).$(LIB_EXT)
#LLIBEPC=$(LDLIBFLAG)$(LIBTRACENAME)$(LIB_SUFFIX)
CORELIBS = $(LLIBNLSRTL) $(LLIBCV6) $(LLIBCORE) $(LLIBNLSRTL) $(LLIBCORE) \
$(LLIBNLSRTL)
OTHERLIBS=`cat $(ORACLE_HOME)/lib/sysliblist`
DEVTTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
$(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat $(ORACLE_HOME)/lib/sysliblist` $(MATHLIB)
CC=/usr/vac/bin/cc
PCC=proc
PROC=proc CODE=ANSI_C define=_64BIT_ define=_IBM_C define=_LONG_LONG sqlcheck=full userid=$(USERID) oraca=yes mode=oracle unsafe_null=yes dbms=v8
PCCINCLUDE=include=$(ORACLE_HOME)/precomp/lib
PCCFLAGS=$(PCCINCLUDE) sqlcheck=full ltype=none parse=full userid=$(USERID) lines=yes unsafe_null=yes dbms=v8
CFLAGS= $(GFLAG) -qmaxmem=8192 $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -L$(LIBHOME)
ECHO=
STATICPROLDLIBS=$(LLIBCLIENT) $(LIBSQL) $(SCOREPT) $(SSCOREED) $(DEF_ON) $(DEVTTLIBS) $(LLIBTHREAD)
PROLDLIBS=$(LLIBCLNTSH) $(STATICPROLDLIBS)
Tail of make.log :
[applications/tf3/bin/COMP_PROC ]>echo $ORACLE_HOME
/data/oracle/product/11.2.0.2
[applications/tf3/bin/COMP_PROC ]>cd $ORACLE_HOME
[data/oracle/product/11.2.0.2 ]>cd install
[data/oracle/product/11.2.0.2/install ]>tail -15 make.log
mv: cannot rename /data/oracle/product/11.2.0.2/bin/nmo to /data/oracle/product/11.2.0.2/bin/nmo0:
No such file or directory
mv /data/oracle/product/11.2.0.2/sysman/lib/nmo /data/oracle/product/11.2.0.2/bin/
make: The error code from the last command is 1.
make: Ignored error code 1 from last command.
/bin/make -f /data/oracle/product/11.2.0.2/sysman/lib/ins_emagent.mk relink_exe EXENAME=nmhs
ld -b64 -o /data/oracle/product/11.2.0.2/sysman/lib/nmhs -L/data/oracle/product/11.2.0.2/lib/ -L/data/oracle/product/11.2.0.2/sysman/lib/ -lld -lm `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm /data/oracle/product/11.2.0.2/sysman/lib/s0nmhs.o -lnmhs -lcore11 -lld -lm `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm
rm -f /data/oracle/product/11.2.0.2/bin/nmhs.0
cp /data/oracle/product/11.2.0.2/sysman/lib/nmhs /data/oracle/product/11.2.0.2/bin/nmhs.0
mv -f /data/oracle/product/11.2.0.2/bin/nmhs /data/oracle/product/11.2.0.2/bin/nmhs0
mv: cannot rename /data/oracle/product/11.2.0.2/bin/nmhs to /data/oracle/product/11.2.0.2/bin/nmhs0:
No such file or directory
make: The error code from the last command is 1.
make: Ignored error code 1 from last command.
mv /data/oracle/product/11.2.0.2/sysman/lib/nmhs /data/oracle/product/11.2.0.2/bin/
Edited by: Minu on Dec 3, 2011 12:36 AMApparently you are trying to mix 32-bit code and 64-bit code. You must ensure that the 32-bit or 64-bit option is used consistently on every command, compiling and linking. The form of the option can depend on the version of the C compiler you are using, and whether you are on an x86 or sparc system. Consult the Pro*C and C compiler documentation.
Maybe you are looking for
-
Firefox freezes due to a script running. how can I stop it or fix it
I keep having a script run when I am playing Face Book games Especially Battle Pirates and it freezes everything. What can i do to stop it? Or fix it so it dosen't freeze my game? This script runs over and over while I am playing Battle Pirates. Ever
-
How can I change the settings on calendar for appointment auto populate?
Does anyone know how to change the hour that auto populates when first setting up an appointment on the calendar application?
-
Camera raw 7.1 update error code U44M2P7 product cs6 - camera 600D/T3i
Received error code U44M2P7 while trying to update to camera raw 7.1 I'm running CS6 and my camera is a 600D/T3i
-
Hi All, Can any one give me any links or Documents where i can find information about what all one needs to get the Access for the SAP PI and ESR to Run in the System ....! with an example scenario ...! Thanks , Aziz khan
-
How can I download app for my ipad1
I can not download the app for my ipad1 from app store.when I reset my apple and I want to download the app for my ipad1.its come an error with this comment : Can not connect to store. When I ask from my friend they said me the app store is for ios 7