×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

我在sol9 x86下安装oracle8i,第一步设置内核参数总出错,而且改不回去了,奇怪!

本文发表在 rolia.net 枫下论坛sol9 x86下安装oracle8i前,首先要设置内核参数。
设置参数前用sysdef检查内核参数,输出结果中有如下内容
* IPC Semaphores
*
10 semaphore identifiers (SEMMNI)
60 semaphores in system (SEMMNS)
30 undo structures in system (SEMMNU)
25 max semaphores per id (SEMMSL)
10 max operations per semop call (SEMOPM)
10 max undo entries per process (SEMUME)
32767 semaphore maximum value (SEMVMX)
16384 adjust on exit max value (SEMAEM)
*
* IPC Shared Memory
*
8388608 max shared memory segment size (SHMMAX)
100 shared memory identifiers (SHMMNI)
表示一切正常。

根据网上大家的介绍,我先备份/etc/system到/etc/system.BAK中,然后在/etc/system最后追加以下几行
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
reboot后,用sysdef检查内核参数设置情况,发现报错:
IPC Semaphores module is not loaded
IPC Shared Memory module is not loaded

我逐渐把参数值改小,甚至取消这些行,仍然报此错误。
最奇怪的是,当我把备份的/etc/system.BAK拷贝回 /etc/system重启后,仍然报此错误。

那位对此有经验?这样的错误是否影响oracle安装?

<我的运行环境是laptop - win xp上用vmware安装的sol9 x86,内存只分配了160M给sol9.>更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / 我在sol9 x86下安装oracle8i,第一步设置内核参数总出错,而且改不回去了,奇怪!
    本文发表在 rolia.net 枫下论坛sol9 x86下安装oracle8i前,首先要设置内核参数。
    设置参数前用sysdef检查内核参数,输出结果中有如下内容
    * IPC Semaphores
    *
    10 semaphore identifiers (SEMMNI)
    60 semaphores in system (SEMMNS)
    30 undo structures in system (SEMMNU)
    25 max semaphores per id (SEMMSL)
    10 max operations per semop call (SEMOPM)
    10 max undo entries per process (SEMUME)
    32767 semaphore maximum value (SEMVMX)
    16384 adjust on exit max value (SEMAEM)
    *
    * IPC Shared Memory
    *
    8388608 max shared memory segment size (SHMMAX)
    100 shared memory identifiers (SHMMNI)
    表示一切正常。

    根据网上大家的介绍,我先备份/etc/system到/etc/system.BAK中,然后在/etc/system最后追加以下几行
    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
    reboot后,用sysdef检查内核参数设置情况,发现报错:
    IPC Semaphores module is not loaded
    IPC Shared Memory module is not loaded

    我逐渐把参数值改小,甚至取消这些行,仍然报此错误。
    最奇怪的是,当我把备份的/etc/system.BAK拷贝回 /etc/system重启后,仍然报此错误。

    那位对此有经验?这样的错误是否影响oracle安装?

    <我的运行环境是laptop - win xp上用vmware安装的sol9 x86,内存只分配了160M给sol9.>更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • up
    • try these
      put these 2 lines before you "set ..." commands in /etc/system
      then reboot.

      forceload: sys/shmsys
      forceload: sys/semsys
      ---------
      or
      cd /kernel
      modload sys/shmsys
      modload sys/semsys
      --------

      I think the first way is better and should work
      • The first way worked perfect. Thanks a lot! Cound u tell me why?
        Another question:
        Cause I have only restricted 160M memory for Solaris and Oracle,
        What is the proper way to configure the kernel params before I install oracle?
        • you don't need to tune the parameters for oracle, because you are runing a "single user, single instance" oracle system.
          • U mean I can install oracle directly? I am afraid the installation will fail, because I have only 160M mem.