Hi all,
In response to the original posting:
>>I have been having trouble increasing the "shm-max" parameter for
>>the OS kernal.
>>
>>I need to increase this value to get the SYBASE database server working.
>>
>>I have added in "/etc/sysconfigtab" the following lines:
>>
>>#----------------------------------------------------------------
>>ipc:
>> shm-max = 2147483648
>>#----------------------------------------------------------------
>>
>>When the kernal reboots it reads this file and gives the response -
>>
>> shared mem parameter must be >= 0
>>
>>SYBASE support know of this problem where the shared mem parameter seems to
>>be taken as negative. They suggest to build the kernel manually and not
>>use 'doconfig'. Though the problem persists.
>>
>>Running the follwoing command 'sysconfig -q ipc' still shows the shm-max value
>>as the default.
>>
>>Has anyone had this problem or know of it, help in this matter will be
>>greatly appreciated as we need the database up like last week.
>>
Thanks to follwing who responded so quickly:
berc_at_pa.dec.com <lance berc>
Knut.Hellebo_at_nho.hydro.com
khan_at_informatik.fh-hamburg.de <Ronald Ali-Khan>
"Craig I. Hagan" <hagan_at_oec.com>
Bob Sloane <SLOANE_at_KUHUB.CC.UKANS.EDU>
Most suggenstions were to place the following line into the /sys/conf/HOSTNAME
file:
shmmax 2147483648
and run 'doconfig -c HOSTNAME'.
This seems to work and the SYBASE database server runs but there is still a
problem in that issuing the command "sysconfig -q ipc" shows the follwing
shm-max = -2147483648
which I don't think should be a negative number.
Bob Sloane gave the following response:
>>Hmmm. Just guessing, but that is one larger than can be represented in
>>32 bits. Try 2147483647 and see if it likes that better.
I then tried placing the following in '/etc/sysconfigtab':
ipc:
shm-max = 2147483647
Rebuilding the kernel without the shmmax parameter in /sys/conf/HOSTNAME file
and rebooting the system, the sysconfigtab file was read properly. The
'sysconfig -q ipc' showed :
shm-max = 2147483647
which looks right and the SYBASE server boots up. By this I assume the
shm-max parameter is read as a 32bit signed number by the kernal at boot time.
Thanks again to all who responded.
Joe
+-----------------------------------------------------------------------------+
| |
| Joe Spanicek |
| /\/\ Research Officer |
| / / /\ Process Engineering R & D |
| / / / \ |
| / / / /\ \ BHP Research - Port Kembla Labs |
| \ \/ / / / P.O Box 77, Port Kembla, NSW Australia 2505 |
| \ / / / Fax: +61 (42) 756120 (reception at BHP Research) |
| \/\/\/ Tel: +61 (42) 756148 (reception at BHP Research) |
| Direct Fax: +61 (42) 756524 (Current location) |
| Direct Tel: +61 (42) 756111 Ext: 4502 (Current location) |
| Email: joe_at_resptk.bhp.com.au |
| |
+-----------------------------------------------------------------------------+
Received on Tue Mar 07 1995 - 19:04:09 NZDT