set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmni=100 set semsys:seminfo_semmsl=256 set semsys:seminfo_semmns=1024 set semsys:seminfo_semopm=100 set semsys:seminfo_semvmx=32767
注: SHMMAX maximum size of a shared memory segment (共享内存段的最大字节数) SHMMIN minimum size of shared memory segment (共享内存段的最小尺寸) SHMMNI maximum number of shared memory identifiers in the system (系统中共享内存标识符的最大数目) SHMSEG maximum number of shared memory segments a user process can attach (每个用户进程可分配的最大共享内存段数目) SEMMNI maximum number of semaphore identifiers in the system (系统中信号灯标识符的最大数目) SEMMSL maximum number of semaphores in a set (每个(信号灯)集合中的信号灯的最大数目) SEMMNS maximum number of semaphores in the system (系统中信号灯的最大数目) SEMOPM maximum number of operations per semop call (每个semop调用的信号灯的最大数目) SEMVMX semaphore maximum value (信号灯最大值)
ADMIN_HOME=/opt/oracle/admin DISPLAY=localhost:0.0 LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/opt/oracle/product/8.1.7/lib: LOCAL_HOME=/usr/local MSGVERB=text:action NOMSGLABEL=1 NOMSGSEVERITY=1 ORACLE_BASE=/opt/oracle ORACLE_HOME=/opt/oracle/product/8.1.7 NLS_LANG=AMERICAN_AMERICA.ZHS16CGB231280 # for Chinese #NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data ORACLE_SID=orcl # You may replace "orcl" with your own SID Name you wish to use
LSNRCTL for Intel SVR4 UNIX: Version 8.1.7.0.0 - Production on 23-JUN-2002 04:02:46 (c) Copyright 1998 Oracle Corporation. All rights reserved. Starting /opt/oracle/product/8.1.7/bin/tnslsnr: please wait... TNSLSNR for Intel SVR4 UNIX: Version 8.1.7.0.0 - Production System parameter file is /opt/oracle/product/8.1.7/network/admin/listener.ora Log messages written to /opt/oracle/product/8.1.7/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gokmen.selcuk.edu.tr)(PORT=1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gokmen.selcuk.edu.tr)(PORT=2481)) (PROTOCOL_STACK=(PRESENTATION=GIOP) (SESSION=RAW))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Intel SVR4 UNIX: Version 8.1.7.0.0 - Production Start Date 23-JUN-2002 04:02:47 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security OFF SNMP OFF Listener Parameter File /opt/oracle/product/8.1.7/network/admin/listener.ora Listener Log File /opt/oracle/product/8.1.7/network/log/listener.log Services Summary... PLSExtProc has 1 service handler(s) orcl has 1 service handler(s) The command completed successfully
如果看到的是如下类似信息,说明监听已经启动:
LSNRCTL for Intel SVR4 UNIX: Version 8.1.7.0.0 - Production on 24-JUN-2002 05:02:46 (c) Copyright 1998 Oracle Corporation. All rights reserved. TNS-01106: Listener using listener name LISTENER has already been started
如果监听启动成功,就可以用 dbstart 命令来启动数据库了
$ dbstart
启动成功后将会看到如下类似信息:
Oracle Server Manager Release 3.1.7.0.0 - Production Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved. Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option JServer Release 8.1.7.0.0 - Production SVRMGR>; Connected. SVRMGR>; ORACLE instance started. Total System Global Area 247464096 bytes Fixed Size 73888 bytes Variable Size 17596416 bytes Database Buffers 229621760 bytes Redo Buffers 172032 bytes Database mounted. Database opened. SVRMGR>; Server Manager complete. Database "orcl" warm started.
$ cd /export/home/oracle/ora817/Disk1 $ runInstaller
(1) On the Welcome screen, click the Next button. This will display the File Locations screen. (2) Click the Browse button for the Source... entry field and navigate to the stage directory where you unpacked the Patch Set tar file. (3) Select the products.jar file. Click the Next button. ......