Re: Shared Memory ??
Posted in 1998
Amir Yiron wrote:
>
> Hello!
>
> I just installed the Informix OnLine Workgroup Server 7.20 in Sun
> Sparc 5 with solaris 2.5.1,
> but when I try to run some utilities (e.g. onspaces, oninit) it always
> fails because:
> "shared memory not initialized".
> Also in the setup.log I can see the same problem:
>
> Executing "onspaces -c -d -p
> /home/IFMXDATA/Milestone/Milestone_DATA.000 -o 0
> -s 11264"
> shared memory not initialized for INFORMIXSERVER 'Milestone'
>
> I have the following shm definition in my /etc/system file:
>
> set shmsys:shminfo_shmmax=268435456
Make this:
set shmsys:shminfo_shmmax=2147483648
Making it 2GB is harmless and will remove any limits on shared memory.
> set shmsys:shminfo_shmmin=100
> set shmsys:shminfo_shmmni=500
> set shmsys:shminfo_shmseg=100
Onspaces will not run if the engine is not online. You stated that
oninit also will not run. Post your ONCONFIG file and output of export
if you use ksh or bash or of env if you use Bourne shell and the
console messages you get when running oninit and we'll try to help.
Art S. Kagel