e股脑电脑教程网
  • 首 页
  • 操作系统
  • 应用软件
  • 下载工具
  • 影音视频
  • 办公软件
  • 媒体制作
  • 网站建设
  • 平面设计
  • 数据库
  • 程序开发
  • 视频教程
编辑推荐: | 文章搜索:
您现在的位置: e股脑 >> 数据库 >> Oracle教程 >> Install Oracle on Solaris 8/9/10 >> 教程正文
 
教程搜索
 
 
相关教程
  • 用Oracle 10g列值掩码技术隐藏敏感数据
  • ORACLE常用Script
  • OracleSupport全球解答的最hot的21个问
  • Oracle 中的OOP概念
  • 过程,函数,程序包
  • 异常和游标管理
  • 集合和成员函数
  • Oracle10gR2安裝
  • SQL 的高级应用
  • Install Oracle on Solaris 8/9/10
  • Install Oracle9 on RedHat
  • Start Console on Oracle9i VS Oracle
  • oracle自动imp脚本
  • Oracle9i连接sybase的透明网关的配置
  • 用裸设备来提高Oracle数据库的性能
  • 从Oracle迁移到SQL Server的陷阱
 
 

图文教程


  • Windows抢了谁的饭碗 非主流操作系统To

  • 地球还是火星 平常心看“非主流”

  • 综合运用Office 2007批量制作奖状

  • 没有系统盘如何才能修复受损系统?

  • 巧妙运用Excel中边界的附加功能!
 
 
赞 助 商
 
 
Install Oracle on Solaris 8/9/10
  • 来源:e股脑
  • 点击次数:
  • 更新时间:2007-8-9
our options for database which you want to create in "Database Configuration Assistant". If you receive an error like "not connected to Oracle" or "Oracle not available", have an aspirin tablet. :))) At this time, you need to take a look at the kernel parameters you entered in the "/etc/system" file. Increase the "shmmax - shmmin and shmmni" values. (Refer to "Sunsolve Web Site" and make a search by the words "Shared Memory". to see What these parameters are and make your changes according to this reference.) Restart your computer and try again creating a database .

When you completed database creation, close "Oracle Universal Installer " program and in a terminal window, to start Oracle LISTENER, type

lsnrctl start

If listener started, You will see a message similar this:

LSNRCTL for Intel SVR4 UNIX: Version 8.1.7.0.0 - Production on 23-JUN-2002 04:02:46Security OFFSNMP OFFServices Summary...PLSExtProc has 1 service handler(s)orcl has 1 service handler(s)The command completed successfully

If you see something like following, the listener already started:

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


If everything is OK, you may start the database by the command;

dbstart

This command's result must be similar this;

Oracle Server Manager Release 3.1.7.0.0 - Production…

Database "orcl" warm started.

Ok. Database creation is complete. Let's make our database to start automatically by the system, now.

POST-INSTALLATION

Before you start the database, you need to edit "oratab" file by using your preferred text editor. You will see the following row at the bottom of the page:

orcl:/opt/oracle/product/8.1.7:N

To start Oracle Database by using "dbstart", you must change this row as

orcl:/opt/oracle/product/8.1.7:Y

Click here for a sample "oratab" file.

When you made this change, you also have to edit the two files. These are "dbstart" and "dbshut" files in the "$ORACLE_HOME/bin" directory. In this tutorial, $ORACLE_HOME refers to "/opt/oracle/product/8.1.7". Open these files by an editor and find the row at the top of pages

ORATAB=/etc/oratab

and change it as follows;

ORATAB=/var/opt/oracle/oratab

3-) In your text editor, open a new blank page and type the following rows:

#!/sbin/sh

ORAHOME=/opt/oracle/product/8.1.7ORAOWNER=oracle

if [ ! -f $ORAHOME/bin/dbstart ] ;then echo "ERROR: Cannot start Oracle Database Server"fi

case "" in start) echo "Starting Oracle Database... \c" su - $ORAOWNER -c "$ORAHOME/bin/lsnrctl start" > /dev/null su - $ORAOWNER -c $ORAHOME/bin/dbstart > /dev/null echo "Done." ;;


stop) echo "Stopping Oracle Database... \c" su - $ORAOWNER -c $ORAHOME/bin/dbshut > /dev/null su - $ORAOWNER -c "$ORAHOME/bin/lsnrctl stop" > /dev/null echo "Done." ;;

*) echo "You must tell what you want me to do." echo "Usage : ./dbora [start | stop ]" echo " start - Start Oracle Database immediately" echo " stop - Stop Oracle Database immediately" ;;

esac

exit

Click here for a sample "dbora" file.

Save this file to "/etc/init.d" directory as "dbora". This file will be used to start up and shut down database automatically by the system. Now, type the following commands in a terminal window as root:

chmod 744 /etc/init.d/dbora chown root:sys /etc/init.d/dbora ln /etc/init.d/dbora /etc/rc0.d/K10dbora ln /etc/init.d/dbora /etc/rc1.d/K10dbora ln /etc/init.d/dbora /etc/rc2.d/S90dbora


上一页  1 2 3 
  • 上一篇教程: Install Oracle9 on RedHat
  • 下一篇教程: SQL 的高级应用
  •  

    关于本站 | 广告联系 | 版权声明 | 使用帮助

    Copyright © 2004-2008 www.egunao.com All rights reserved.