6.设置内核参数(Kernel Parameter) Oracle 9i使用Solaris的共享内存、交换区等资源进行工作,因而内核参数的是 Oracle 9i能否正常安装和运行的关键,我的两次失误都是出现在此。Solaris的内核参数保 存在 /etc/system 文件内。用vi之类的文件编辑器打开 /etc/system 。按照Oracle 9i的要 set semsys:seminfo_semmni=100 set semsys:seminfo_semmns=1024 set semsys:seminfo_semmsl=256 set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 设置完毕后,保存,重新启动后设置生效。
键入命令,启动监听程序: lsnrctl 结果应当如下: LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 04-SEP-2002
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Welcome to LSNRCTL, type "help" for information. 输入start,启动: LSNRCTL> start Starting /u01/oracle/product/9.2.0/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 9.2.0.1.0 - Production System parameter file is /u01/oracle/product/9.2.0 Log messages written to /u01/oracle/product/9.2.0/ Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mi
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Solaris: Version 9.2.0.1.0 - Start Date 04-SEP-2002 21:50:48 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security OFF SNMP OFF Listener Parameter File /u01/oracle/product/9.2. Listener Log File /u01/oracle/product/9.2. Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mint-practice)(PORT=1521))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this Service "orclsol" has 1 instance(s). Instance "orclsol", status UNKNOWN, has 1 handler(s) for this The command completed successfully
启动Oracle Web Server cd $ORACLE_HOME/Apache/Apache/bin ./startJServ.sh /u01/oracle/product/9.2.0/Apache/Apache/bin/apachectl start: httpd 启动Oracle Web Server后默认的端口号是7777 在客户端浏览器地址栏输入http://xxx.xx.xxx.xxx:7777/ 如果浏览器出现图13的界面,则表示Oracle Web Server运行正常。