While installing the Oracle 11gR2 (11.2.0.1) grid infrastructure software on Solaris 11 , I got the following errors:
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-11-10_06-23-31PM. Please wait ...oracle@len01:~/download/grid$ You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2011-11-10_06-23-31PM.log
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparcv9/server/libjsig.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparc/client/libjsig.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparcv9/libjdgaSUNWafb.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparcv9/server/libjsig_g.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparc/libjvm.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparc/libjdgaSUNWafb.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/javaws/javaws: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparc/server/libjsig_g.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparc/client/libjsig_g.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/jdk/jre/lib/sparc/server/libjsig.so: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/lib/libocci.so: No such file or directory
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/bin/lbuilder: Invalid argument
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/lib/libagtsh.so: No such file or directory
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/lib/libodm11.so: No such file or directory
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/lib/libodm11.so: No such file or directory
Error in checking existance of the link, errno:11:/u01/app/oracle/product/11.2.0/grid/JRE: No such file or directory
In the error message where it says invalid argument, the installer copies the file instead of creating a link. And for the error message that states No such file or directory, the corresponding file does not get copied over.
And then the ASM install fails with the error : ORACLE not available.
I got the similar message for Oracle database install as well.
It turns out 11.2.0.1 is not supported on Solaris11. 11.2.0.3 and beyond are supported on S11. Installing 11.2.0.3 resolved the issue.
Showing posts with label Installation. Show all posts
Showing posts with label Installation. Show all posts
Monday, August 13, 2012
Installing Oracle database in Solaris Container: Issue resolution
I was trying to install Oracle clusterware on 11.2.0.2 on Solaris container. I got the following error:
Adding daemon to inittab
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'Solaris Container: Solaris 10 update 10'
ACFS-9201: Not Supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'Solaris Container: Solaris 10 update 10'
CRS-2672: Attempting to start 'ora.mdnsd' on 'dszone1'
CRS-2676: Start of 'ora.mdnsd' on 'dszone1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'dszone1'
CRS-2676: Start of 'ora.gpnpd' on 'dszone1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'dszone1'
CRS-2672: Attempting to start 'ora.gipcd' on 'dszone1'
CRS-2676: Start of 'ora.cssdmonitor' on 'dszone1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'dszone1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'dszone1'
CRS-2672: Attempting to start 'ora.diskmon' on 'dszone1'
CRS-2676: Start of 'ora.diskmon' on 'dszone1' succeeded
CRS-2674: Start of 'ora.cssd' on 'dszone1' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'dszone1'
CRS-2681: Clean of 'ora.cssd' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'dszone1'
CRS-2677: Stop of 'ora.diskmon' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'dszone1'
CRS-2677: Stop of 'ora.gipcd' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'dszone1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'dszone1'
CRS-2677: Stop of 'ora.gpnpd' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'dszone1'
CRS-2677: Stop of 'ora.mdnsd' on 'dszone1' succeeded
CRS-5804: Communication error with agent process
CRS-4000: Command Start failed, or completed with errors.
The exlusive mode cluster start failed, see Clusterware alert log for more information
Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig
The alert log under /u01/app/11.2.0/grid/log/<nodename> has the following error:
[cssd(8886)]CRS-1656:The CSS daemon is terminating due to a fatal error; Details at (:CSSSC00011:) in /u01/app/11.2.0/grid/
log/dszone1/cssd/ocssd.log
And the ocssd.log has following error:
2012-08-07 06:06:57.599: [ CSSD][1]clssscSetPrivEnv: Setting priority to 4
2012-08-07 06:06:57.607: [ CSSD][1]clssscSetPrivEnv: unable to set priority to 4
2012-08-07 06:06:57.607: [ CSSD][1]SLOS: cat=-2, opn=scls_set_priority_realtime, dep=1, loc=setsched
unable to escalate to real time
2012-08-07 06:06:57.607: [ CSSD][1](:CSSSC00011:)clssscExit: A fatal error occurred during initialization
Restarting the container with following privileges fixed the issue:
set limitpriv="default,proc_priocntl,proc_clock_highres,sys_time"
Refer to metalink note ID 1340694.1 for detailed information.
Adding daemon to inittab
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'Solaris Container: Solaris 10 update 10'
ACFS-9201: Not Supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'Solaris Container: Solaris 10 update 10'
CRS-2672: Attempting to start 'ora.mdnsd' on 'dszone1'
CRS-2676: Start of 'ora.mdnsd' on 'dszone1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'dszone1'
CRS-2676: Start of 'ora.gpnpd' on 'dszone1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'dszone1'
CRS-2672: Attempting to start 'ora.gipcd' on 'dszone1'
CRS-2676: Start of 'ora.cssdmonitor' on 'dszone1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'dszone1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'dszone1'
CRS-2672: Attempting to start 'ora.diskmon' on 'dszone1'
CRS-2676: Start of 'ora.diskmon' on 'dszone1' succeeded
CRS-2674: Start of 'ora.cssd' on 'dszone1' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'dszone1'
CRS-2681: Clean of 'ora.cssd' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'dszone1'
CRS-2677: Stop of 'ora.diskmon' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'dszone1'
CRS-2677: Stop of 'ora.gipcd' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'dszone1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'dszone1'
CRS-2677: Stop of 'ora.gpnpd' on 'dszone1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'dszone1'
CRS-2677: Stop of 'ora.mdnsd' on 'dszone1' succeeded
CRS-5804: Communication error with agent process
CRS-4000: Command Start failed, or completed with errors.
The exlusive mode cluster start failed, see Clusterware alert log for more information
Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig
The alert log under /u01/app/11.2.0/grid/log/<nodename> has the following error:
[cssd(8886)]CRS-1656:The CSS daemon is terminating due to a fatal error; Details at (:CSSSC00011:) in /u01/app/11.2.0/grid/
log/dszone1/cssd/ocssd.log
And the ocssd.log has following error:
2012-08-07 06:06:57.599: [ CSSD][1]clssscSetPrivEnv: Setting priority to 4
2012-08-07 06:06:57.607: [ CSSD][1]clssscSetPrivEnv: unable to set priority to 4
2012-08-07 06:06:57.607: [ CSSD][1]SLOS: cat=-2, opn=scls_set_priority_realtime, dep=1, loc=setsched
unable to escalate to real time
2012-08-07 06:06:57.607: [ CSSD][1](:CSSSC00011:)clssscExit: A fatal error occurred during initialization
Restarting the container with following privileges fixed the issue:
set limitpriv="default,proc_priocntl,proc_clock_highres,sys_time"
Refer to metalink note ID 1340694.1 for detailed information.
Thursday, July 21, 2011
Oracle Installation notes
- Create user and group:
- groupadd -g 201 dba
- groupadd -g 200 oinstall
- useradd -g oinstall -G dba -u 200 oracle
- mkdir /export/home/oracle
- chown -R oracle:oinstall /export/home/oracle
- passwd oracle (setup password for oracle user)
- Create ZFS pool to install Oracle (optional)
- Find out which pools exist and which disks are used by those pools
- zpool status
- Create a pool named oraclePool
-
zpool create oraclePool c0t5000C5001D250C7Fd0
c0t5000C5001D207157d0
zfs create oraclePool/11gR2
- Create directories and provide them right permissions:
- mkdir -p /u01/app/oracle
- mkdir -p /u01/app/11.2.0/grid
- mkdir -p /u01/app/oracle/11.2.0/db
- chown -R oracle:oinstall /u01
- chmod -R 775 /u01
- Oracle BASE : /u01/app/oracle
- GRID Base: /u01/app/11.2.0/grid
- DB BASE: /u01/app/oracle/11.2.0/grid
- Install the required packages
- pkg install SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWpool SUNWsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw pkg://solaris/SUNWxwplt
- Set project attributes
- projmod -s -K 'process.max-file-descriptor=(basic,10000,deny)' oracleProject
- 11.2.0.3 and later are supported on Solaris 11
- Set up AWT_TOOLKIT variable on Solaris 11
- if installing on Solaris 11, set the following variable so runInstaller can work
- export AWT_TOOLKIT=XToolkit
- To setup rsh/ rlogin/ssh between nodes on Solaris 11:
- pkg install service/network/legacy-remote-utilities
- inetadm -e svc:/network/login:rlogin
- svcadm enable /network/shell:default
- Clone ASM and DB installation
- Check out Appendix B of this document:
http://download.oracle.com/docs/cd/E11882_01/install.112/e24346/toc.htm
- If you want to do a slient install with response file check out appendix A.
- Verify if you have all the required packages:
- pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
- Else install the packages
- pkg install <list of space separated pkg names>
- If required you can delete existing publisher and add new publisher
- pkg set-publisher -G '*' -g http://ipkg.us.oracle.com/solaris11/dev/ solaris
# pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online http://ipkg.us.oracle.com/solaris11/dev/
Friday, March 26, 2010
Out of memory error while create database
- Issue prctl $$ command as oracle and root user and ensure that proj.max-shm-mem variable shows the value you need. Else update the /etc/system with the following and reboot the system:
- set shmsys:shminfo_shmmax=0xb40000000
- If you do not want to reboot the system, make sure you update the project for both root user and oracle user with prcl commands given below.
- For additional info : http://ritukamboj.blogspot.com/2011/03/out-of-memory-error.html
- Create a project named oracle using following command:
- projadd oracle
- Verify that project was created
- projects -l
- Associate this project with oracle user:
- Edit /etc/user_attr file and add the following line
- oracle::::project=oracle (four colon)
- Verify that project oracle is associated with oracle user:
- login as oracle user and issue id -p. It should show oracle as project for oracle user.
- Check the existing value of shared memory variable for this project:
- prctl -n project.max-shm-memory -i project oracle
- To set it to a different value:
- To set the value dynamically for the given session...will be lost after reboot
- prctl -n project.max-shm-memory -v 40G -r -i project oracle
- To set it in /etc/project file so it is persistent across reboot
- # projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle
Subscribe to:
Posts (Atom)