Nov 22, 2009

Shmmni, Shmseg, Shmmax : How To Know The Current Value On Solaris ? - I would like to know the current value, how to read the value currentl

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Solaris

Shmmni, Shmseg, Shmmax : How To Know The Current Value On Solaris ? - I would like to know the current value, how to read the value currentl

yordan
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 !

Comment/Reply (w/o sign-up)

xboxrulz
Unfortunately, barely anyone here at Astahost use Solaris. The best bet is to go to the opensolaris.org website.

xboxrulz

Comment/Reply (w/o sign-up)

yordan
QUOTE(xboxrulz @ Jun 7 2007, 12:42 AM) *
Unfortunately, barely anyone here at Astahost use Solaris. The best bet is to go to the opensolaris.org website.

xboxrulz


Thanks, I will try this way, or I will simply forget about it.

Comment/Reply (w/o sign-up)

FeedBacker
Replying to yordan

The comand you must use is sysdef. The sysdef command shows the system definition, that includes the semaphores defined in the system.

Best regards

-reply by Asier Larrabide

Comment/Reply (w/o sign-up)

bmfloyd
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 smile.gif

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)

yordan
Thanks a lot.
Next time I go back to solaris (probably next month) I will remember "sysdef |grep -i shmseg".
Of course, my problem was very urgent, and I worked with probably false values (Oracle documentation says "change this value if it's smaller than xxx", and at this moment I had no idea if the value was smaller than yyy).

Comment/Reply (w/o sign-up)

bmfloyd
QUOTE (yordan @ Jan 10 2009, 10:32 AM) *
Thanks a lot.
Next time I go back to solaris (probably next month) I will remember "sysdef |grep -i shmseg".
Of course, my problem was very urgent, and I worked with probably false values (Oracle documentation says "change this value if it's smaller than xxx", and at this moment I had no idea if the value was smaller than yyy).


Let me know if you have a problem. Right now got a machine (sparc) working with Oracle 9.2 with next parameters:
set shmsys:shminfo_shmmax=2147483648
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10

And another one with 10.2:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=1024
set shmsys:shminfo_shmseg=1024

As you can see, the second machine defers a lot from the first one, but both are working properly while met requirements of the Oracle RDBMS version.

Good luck.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : shmmni, shmseg, shmmax, current, solaris, current, read, solaris, kernel

  1. How Do I Install Solaris?
    (8)
  2. Why Solaris Is Different To Other Unix?
    a general description of some diferences of Solaris 10 (10)
    Why SOLARIS is different to other UNIX? Well, Solaris has some important differences with other
    Unix. For example the FileSystem. They use ZFile which is file system created by Sun Microsystems an
    it is a 128bits file system capable for managing a unlimited capacity (2^128 bytes! it's a very
    huge number!) which could be a single Hard Disk or multiple hard disks or a cluster of computer.
    Another difference is the Console managment which makes the creation of users, roles and permission
    a very fast and easy task by using some wizards and a graphical interface. It al....
  3. Basic Setup For Apache In Solaris 10
    An step by step guide to configure an Apache web server in Solaris 10 (2)
    HOW TO SETUP APACHE SERVER IN SOLARIS 10 Apache Web Server is already included and installed in
    Solaris 10 (Update 08/07). Normally it is already running as a service, but it requires some
    configuration to make it run as you desire. I will use the '#' to indicate the commands
    you should execute as root, and '%' to indicate it is a command to run as user. 1. Stop
    the web server # svcadm disable svc:/network/http:apache2 2. Copy the file
    /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf. The file 'httpd.conf-example'
    contains an e....
  4. Named In Solaris
    Named (1)
    Hi all I have configured Bind in Solaris Enterprise ..., Now I can dig but can't ping the
    server ..I have make all necessary entries in /etc/resolv.conf..but still can dig nameserver but
    can't ping why??? I m new to solaris but have configured in Linux lot of times.. help me plzz
    THX ....
  5. Whats A Good Graphics Editor For Solaris 10 ?
    (8)
    I've just download Solaris from Sun Download Center. I also installed it. But I need to do some
    artwork with photoshop. I don't have any graphic edior for this Operating System. I don't
    know what to do next, Does anyone know anyway to run a Win App on Solaris or a good Graphic Editor
    for Solaris?....
  6. Port Status
    Solaris 10 (2)
    Hi ! I wonder if there is any special command that shows which programs are listening to which
    network ports ? I have tried: # ps -ef Then I get something like this: CODE UID   PID  PPID
      C    STIME TTY         TIME CMD    root     0     0   0 07:51:10 ?           0:09 sched    root
        1     0   0 07:51:10 ?           0:00 /sbin/init    root     2     0   0 07:51:10 ?          
    0:00 pageout    root     3     0   0 07:51:10 ?           0:01 fsflush webservd   262   247   0
    07:51:34 ?           0:00 /usr/apache2/bin/httpd -k start    root     7     1   0 07....
  7. DNS Server On Solaris 10
    How to setup DNS server on solaris 10 (2)
    Hi ! I wonder if anybody knows how to set up a DNS server on Solaris 10. I know that the service
    should be started with: # svadm enable network/dns/server But when I write: # svcs -l
    /network/dns/server I get: fmri svc:/network/dns/server:default enabled false state
    disabled next_state none state_time Wed Sep 28 11:53:52 2005 restarter
    svc:/system/svc/restarter:default dependency require_all/none file://localhost/etc/named.conf
    (absent) dependency require_all/none svc:/system/filesystem/minimal (online) dependency
    require_any/error ....
  8. Mounting Ext2 Filesystem In Solaris 10
    (1)
    Hello everyone, I decided to make a move from Linux, to Solaris, for the time being, and was
    wondering how I would go about mounting an ext2 filesystem under Solaris. I used it for all my
    backup stuff, which I moved to another hard disk, and now that I'm on Solaris, I need it back.....
  9. Someone from the Sun?
    Solaris OS family (18)
    I've use Solaris 9 on X86 platform and i think that nobody does a best work than Sun
    Microsystem: Stabe, Fast, Secure the only problem was my Net Card and the hardware in general,
    it's very difficult to configure it /sad.gif" style="vertical-align:middle" emoid=":("
    border="0" alt="sad.gif" />....

    1. Looking for shmmni, shmseg, shmmax, current, solaris, current, read, solaris, kernel

See Also,

*SIMILAR VIDEOS*
Searching Video's for shmmni, shmseg, shmmax, current, solaris, current, read, solaris, kernel
advertisement



Shmmni, Shmseg, Shmmax : How To Know The Current Value On Solaris ? - I would like to know the current value, how to read the value currentl

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com