Thursday 22 May, 2008 - 22:42
Setting up the OMS on
gridctrl
to run the preinstallation check (see p.1-12 of
Enterprise Manager Grid Control Installation and Basic Configuration
)
# userdel oracle
# groupadd -g 600 oinstall
# groupadd -g 601 dba
# useradd -u 600 -g oinstall -G dba oracle
# passwd oracle
# mkdir -p /u00/app/oracle
# chown -R oracle:oinstall /u00/app/oracle
# chmod -R 775 /u00/app/oracle
# su - oracle
$ mkdir install
$ chgrp oinstall install
$ unzip /mnt/hgfs/OCM/Linux_Grid_Control_full_102010_disk1.zip -d install
$ unzip /mnt/hgfs/OCM/Linux_Grid_Control_full_102010_disk2.zip -d install
$ unzip /mnt/hgfs/OCM/Linux_Grid_Control_full_102010_disk3.zip -d install
$ ./install/runInstaller -prereqchecker PREREQ_CONFIG_LOCATION=./install/rdbms/Disk1/stage/prereq -entryPoint oracle.sysman.top.em_seed_Care -prereqLogLoc log -silent -waitForCompletion
Starting Oracle Prerequisite Checker...
Checking installer requirements...
Checking operating system version: must be redhat-3, redhat-4 or SuSE-9
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-05-22_08-13-57PM. Please wait ..../install/runInstaller:
line 61: 8981 Segmentation fault
$CMDDIR/install/runInstaller -nowelcome
There is a directory called ~/log/logs which contains two short log file, both of which contain:
Using paramFile: /home/oracle/install/install/oraparam.ini
$ cat >>~/.bash_profile
export ORACLE_BASE=/u00/app/oracle
export ORACLE_HOSTNAME=${HOSTNAME%%.*}
$ install/runInstaller
The pre-installation checks failed with one (1) warning because of the following errors:
Checking for compat-libstdc++-296-2.96-132.7.2; found Not found. Failed <<<<
Checking for libstdc++devel-3.4.3-22.1; found Not found. Failed <<<<
Checking for openmotif-21-2.1.30-11; found openmotif-2.2.3-9.RHEL4.1. Failed <<<<
Cancelled the installation.
When I check the packages manually, I find that:
# rpmquery compat-libstdc++-296 libstdc++-devel openmotif-21 openmotif
compat-libstdc++-296-2.96-132.7.2
libstdc++-devel-3.4.4-2
package openmotif-21 is not installed
openmotif-2.2.3-9.RHEL4.1
In other words, the prerequisite checks are stuffed. I am no longer surprised. Restarted the installation.
Installation Type is Enterprise Manager 10g Grid Control Using a New Database .
Parent directory is
/u00/app/oracle/OracleHomes
Inventory directory is at
/u00/app/oracle/oraInventory
and the o/s group name is
oinstall
.
Accepted the prerequisite problems.
Forgot to create the
oper
group. Cancelled installation and restarted after logging in again.
Repository database name is
emrep
Repository Database File Location is
/u00/app/oracle/oradata
And the groups are as per normal.
[oracle@gridctrl ~]$ su -
# /u00/app/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u00/app/oracle/oraInventory to 770.
Changing groupname of /u00/app/oracle/oraInventory to oinstall.
The execution of the script is complete
# /u00/app/oracle/OracleHomes/db10g/allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u00/app/oracle/OracleHomes/db10g/root.sh ......
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u00/app/oracle/OracleHomes/db10g
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 ...
\nCreating /etc/oratab file...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc/oracle does not exist. Creating it now.
Finished execution of /u00/app/oracle/OracleHomes/db10g/root.sh ......
Starting to execute /u00/app/oracle/OracleHomes/oms10g/root.sh ......
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u00/app/oracle/OracleHomes/oms10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished execution of /u00/app/oracle/OracleHomes/oms10g/root.sh ......
Starting to execute /u00/app/oracle/OracleHomes/agent10g/root.sh ......
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u00/app/oracle/OracleHomes/agent10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
Finished execution of /u00/app/oracle/OracleHomes/agent10g/root.sh ......
The installation completed successfully with:
This information is also available at:
/u00/app/oracle/OracleHomes/agent10g/sysman/setupinfo.txt
See below for information pertaining to your Enterprise Manager installation:
1. Use the following URL to access the Enterprise Manager Grid Control:
http://gridctrl:4889/em
2. The Enterprise Manager installation includes an Oracle Application Server instance, which is administered using a special "ias_admin" user account. The following information was defaulted for the embedded Application Server instance:
Instance Name: EnterpriseManager0.gridctrl
ias_admin password: This password is the same the SYSMAN account.
3. The connection details for the Enterprise Manager Repository are:
Host: gridctrl
Port: 1521
SID: emrep
4. The Enterprise Manager Release Notes are located at:
/u00/app/oracle/OracleHomes/agent10g/relnotes/README_EM.txt