Errors & Documentation
Errors & Documentation
--For the above error,cause due to password file problem during the
installation.so we manually create the password file in th directory dbs.
Path:/ORACLE_HOME/dbs
$orapwd file=’/ORACLE_HOME/dbs/file_name’
password=password_name entries=3
Steps :
Here and replace the old sid’s to new sid’s in new pfile.
Open that trace file (this is text file) and copy the some content
like below:
Old script:
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "TEST" RESETLOGS
ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 '/dbfiles/oradata/test/redo01.log' SIZE 50M,
GROUP 2 '/dbfiles/oradata/test/redo02.log' SIZE 50M,
GROUP 3 '/dbfiles/oradata/test/redo03.log' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'/dbfiles/oradata/test/system01.dbf',
'/dbfiles/oradata/test/undotbs01.dbf',
'/dbfiles/oradata/test/sysaux01.dbf',
'/dbfiles/oradata/test/users01.dbf',
'/dbfiles/oradata/test/example01.dbf',
'/dbfiles/oradata/test/dbf1',
'/dbfiles/oradata/test/.df2',
'/dbfiles/oradata/test/.df3',
'/dbfiles/oradata/test/.df4',
'/dbfiles/oradata/test/.df5',
'/dbfiles/oradata/test/ramn_01.dbf'
CHARACTER SET WE8ISO8859P1
;
New script:
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "CLONE" RESETLOGS
ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 '/dbfiles/oradata/clone/redo01.log' SIZE 50M,
GROUP 2 '/dbfiles/oradata/clone/redo02.log' SIZE 50M,
GROUP 3 '/dbfiles/oradata/clone/redo03.log' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'/dbfiles/oradata/clone/system01.dbf',
'/dbfiles/oradata/clone/undotbs01.dbf',
'/dbfiles/oradata/clone/sysaux01.dbf',
'/dbfiles/oradata/clone/users01.dbf',
'/dbfiles/oradata/clone/example01.dbf',
'/dbfiles/oradata/clone/dbf1',
'/dbfiles/oradata/clone/.df2',
'/dbfiles/oradata/clone/.df3',
'/dbfiles/oradata/clone/.df4',
'/dbfiles/oradata/clone/.df5',
'/dbfiles/oradata/clone/ramn_01.dbf'
CHARACTER SET WE8ISO8859P1
;
Here also change the old sid name(like test) to new sid
name(like clone)
$ORACLE_BASE/oradata/clone
/ORACLE_HOME/admin/clone
STATUS
-----------
OPEN
From sqlplus:
shutdown immediate
startup mount
exit
From unix:
nid target=/
NID will ask if you want to change the ID. Respond with 'Y'. Once it
has finished, start the database up again in sqlplus
shutdown immediate
startup mount
alter database open resetlogs
/
Some quiries:
Download Software
Unpack Files
# Start Here
mkdir startCD
# APPL_TOP
mkdir oraApps
# RDBMS
mkdir oraDB
# Tools
mkdir oraiAS
# Databases
mkdir oraAppDB
Copy the contents of all the DVDs into the appropriate directories.
Hosts File
The /etc/hosts file must contain a fully qualified name for the server:
<IP-address> <fully-qualified-machine-name> <machine-name>
Set Kernel Parameters
Setup
The following additional packages are required. Depending on the update/respin version of
Enterprise Linux, the exact package versions and locations may vary.
alsa-lib-devel-*
audiofile-devel-*
compat-db-*
compat-gcc-32-3*
compat-gcc-32-c++-3*
compat-libcwait-2*
compat-libgcc-296-2*
compat-libstdc++-296-2*
compat-oracle-rhel4-1*
esound-0*
esound-devel-0*
fontconfig-devel-2*
freetype-devel-2*
gcc-3*
gcc-c++-3*
glib-1*
glib-devel-1*
gnome-libs-1*
gnome-libs-devel-1*
gtk+-devel-1*
gtk2-devel-2*
imlib-1*
imlib-devel-1*
jdk-1*
libaio-0*
libaio-devel-0*
libjpeg-devel-*
libtiff-devel-*
libungif-devel-*
libungif-progs-*
make-3*
openmotif21*
ORBit-devel-*
xorg-x11-deprecated-libs-6*
xorg-x11-deprecated-libs-devel-6*
xorg-x11-devel-*
Due to all the package inter-dependencies, it probably makes sense to copy all these packages
from the CDs to a single directory, then install then using the following command. For
convenience, I wrapped all the necessary packages for an OEL 4.5 installation into a single tar
file (11i-rh4-rpms.tar), making subsequent installations much simpler.
rpm -Uvh *.rpm
Login as the oracle user and add the following line at the end of the .bash_profile file:
# Oracle 9i
LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental
variable:
DISPLAY=<machine-name>:0.0; export DISPLAY
Follow any instructions and rerun as requested. The Rapid Installation Wizard installation is
shown below.
2. Accept the default "Install Oracle Applications E-Business 11i" option by clicking the
"Next" button.
3. Select the "No" option, then click the "Next" button.
5. Select the "fresh database" database type, enter a database name, in this case I used
"PLAY", then click the "Next" button.
6. Enter the appropriate base directory, in this case I used "/u01/oracle", then click the
"Next" button.
7. Select the "E-Business Suite licensing" option, then click the "Next" button.
10. Select any additional language support if necessary, then click the "Next" button.
11. Select the appropriate territory and characterset information, then click the "Next" button.
12. Enter the appropriate base directory, in this case I used "/u01/oracle", then click the
"Next" button.
13. Accept the global settings by clicking the "Next" button.
14. Note the location of the config files. It's worth taking a copy of this file as it comes in hady
when reloading or upgrading the software. Click the "Next" button.
15. Wait for the system checks to complete.
16. Assuming all the system checks were completed successfully, click the "Next" button.
17. Click the "Next" button on the installation review screen.
20. Assuming all the post-install checks are successful, click the "Next" button.
21. Click the "Finish button to exit the Rapid Install Wizard.
Post Installation :
$ vi .bash_profile
. /db/oracle1/SID-db/9.2.0/ SID_hostname.env
$ . .bash_profile
$ vi .bash_profile
Add the following path
. /apps/oracle2/visdbaappl/APPSVISDBA_uday.env
$ . .bash_profile
For getting the front end page database listener must be in up, for
that run the following script at respective users
$ cd /db/oracle1/visdbadb/9.2.0/appsutil/scripts/VISDBA_uday ---
$ cd /apps/oracle2/visdbacomn/admin/scripts/VISDBA_uday ---
$ sh adstrtal.sh start
Once the installation is complete, the Rapid Installation Portal can be accessed using the
following information.
URL: http://machine-name:8000
Eg: http://192.168.1.114:8000
(or)
Add the IP address and host name to the /etc/hosts like follows
Vi /etc/hosts
Username: SYSADMIN
Password: SYSADMIN
Forms are open in internet explorer effectively only. For opening the forms JInitiater
is necessary
#vncserver :1
Passwd: narasimha
Veify narasimha
#vncpasswd -----to change the password
#vncserver –kill :1 -----to kill the process
Hardware requirement
For this installation type is good to have 2 personal computers with
this configuration:
Pentium 4 Processor
1Gb RAM
200 Mb Hard Disk
1 network card (Linux compatible). ( D-Link DFE-530 TX
network card could be used )
Also a switch and 2 network cable are necessary in order to connect
the 2 computers.
Software download
Software Link
Oracle Applications http://edelivery.oracle.com/
CentOS 4 (a Red Hat 4
http://isoredirect.centos.org/centos/4/isos/i386/
Linux version)
Compatibility files for
running Oracle on RHEL 4:
http://oss.oracle.com/projects/compat-
compat-oracle-rhel4-1.0-
oracle/files/RedHat/
5.i386.rpm
compat-libcwait-2.1-
1.i386.rpm
Linux installation
I suggest a full Linux installation even if there are some components
which are not necessary to spend less time and to have all we need for
the Oracle Applications installation. I suggest also on the both computers
to create 1Gb tmp directory and a 2Gb swap directory.
Staging the Oracle Application
Oracle Applications are downloaded in a compressed format, so these
files cannot be used directly for the installation. For this reason the files
must be unzipped in the same directory to create the staging directory:
For that we have to:
create a directory which can be read/ write by all users for the
download ( for example /media/usbdisk/download );
create a directory which can be read/ write by all users for the
staging ( for example /media/usbdisk/APPS0 );
unzip all the Oracle Application zip files in the staging directory
( /media/usbdisk/APPS0). These directories must be created:
oraAppDB, oraApps, oraDB, oraiAS, startCD.
If we have the Oracle DVDs / CDs with the Oracle Applications
installation kit, we have to follow the next steps to set up a staging
directory:
insert the Start Here disk in the CD-ROM (DVD-ROM) drive
$ cd /media/cdrecorder/Disk1/rapidwiz
run the AutoStage script: $ perl adautostg.pl
set up the stage area directory (If you
chose /media/usbdisk/APPS0 as the top-level directory, the
staging directory will be /media/usbdisk/APPS0/Stage11i)
indicate the components to be staged
Preparing the Linux environment for the installation
In order to have a Linux environment ready for the Oracle
Applications 11i multi-tier installation we have to:
1) connect the 2 computers (PC1 will be the database server, and
PC2 will be the server which will have the middle-tier installed on):
on PC1 ( the database server):
- edit /etc/hosts and add the following lines:
192.168.1.201 APPS_svr.localdomain APPS_svr
192.168.1.202 DB_svr.localdomain DB_svr
- set the network card with 192.168.1.202 IP address and Mask:
255.255.255.0
on PC2 ( the applications/ middle-tier server):
- edit /etc/hosts and add the following lines:
192.168.1.201 APPS_svr.localdomain APPS_svr
192.168.1.202 DB_svr.localdomain DB_svr
- set the network card with 192.168.1.201 IP address and Mask:
255.255.255.0
2) test the connection between the 2 computers (on each computer):
[root@localhost ~]# ping -c 2 DB_svr
PING DB_svr.localdomain (192.168.1.202) 56(84) bytes of data.
64 bytes from DB_svr.localdomain (192.168.1.202): icmp_seq=0 ttl=64
time=0.109 ms
64 bytes from DB_svr.localdomain (192.168.1.202): icmp_seq=1 ttl=64
time=0.113 ms
Select "Next".
Select "Multi-node" type.
Select "Next".
Select "No, do not enable load balancing"
Select "Next".
Select "db_svr" for the database service and "apps_svr"
for the other services (Administration, Concurrent
Manager, Forms, Web)
Select "Next".
Select "Next".
Select the database install information as shown on this
screen.
Select "Next".
Select "Next".
Select "Next".
Change the configuration file path as shown in this
window. The configuration file must not be in a
temporary directory.
Select "Next".
Select "Next".
Select "Next".
Select "Yes".
Wait until the installation will complete.
Select "Next".
Select "Next".
Change the configuration file path as shown in this
window. The configuration file must not be in a
temporary directory.
Select "Next".
Select "Next".
Select "Next".
Select "Yes".
Wait until the installation will complete.
Select "Next".
Press "Connect to Oracle Applications 11i" to test if
the Oracle Applications are running. Press "Finish".
# vi /etc/sysctl.conf
#kernel.shmall = 2097152
#kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
#fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
# sysctl –p
SHUTDOWN IMMEDIATE
STARTUP MOUNT
Create new parameter file(Pfile) from old pfile and modify the
db.name