鸿 网 互 联 www.68idc.cn

当前位置 : 服务器租用 > 操作系统维护 > solaris > >

Oracle10gforSolaris10x86安装问题

来源:互联网 作者:佚名 时间:2015-06-03 08:37
vi /etc/system set shmsys:shminfo_shmmax= (给oracle最大内存设为 G) set shmsys:shminfo_shmmin= set shmsys:shminfo_shmmni= set shmsys:shminfo_shmseg= set semsys:seminfo_semmni= set semsys:seminfo_semmns= 创建用户和组 # groupadd dba #userad

   vi /etc/system

  set shmsys:shminfo_shmmax=(给oracle最大内存设为G)

  set shmsys:shminfo_shmmin=

  set shmsys:shminfo_shmmni=

  set shmsys:shminfo_shmseg=

  set semsys:seminfo_semmni=

  set semsys:seminfo_semmns=

   创建用户和组

  # groupadd dba

  #useradd–g dba–d /export/home/oracle–m oracle

  #passwd oracle (改oracle用户密码)

  设定oracle用户的环境参数

  #su– oracle

  $vi profile

  加入内容

  ORACLE_BASE=/export/home/oracle

  ORACLE_HOME=$ORACLE_BASE/product/

  ORACLE_SID=orag

  NLS_LANG=AMERICAN_AMERICAZHSGBK

  PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin

  LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:/usr/local/lib:/usr/li

  b

  DISPLAY=:

  TMPDIR=/var/tmp

  export ORALCE_BASE ORACLE_HOME ORACLE_SID NLS_LANG PATH

  LD_LIBRARY_PATH

  DISPLAY TMPDIR

  umask

  保存 使profile生效

  解压oracle g安装包从光盘上拷到本地硬盘上#cp R g_db_igz /export/home在解压 #gunzip g_db_igz

  #cpio ivmd <g_db_i

  如果这时执行/export/home/db/Disk/run*就会出现这样的错误提示

  Checking installer requirements Checking operating system version: must be or Actual

  Failed <<<<

  Exiting Oracle Universal Installer log for this session can be found at /tmp/OraInstall_AM/installActions_AMlog查看installActions_AMlog $ vi installActions_AMlog Using paramFile: /export/home/oracle/db/Disk/install/oraparamini

  Checking installer requirements Checking operating system version: must be or Actual

  Failed <<<<

  Exiting Oracle Universal Installer log for this session can be found at /tmp/Or aInstall_AM/installActions_AMlog想要解决这个问题就要在/export/home/db/Disk/install里修改oraparamini oraparamvar

  修改如下

  vi oraparamini

  #You can customise error message shown for failure through CERTIFIED_VERSION_FAI

  LURE_MESSAGE

  Solaris= (就是添加

  Linux=redhatAS #HPUX=B Decunix=VAV AIX=

  vi oraparamvar

  #You can customise error message shown for failure through CERTIFIED_VERSION_FAI

  LURE_MESSAGE

  Solaris= (就是添加

  Windows= Linux=redhatAS HPUX=B Decunix=VAV AIX=保存在执行/runInstaller 就OK了

  后续工作就不一一说明了

网友评论
<