UJP - 技術情報

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

     

Oracle8i 8.1.5.0.0 Install〜for Solaris その4 インストール後の確認〜


Oracle8i 8.1.5.0.0 Install

〜for Solaris その4 インストール後の確認〜


0.更新履歴

  • 2001.01.09 新規作成
  • 2001.01.10 TNS Listerの起動の追加
  • 2001.01.21 文書がでかいので分割した

1.はじめに

 このドキュメントは,Solaris 2.6 on UltraEnterprise420Rの環境に,Oracle8i 8.1.5を導入する手順である.

4.インストール後の確認

  • 初期インストールでハードディスクをどれくらい消費しているか確認してみる.

# df -k /oracle
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t1d0s2    17413250  930216 16308902     6%    /oracle
#

  • インストールログを確認してみる.

# cat /var/opt/oracle/oraInst.loc
inventory_loc=/oracle/app/oracle/oraInventory
# cat /oracle/app/oracle/oraInventory/logs/installActions.log
installActions2001-01-09_09-56-14-PM.log
Environment variables:
        ORACLE_HOME = /oracle/app/oracle/product/8.1.5
        PATH = /oracle/app/oracle/product/8.1.5/bin:/usr/ccs/bin:/usr/bin:/usr/
dt/bin:/usr/openwin/bin:/usr/ccs/bin:/etc:/oracle/app/oracle/product/8.1.5/bin:
/usr/bin:/usr/ucb:/etc:.:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:/u
sr/openwin/bin
        CLASSPATH = /tmp/OraInstall:../stage/Components/oracle/swd/oui/1.6.0.7.
0/1/DataFiles/Expanded/lib/OraInstaller.jar:../stage/Components/oracle/swd/oui/
1.6.0.7.0/1/DataFiles/Expanded/lib/InstImages.jar:../stage/Components/oracle/sw
d/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/InstHelp.jar:../stage/Components/oracl
e/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/oracleice.jar:../stage/Components/
oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/help.jar:../stage/Components/
oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/ewt.jar:/cdrom/oracle8i/insta
ll/../stage/Components/oracle/swd/jre/1.1.7/1/DataFiles/Expanded/solaris/bin/..
/classes:/cdrom/oracle8i/install/../stage/Components/oracle/swd/jre/1.1.7/1/Dat
aFiles/Expanded/solaris/bin/../lib/classes.zip:/cdrom/oracle8i/install/../stage
/Components/oracle/swd/jre/1.1.7/1/DataFiles/Expanded/solaris/bin/../lib/rt.jar
:/cdrom/oracle8i/install/../stage/Components/oracle/swd/jre/1.1.7/1/DataFiles/E
xpanded/solaris/bin/../lib/i18n.jar
Username is: oracle
*** Welcome Page***Setting value of FROM_LOCATION to /cdrom/oracle8i/stage/prod
ucts.jarSetting value of ORACLE_HOME_NAME to Setting value of FROM_LOCATION to
/cdrom/oracle8i/stage/products.jarSetting value of ORACLE_HOME to /oracle/app/o
racle/product/8.1.5Setting value of ORACLE_HOME_NAME to Setting value of INVENT
ORY_LOCATION to /oracle/app/oracle/oraInventory
*** File Locations Page***FromLocation = FROM_LOCATION = /cdrom/oracle8i/stage/
products.jarToLocation = ORACLE_HOME = /oracle/app/oracle/product/8.1.5ToName =
 ORACLE_HOME_NAME = Initializing installer access setupSetting value of Topleve
lComp to oracle.server, 8.1.5.0.0, >0.0, [ 912 453 601 173 467 295 87 610 198 9
18 913 162 2 30 21 10021 111 90 168 888 ][OH:2]Setting value of SELECTED_LANGUA
GES to [en]Doing operation for installer access setupSetting value of UNIX_GROU
P_NAME to oinstall
*** UNIX Group Name Page***UnixInstallGroup = UNIX_GROUP_NAME = oinstallInitial
izing inventory setup WCCE
The installer version is 1.6.0.7.0

Setting value of FROM_LOCATION to /cdrom/oracle8i/stage/products.jar
Setting value of ORACLE_HOME_NAME to
Setting value of ORACLE_HOME to /oracle/app/oracle/product/8.1.5
Setting value of INVENTORY_LOCATION to /oracle/app/oracle/oraInventory
Setting value of UNIX_GROUP_NAME to
Warning :*** Alert: Do you really want to exit? ***
User selected: Yes/OK
#

  • Oracleが稼動しているか確認する.

# ps -ef | grep ora_
    root  2065  1746  0 22:12:04 pts/0    0:00 grep ora_
  oracle  2017     1  0 21:51:54 ?        0:00 ora_d000_o8i
  oracle  2011     1  0 21:51:54 ?        0:01 ora_smon_o8i
  oracle  2007     1  0 21:51:54 ?        0:00 ora_lgwr_o8i
  oracle  2003     1  0 21:51:54 ?        1:00 ora_pmon_o8i
  oracle  2005     1  0 21:51:54 ?        0:00 ora_dbw0_o8i
  oracle  2009     1  0 21:51:54 ?        0:00 ora_ckpt_o8i
  oracle  2013     1  0 21:51:54 ?        0:00 ora_reco_o8i
  oracle  2015     1  0 21:51:54 ?        0:00 ora_s000_o8i
# ps -ef | grep tnslsnr
    root  2067  1746  0 22:12:18 pts/0    0:00 grep tnslsnr
  oracle  2031     1  0 21:52:04 ?        0:00 /oracle/app/oracle/product/8.1.5
/bin/tnslsnr LISTENER -inherit

5.Oracle終了と起動

 インストール直後にOracleは起動しているので,それをシャットダウンし,起動してみる. 

# su - oracle
Sun Microsystems Inc.   SunOS 5.6       Generic August 1997
$ cd $ORACLE_HOME/bin
$ pwd
/oracle/app/oracle/product/8.1.5/bin
$ ORACLE_SID=o8i
$ export ORACLE_SID
$ env | grep SID
ORACLE_SID=o8i
$ ./svrmgrl

Oracle Server Manager Release 3.1.5.0.0 - Production

(c) Copyright 1997, Oracle Corporation.  All Rights Reserved.

Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production

SVRMGR>connect internal
Connected.
SVRMGR>shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SVRMGR> startup
ORACLE instance started.
Total System Global Area                         35077520 bytes
Fixed Size                                          64912 bytes
Variable Size                                    18055168 bytes
Database Buffers                                 16777216 bytes
Redo Buffers                                       180224 bytes
Database mounted.
Database opened.
SVRMGR> quit
Server Manager complete.
$

 Oracleが起動したら,TNS Listnerを起動する.

db1% lsnrctl

LSNRCTL for Solaris: Version 8.1.5.0.0 - Production on 10-JAN-01 15:21:47

(c) Copyright 1998 Oracle Corporation.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> start
Starting /oracle/app/oracle/product/8.1.5/bin/tnslsnr: please wait...

TNSLSNR for Solaris: Version 8.1.5.0.0 - Production
System parameter file is /oracle/app/oracle/product/8.1.5/network/admin/listener.ora
Log messages written to /oracle/app/oracle/product/8.1.5/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db1)(PORT=1521)))
Listening on: (DESCRIPTION=(PROTOCOL_STACK=(PRESENTATION=GIOP)(SESSION=RAW))(ADDRESS=
(PROTOCOL=TCP)(HOST=db1)(PORT=2481)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 8.1.5.0.0 - Production
Start Date                10-JAN-01 15:21:50
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /oracle/app/oracle/product/8.1.5/network/admin/listener.ora
Listener Log File         /oracle/app/oracle/product/8.1.5/network/log/listener.log
Services Summary...
  PLSExtProc            has 1 service handler(s)
  o8i           has 1 service handler(s)
The command completed successfully
LSNRCTL> quit
db1%



広告スペース
Google