QUOTE (yordan @ Aug 24 2006, 12:55 PM)

I have problems when installing Oracle on Solaris. The database files are correctly copied, but the instance does not startup, in the alert file I have a message saying that the the shm parameters are not correct.
How is it possible to know the current value of SHMMNI, SHMSEG, SHMMAX etc..., really reading them from the solaris kernel ?
I inserted some values in /etc/system, but how to know if these new values have been taken into account ?
The Oracle documentation says "ask the system administrator". Unfortunately, I am currently the solaris sytem administrator !
Yordan, at this time I'm pretty sure you solved your problem and you are now a good Solaris Sysadmin
As a guest said, the command 'sysdef' will tell you what you're looking for. Using it in conjuction with 'grep' it's very useful. For example: 'sysdef | grep SHMMNI' will tell you the current value for Shared Memory Identifiers.
Now, as you must know, these values are on the file '/etc/system' and it's VERY important before modifying this critical file to make a copy: 'cp -p /etc/system /etc/system.orig'. This way you can go back anytime if changes were disruptive and your system isn't booting properly. You can boot on Admin mode (init 1), and undo any change on '/etc/system' file.
Hope this helps somebody.
Comment/Reply (w/o sign-up)