Mailinglist Archive: opensuse-ja (156 mails)

< Previous Next >
Re: [suse-linux-ja] 共有メ モリの設定
  • From: takezou <takezou@xxxxxxxxx>
  • Date: Tue, 01 Jun 2004 12:56:10 +0900
  • Message-id: <40BBFE5A302.A07BTAKEZOU@xxxxxxxxx>
M. Takeyama です。
#DB使いではないのですが...

On Tue, 1 Jun 2004 08:37:21 +0900
koyama <mlac@xxxxxxxxxxxx> wrote:

> k7-koyama です

[...]
> Vineでは、/etc/sysctl.confに これらの情報を記述して、
> sysctl -p すれば問題なく動作していたのですが、SuSEでは
> unable to open preload file '/etc/sysctl.conf' とおこられてしまいました。
>
> 勝手に sysctlf.conf ファイルなるものを作成した場合、何か問題が出ると
> まずいと思い、質問させて頂きました。
私の方では、どのような影響範囲があるかまったくわかりませんが、
sysctlコマンド自身が SUSEの標準パッケージであれば、
"unable to open preload file '/etc/sysctl.conf'"
といっているということで、/etc/sysctl.conf に必要な
設定をしてあげれば良いのではないかと思うんですけど。

$ rpm -qf /sbin/sysctl
ps-2004.1.24-3


また、SuSE Linux 8.2で, Oracle 9iR2 を利用する場合には、
/etc/init.d/boot.local
に 
echo 1073741824 > /proc/sys/kernel/shmmax
というような記述をおこなうという情報もありました。
http://www.skalatan.de/misc/oracle92i_suse82_install.html


Installing Oracle 9i のインストール資料によると以下のようにも
書かれています。(内容の一部を抜粋しています)
#(RedHat Linux 7.1, 7.2, 7.3, 8.0, 9, AS 2.1, RHEL AS 3)
http://www.puschitz.com/InstallingOracle9i.shtml

I saw this error only when I installed Oracle 9i R2 (9.2.0).

This error message came up when the Oracle Database Configuration
Assistant was running. I executed the following command to temporarily
increase the maximum shared memory size:

su - root
# cat /proc/sys/kernel/shmmax
33554432
# echo `expr 1024 \* 1024 \* 1024` > /proc/sys/kernel/shmmax
# cat /proc/sys/kernel/shmmax
1073741824
#

Then click "Retry" for the Oracle Database Configuration Assistant.

It is recommended to increase the shmmax setting permanently for
Oracle9i. So if you want to increase the maximum shared memory size
permanently, add the following line to the /etc/sysctl.conf file:

kernel.shmmax=1073741824

For more information on setting shared memory parameters for Oracle,
see Setting Shared Memory.

http://www.puschitz.com/TuningLinuxForOracle.shtml#SettingSharedMemory


-----
M. Takeyama

< Previous Next >
List Navigation
Follow Ups