RHEL 5.5にOracle 11g R2をインストールしたときのログ

  • 投稿日:
  • by
  • カテゴリ:

[root@rag45s1vm008 ~]# date
2011年 1月 29日 土曜日 00:37:24 JST
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# hostname
rag45s1vm008.ranonet.net
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# id
uid=0(root) gid=0(root) 所属グループ=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# export LANG=en_US.UTF-8
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# groupadd oinstall
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# groupadd dba
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# groupadd oper
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# groupadd asmadmin
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# useradd -g oinstall -G dba,oper oracle
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# cd /media/RHEL_5.5\ x86_64\ DVD/Server/
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv compat-libstdc++-33-3.2.3-61.i386.rpm
warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:compat-libstdc++-33 ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv compat-libstdc++-33-3.2.3-61.x86_64.rpm
warning: compat-libstdc++-33-3.2.3-61.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:compat-libstdc++-33 ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv elfutils-libelf-devel-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
warning: elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:elfutils-libelf-devel-s########################################### [ 50%]
2:elfutils-libelf-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv kernel-headers-2.6.18-194.el5.x86_64.rpm
warning: kernel-headers-2.6.18-194.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:kernel-headers ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv glibc-headers-2.5-49.x86_64.rpm
warning: glibc-headers-2.5-49.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:glibc-headers ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv glibc-devel-2.5-49.x86_64.rpm
warning: glibc-devel-2.5-49.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:glibc-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv libgomp-4.4.0-6.el5.x86_64.rpm
warning: libgomp-4.4.0-6.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libgomp ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv gcc-4.1.2-48.el5.x86_64.rpm
warning: gcc-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv libstdc++-devel-4.1.2-48.el5.x86_64.rpm
warning: libstdc++-devel-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libstdc++-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv gcc-c++-4.1.2-48.el5.x86_64.rpm
warning: gcc-c++-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:gcc-c++ ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv glibc-devel-2.5-49.i386.rpm
warning: glibc-devel-2.5-49.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:glibc-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv libaio-devel-0.3.106-5.x86_64.rpm
warning: libaio-devel-0.3.106-5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libaio-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv sysstat-7.0.2-3.el5.x86_64.rpm
warning: sysstat-7.0.2-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:sysstat ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv libaio-devel-0.3.106-5.i386.rpm
warning: libaio-devel-0.3.106-5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libaio-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv unixODBC-2.2.11-7.1.i386.rpm
warning: unixODBC-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:unixODBC ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv unixODBC-2.2.11-7.1.x86_64.rpm
warning: unixODBC-2.2.11-7.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:unixODBC ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv unixODBC-devel-2.2.11-7.1.i386.rpm
warning: unixODBC-devel-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:unixODBC-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# rpm -ihv unis
[root@rag45s1vm008 Server]# rpm -ihv unixODBC-devel-2.2.11-7.1.x86_64.rpm
warning: unixODBC-devel-2.2.11-7.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:unixODBC-devel ########################################### [100%]
[root@rag45s1vm008 Server]#
[root@rag45s1vm008 Server]# cd /etc/
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# cp -piv sysctl.conf sysctl.conf.bk20110129
`sysctl.conf' -> `sysctl.conf.bk20110129'
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# vi sysctl.conf
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# diff sysctl.conf.bk20110129 sysctl.conf
35a36,45
>
> # Oracle
> kernel.sem = 250 32000 100 128
> fs.file-max = 6815744
> net.ipv4.ip_local_port_range = 9000 65500
> net.core.rmem_default = 262144
> net.core.rmem_max = 4194304
> net.core.wmem_default = 262144
> net.core.wmem_max = 1048576
> fs.aio-max-nr = 1048576
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# cd security
[root@rag45s1vm008 security]#
[root@rag45s1vm008 security]# cp -piv limit.s.conf limits.conf .bk20110129
`limits.conf' -> `limits.conf.bk20110129'
[root@rag45s1vm008 security]#
[root@rag45s1vm008 security]# vi limits.conf
[root@rag45s1vm008 security]#
[root@rag45s1vm008 security]# diff limits.conf.bk20110129 limits.mconf
49a50,54
> oracle soft nproc 2047
> oracle hard nproc 16384
> oracle soft nofile 1024
> oracle hard nofile 65536
>
[root@rag45s1vm008 security]#
[root@rag45s1vm008 security]# cd /etc/pam.d/
[root@rag45s1vm008 pam.d]#
[root@rag45s1vm008 pam.d]# cp -piv login login.bk20110129
`login' -> `login.bk20110129'
[root@rag45s1vm008 pam.d]#
[root@rag45s1vm008 pam.d]# vi login
[root@rag45s1vm008 pam.d]#
[root@rag45s1vm008 pam.d]# diff login.bk20110129 login
14a15,16
> # oracle
> session required pam_limits.so
[root@rag45s1vm008 pam.d]#
[root@rag45s1vm008 pam.d]# cd /etc
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# cp -piv profile profile.bk20110129
`profile' -> `profile.bk20110129'
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# vi profile
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# diff profile.bk20110129 profile
58a59,67
>
> if [ $USER = "oracle" ]; then
> if [ $SHELL = "/bin/ksh" ]; then
> ulimit -p 16384
> ulimit -n 65536
> else
> ulimit -u 16384 -n 65536
> fi
> fi
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# cd /
[root@rag45s1vm008 /]#
[root@rag45s1vm008 /]# mkdir -p /u01/app
[root@rag45s1vm008 /]#
[root@rag45s1vm008 /]# chown -R oracle:oinstall /u01/app
[root@rag45s1vm008 /]#
[root@rag45s1vm008 /]# chmod -R 775 /u01/app
[root@rag45s1vm008 /]#
[root@rag45s1vm008 u01]# dd if=/dev/zero of=/u01/swapfile bs=1024 count=2097152
2097152+0 records in
2097152+0 records out
2147483648 bytes (2.1 GB) copied, 70.1565 seconds, 30.6 MB/s
[root@rag45s1vm008 u01]#
[root@rag45s1vm008 u01]# mkswap /u01/swapfile
Setting up swapspace version 1, size = 2147479 kB
[root@rag45s1vm008 u01]#
[root@rag45s1vm008 u01]# swapon /u01/swapfile
[root@rag45s1vm008 u01]#
[root@rag45s1vm008 u01]# cd /etc/
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# cp -piv fstab fstab.bk20110129
`fstab' -> `fstab.bk20110129'
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# vi fstab
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# mount -a
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# xhost +
[root@rag45s1vm008 etc]#
[root@rag45s1vm008 etc]# su - oracle
[oracle@rag45s1vm008 ~]$
[oracle@rag45s1vm008 ~]$ xhost +
[oracle@rag45s1vm008 ~]$
[oracle@rag45s1vm008 ~]$ cd /tmp/database/
[oracle@rag45s1vm008 database]$
[oracle@rag45s1vm008 database]$ ./runInstaller

★GUIのインストーラに従ってインストール★

[root@rag45s1vm008 ~]# /u01/app/oraInventory/orainstRoot.sh
権限を変更中 /u01/app/oraInventory.
グループの読取り/書込み権限を追加中。
全ユーザーの読取り/書込み/実行権限を削除中。

グループ名の変更 /u01/app/oraInventory 宛先 oinstall.
スクリプトの実行が完了しました。
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# /u01/app/oracle/product/11.2.0/dbhonmeme_1/root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/dbhome_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.
Finished product-specific root actions.
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# date
Sun Jan 30 10:45:46 JST 2011
[root@rag45s1vm008 ~]#
[root@rag45s1vm008 ~]# exit
logout