Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi: one of the application I am trying to install needs the shminfo_ and seminfo_ attributes set properly. I have my /etc/system as follows and rebooted the machine
================
forceload: sys/semsys
forceload: sys/shmsys
set shmsys:shminfo_shmmax=0x2000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=256
set shmsys:shminfo_shmseg=256
set semsys:seminfo_semmap=256
set semsys:seminfo_semmni=512
set semsys:seminfo_semmns=512
set semsys:seminfo_semmsl=32
================but when I run sysdef (shown below), the shmin and shmseg are not available and as a result the application is complaining about these two attributes
===============
bash-2.05$ sysdef |egrep "SHM|SEM"
512 semaphore identifiers (SEMMNI)
512 semaphores in system (SEMMNS)
30 undo structures in system (SEMMNU)
32 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)
33554432 max shared memory segment size (SHMMAX)
256 shared memory identifiers (SHMMNI)
==================Application error is as follows
===============
shmsys:shminfo_shmmin not found via sysdef, min value required is 1
shmsys:shminfo_shmseg not found via sysdef, min value required is 256
===============Anybody have an idea what else do I have to do?
Thanks
Ray

I am seeing here u r trying to define some hexadecimal value if yes please change all the kernal parameters defination valuse as given below Please make a note that replace all the x defined below with some numeric value it should be in decimal not in some other for like octal or hexadecimal or binary.
___________________________________________
set shmsys:shminfo_shmmax=184467440xxxxx
set shmsys:shminfo_shmmin=x
set shmsys:shminfo_shmmni=11xx
set shmsys:shminfo_shmseg=327xx
set msgsys:msginfo_msgmax=655xx
set msgsys:msginfo_msgmnb=655xx
set msgsys:msginfo_msgmni=51x
set msgsys:msginfo_msgtql=6557x
set semsys:seminfo_semmni=18x
set semsys:seminfo_semmsl=33x
set semsys:seminfo_semmns=6316x
set semsys:seminfo_semopm=33x
set semsys:seminfo_semume=33x
set semsys:seminfo_semmnu=18x
set semsys:seminfo_semvmx=3276x
set semsys:seminfo_semaem=3276x
____________________________________________
Please let me know is ur problem is rectified or not
Mukesh Kesharwani
Mukesh Kesharwani
CCNA, SCSA, CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security Consultantwww.keekar.com

Sorry I forgot to tell u that you can use your desired values in the above i sent u an example values for u.
Mukesh Kesharwani
CCNA, SCSA, CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security Consultantwww.keekar.com

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |