Kernal parameter SEMMSL & SEMMNS
Hi
We have 6 instances in a HP-UX box (B.11.11) , when i'm starting instances one by one, the last instance got failed to open, error in the alert reported is pasted below.
ksedmp: internal or fatal error
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 28
ORA-27301: OS failure message: No space left on device
ORA-27302: failure occurred at: sskgpsemsper
After going thru the serveral investigations i found the SEMMNS or SEMMSL kernal parameter value needs to be changed, Can anyone please come up with good suggestions to change the kernal parameter and its restriction or any associated kernal parameters also changed or is any memory or the hardware needs to be checked on this.
Can any good experts help me would be appreciated.
Thanks
Venkat
I don't think it is going to be as easy as you hope.
The various parameters have interoperative affects on each other.
Another words, when you change one parameter, it affects another.
Anyway, on one of our HP-UX 11.11 boxes, with 12 Gb RAM and running 13 databases (v.9 and v.10), these are the memory settings in my system file.
semmni 5120
semmns 10240
semmnu 4092
shmmax 1573741824
shmmni 512
There are some awesome pages on the HP site dealing with kernel parameters. You can drill down about every kernel parameter and read everything you ever wanted to know about them all. I used to have it bookmarked, but unfortunately I've lost the bookmark.
You can go to the following HP web page, and this might be a good start to search for more information about HP-UX kernel parameters (or just google it).
http://h21007.www2.hp.com/portal/site/dspp/menuitem.12cb3f09088446c7a1bc62108973a801
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=c1080055abe021100055abe02110275d6e10RCRD
Hope this helps...
ji li
Similar Messages
-
hi,
i want to know why do we need to set kernal parameter before installing and creating database? can anyone explain this clearly..........
WIth Regards
Boohi,
Thank you yingkuan.where to set this Sga_max_size? do we need to set this in initialization parameter? how to view wat is the maximum sga_max_size?
is it possible to change the sga_max_size after database is created?
With Regards
Boo -
Kernal Parameter values for Forms 11g
Can any one provide the document for kernal parameters values to be set for installation of forms 11g in Oralce Enterprise Linux 5 or Redhat Linux 5.
Thanks in Advance,
AbulHi;
please read:
Re: Estimating SGA Size
SGA and PGA size
SGA and PGA size
Regard
Helios -
Size of Kernel parameter and SGA
Hi,
Can you please suggest me the ideal size of kernel parameters and SGA?
Currently, I have installed 2GB RAM on my machine using Oracle 10.1 database version on Fedora Linux platform. The parameters are currently set as below:
kernel.shmall = 2097152 (2MB)
kernel.shmmax = 2147483648 (2048 MB)
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
I will appreciate if you can give me an idea about the proper size of SGA including SHARED_POOL_SIZE,LARGE_POOL_SIZE AND JAVA_POOL_SIZE.
Thanks in advance.
JayeshOracle's install docs indicate practical minimums. The specific section for Linux x86 is at
http://download-west.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref264
The proper size of the pools is always dependent on the workload. It takes experience, understanding of the application and monitoring to size these properly - the realm of the DBA.
However, by setting the SGA_TARGET to some value (less than equal to SGA_MAX_SIZE) and setting these three parameters to '0', the system will use an effective compromise that dynamically changes based on workload.
My suggestion is that the SGA_TARGET and the PGA_AGGREGATE_TARGET be set to ensure the system does not start swapping - when considering all the other normal memory requirements on the system. -
Kernel Parameter Settings for OracleAS Metadata Repository
OS: SuSE Linux Enterprise Server 9
Ref:
http://download-west.oracle.com/docs/cd/B15790_07/install.1012/install/reqs.htm#BCFGGCGE
2 (a) Using any text editor, create or edit the /etc/sysctl.conf file and add or edit lines similar to the following:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 10000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
I do not have sysctl.conf file under /etc.
I have changed some required values from
/proc/sys/kernel/msgmnb -- enter 65535, it was lower value b4
/proc/sys/kernel/msgmni -- enter 2878, it was lower value b4
/proc/sys/net/ipv4/ip_local_port_range --- enter 10000 65000 ,I added only 10000, it was 1000 b4.
Is it ok to change like that?
where is the sysctl.conf file?
Regards,
D2 (a) Using any text editor, create or edit the /etc/sysctl.conf
-
Hello!
I have a oracle 9i instaled in Debian Linux.
When I try to create a new database (general purpose), with dbca i get the following error:
failure occurred at: skgpwreset1
ORA-27303: additional information: invalid shared ctx
ORA-27146: post/wait initialization failed
ORA-27300: OS system dependent operation:semget failed with status: 28
ORA-27301: OS failure message: No space left on device
ORA-27302: failure occurred at: sskgpsemsper
What could that be?
Thanks in advance..As Joel P�rez sugested.. check for kernal parameter.. u may to set respective kernal parameter properly..
Ex:
Some of the Kernal parameters are
Your parameters seems exceeding the minimum requirements Which are SEMMNI 100 SEMMNS 256 SEMMNS
parameter should be set to the Sum of the PROCESSES parameter for each Oracle database
(SEMMSL SHMMAX SHMMIN SHMMNI SHMSEG )
--Suresh -
Failed preliminary checks for Oracle Real Application Cluster 12C.
Hi, all. Please, help to investigate and solve. Thanks.
[grid@orac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n orac1,orac2 -fixup -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "orac1"
Destination Node Reachable?
orac1 yes
orac2 yes
Result: Node reachability check passed from node "orac1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Status
orac2 passed
orac1 passed
Result: User equivalence check passed for user "grid"
Checking node connectivity...
Checking hosts config file...
Node Name Status
orac1 passed
orac2 passed
Verification of the hosts config file successful
Interface information for node "orac1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 10.154.137.101 10.154.137.0 0.0.0.0 10.0.4.2 08:00:27:28:D1:1F 1500
eth1 10.154.138.101 10.154.138.0 0.0.0.0 10.0.4.2 08:00:27:51:E8:B9 1500
eth2 10.0.4.15 10.0.4.0 0.0.0.0 10.0.4.2 08:00:27:5B:D7:29 1500
Interface information for node "orac2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 10.154.137.102 10.154.137.0 0.0.0.0 10.0.4.2 08:00:27:7F:C8:70 1500
eth1 10.154.138.102 10.154.138.0 0.0.0.0 10.0.4.2 08:00:27:9D:27:D8 1500
eth2 10.0.4.15 10.0.4.0 0.0.0.0 10.0.4.2 08:00:27:6E:92:43 1500
Check: Node connectivity of subnet "10.154.137.0"
Source Destination Connected?
orac1[10.154.137.101] orac2[10.154.137.102] yes
Result: Node connectivity passed for subnet "10.154.137.0" with node(s) orac1,orac2
Check: TCP connectivity of subnet "10.154.137.0"
Source Destination Connected?
orac1:10.154.137.101 orac2:10.154.137.102 failed
ERROR:
PRVF-7617 : Node connectivity between "orac1 : 10.154.137.101" and "orac2 : 10.154.137.102" failed
Result: TCP connectivity check failed for subnet "10.154.137.0"
Check: Node connectivity of subnet "10.154.138.0"
Source Destination Connected?
orac1[10.154.138.101] orac2[10.154.138.102] yes
Result: Node connectivity passed for subnet "10.154.138.0" with node(s) orac1,orac2
Check: TCP connectivity of subnet "10.154.138.0"
Source Destination Connected?
orac1:10.154.138.101 orac2:10.154.138.102 failed
ERROR:
PRVF-7617 : Node connectivity between "orac1 : 10.154.138.101" and "orac2 : 10.154.138.102" failed
Result: TCP connectivity check failed for subnet "10.154.138.0"
Check: Node connectivity of subnet "10.0.4.0"
Source Destination Connected?
orac1[10.0.4.15] orac2[10.0.4.15] yes
Result: Node connectivity passed for subnet "10.0.4.0" with node(s) orac1,orac2
Check: TCP connectivity of subnet "10.0.4.0"
Source Destination Connected?
orac1:10.0.4.15 orac2:10.0.4.15 failed
ERROR:
PRVF-7617 : Node connectivity between "orac1 : 10.0.4.15" and "orac2 : 10.0.4.15" failed
Result: TCP connectivity check failed for subnet "10.0.4.0"
Interfaces found on subnet "10.0.4.0" that are likely candidates for VIP are:
orac1 eth2:10.0.4.15
orac2 eth2:10.0.4.15
WARNING:
Could not find a suitable set of interfaces for the private interconnect
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "10.154.137.0".
Subnet mask consistency check passed for subnet "10.154.138.0".
Subnet mask consistency check passed for subnet "10.0.4.0".
Subnet mask consistency check passed.
ERROR:
PRVG-1172 : The IP address "10.0.4.15" is on multiple interfaces "eth2,eth2" on nodes "orac2,orac1"
Result: Node connectivity check failed
Checking multicast communication...
Checking subnet "10.154.137.0" for multicast communication with multicast group "224.0.0.251"...
PRVG-11138 : Interface "10.154.137.101" on node "orac1" is not able to communicate with interface "10.154.137.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.137.101" on node "orac1" is not able to communicate with interface "10.154.137.102" on node "orac2" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.137.102" on node "orac2" is not able to communicate with interface "10.154.137.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.137.102" on node "orac2" is not able to communicate with interface "10.154.137.102" on node "orac2" over multicast group "224.0.0.251"
Checking subnet "10.154.138.0" for multicast communication with multicast group "224.0.0.251"...
PRVG-11138 : Interface "10.154.138.101" on node "orac1" is not able to communicate with interface "10.154.138.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.138.101" on node "orac1" is not able to communicate with interface "10.154.138.102" on node "orac2" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.138.102" on node "orac2" is not able to communicate with interface "10.154.138.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.138.102" on node "orac2" is not able to communicate with interface "10.154.138.102" on node "orac2" over multicast group "224.0.0.251"
Checking subnet "10.0.4.0" for multicast communication with multicast group "224.0.0.251"...
PRVG-11138 : Interface "10.0.4.15" on node "orac1" is not able to communicate with interface "10.0.4.15" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.0.4.15" on node "orac1" is not able to communicate with interface "10.0.4.15" on node "orac2" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.0.4.15" on node "orac2" is not able to communicate with interface "10.0.4.15" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.0.4.15" on node "orac2" is not able to communicate with interface "10.0.4.15" on node "orac2" over multicast group "224.0.0.251"
Checking ASMLib configuration.
Node Name Status
orac1 passed
orac2 passed
Result: Check for ASMLib configuration passed.
Check: Total memory
Node Name Available Required Status
orac2 5.714GB (5991520.0KB) 4GB (4194304.0KB) passed
orac1 5.714GB (5991520.0KB) 4GB (4194304.0KB) passed
Result: Total memory check passed
Check: Available memory
Node Name Available Required Status
orac2 5.2293GB (5483324.0KB) 50MB (51200.0KB) passed
orac1 5.1456GB (5395600.0KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Status
orac2 6.125GB (6422520.0KB) 5.714GB (5991520.0KB) passed
orac1 6.125GB (6422520.0KB) 5.714GB (5991520.0KB) passed
Result: Swap space check passed
Check: Free disk space for "orac2:/usr,orac2:/var,orac2:/etc,orac2:/sbin,orac2:/tmp"
Path Node Name Mount point Available Required Status
/usr orac2 / 37.8398GB 1.0635GB passed
/var orac2 / 37.8398GB 1.0635GB passed
/etc orac2 / 37.8398GB 1.0635GB passed
/sbin orac2 / 37.8398GB 1.0635GB passed
/tmp orac2 / 37.8398GB 1.0635GB passed
Result: Free disk space check passed for "orac2:/usr,orac2:/var,orac2:/etc,orac2:/sbin,orac2:/tmp"
Check: Free disk space for "orac1:/usr,orac1:/var,orac1:/etc,orac1:/sbin,orac1:/tmp"
Path Node Name Mount point Available Required Status
/usr orac1 / 32.4382GB 1.0635GB passed
/var orac1 / 32.4382GB 1.0635GB passed
/etc orac1 / 32.4382GB 1.0635GB passed
/sbin orac1 / 32.4382GB 1.0635GB passed
/tmp orac1 / 32.4382GB 1.0635GB passed
Result: Free disk space check passed for "orac1:/usr,orac1:/var,orac1:/etc,orac1:/sbin,orac1:/tmp"
Check: User existence for "grid"
Node Name Status Comment
orac2 passed exists(1100)
orac1 passed exists(1100)
Checking for multiple users with UID value 1100
Result: Check for multiple users with UID value 1100 passed
Result: User existence check passed for "grid"
Check: Group existence for "oinstall"
Node Name Status Comment
orac2 passed exists
orac1 passed exists
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
orac2 passed exists
orac1 passed exists
Result: Group existence check passed for "dba"
Check: Membership of user "grid" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Status
orac2 yes yes yes yes passed
orac1 yes yes yes yes passed
Result: Membership check for user "grid" in group "oinstall" [as Primary] passed
Check: Membership of user "grid" in group "dba"
Node Name User Exists Group Exists User in Group Status
orac2 yes yes yes passed
orac1 yes yes yes passed
Result: Membership check for user "grid" in group "dba" passed
Check: Run level
Node Name run level Required Status
orac2 5 3,5 passed
orac1 5 3,5 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Status
orac2 hard 4096 65536 failed
orac1 hard 4096 65536 failed
Result: Hard limits check failed for "maximum open file descriptors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Status
orac2 soft 1024 1024 passed
orac1 soft 4096 1024 passed
Result: Soft limits check passed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Status
orac2 hard 46654 16384 passed
orac1 hard 46654 16384 passed
Result: Hard limits check passed for "maximum user processes"
Check: Soft limits for "maximum user processes"
Node Name Type Available Required Status
orac2 soft 1024 2047 failed
orac1 soft 1024 2047 failed
Result: Soft limits check failed for "maximum user processes"
Check: System architecture
Node Name Available Required Status
orac2 x86_64 x86_64 passed
orac1 x86_64 x86_64 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Status
orac2 2.6.32-279.el6.x86_64 2.6.32 passed
orac1 2.6.32-279.el6.x86_64 2.6.32 passed
Result: Kernel version check passed
Check: Kernel parameter for "semmsl"
Node Name Current Configured Required Status Comment
orac1 250 250 250 passed
orac2 250 250 250 passed
Result: Kernel parameter check passed for "semmsl"
Check: Kernel parameter for "semmns"
Node Name Current Configured Required Status Comment
orac1 32000 32000 32000 passed
orac2 32000 32000 32000 passed
Result: Kernel parameter check passed for "semmns"
Check: Kernel parameter for "semopm"
Node Name Current Configured Required Status Comment
orac1 100 100 100 passed
orac2 100 100 100 passed
Result: Kernel parameter check passed for "semopm"
Check: Kernel parameter for "semmni"
Node Name Current Configured Required Status Comment
orac1 128 128 128 passed
orac2 128 128 128 passed
Result: Kernel parameter check passed for "semmni"
Check: Kernel parameter for "shmmax"
Node Name Current Configured Required Status Comment
orac1 4398046511104 4398046511104 3067658240 passed
orac2 4398046511104 4398046511104 3067658240 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Current Configured Required Status Comment
orac1 4096 4096 4096 passed
orac2 4096 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmall"
Node Name Current Configured Required Status Comment
orac1 4294967296 4294967296 599152 passed
orac2 4294967296 4294967296 599152 passed
Result: Kernel parameter check passed for "shmall"
Check: Kernel parameter for "file-max"
Node Name Current Configured Required Status Comment
orac1 6815744 6815744 6815744 passed
orac2 6815744 6815744 6815744 passed
Result: Kernel parameter check passed for "file-max"
Check: Kernel parameter for "ip_local_port_range"
Node Name Current Configured Required Status Comment
orac1 between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed
orac2 between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed
Result: Kernel parameter check passed for "ip_local_port_range"
Check: Kernel parameter for "rmem_default"
Node Name Current Configured Required Status Comment
orac1 262144 262144 262144 passed
orac2 262144 262144 262144 passed
Result: Kernel parameter check passed for "rmem_default"
Check: Kernel parameter for "rmem_max"
Node Name Current Configured Required Status Comment
orac1 4194304 4194304 4194304 passed
orac2 4194304 4194304 4194304 passed
Result: Kernel parameter check passed for "rmem_max"
Check: Kernel parameter for "wmem_default"
Node Name Current Configured Required Status Comment
orac1 262144 262144 262144 passed
orac2 262144 262144 262144 passed
Result: Kernel parameter check passed for "wmem_default"
Check: Kernel parameter for "wmem_max"
Node Name Current Configured Required Status Comment
orac1 1048576 1048576 1048576 passed
orac2 1048576 1048576 1048576 passed
Result: Kernel parameter check passed for "wmem_max"
Check: Kernel parameter for "aio-max-nr"
Node Name Current Configured Required Status Comment
orac1 1048576 1048576 1048576 passed
orac2 1048576 1048576 1048576 passed
Result: Kernel parameter check passed for "aio-max-nr"
Check: Package existence for "binutils"
Node Name Available Required Status
orac2 binutils-2.20.51.0.2-5.34.el6 binutils-2.20.51.0.2 passed
orac1 binutils-2.20.51.0.2-5.34.el6 binutils-2.20.51.0.2 passed
Result: Package existence check passed for "binutils"
Check: Package existence for "compat-libcap1"
Node Name Available Required Status
orac2 compat-libcap1-1.10-1 compat-libcap1-1.10 passed
orac1 compat-libcap1-1.10-1 compat-libcap1-1.10 passed
Result: Package existence check passed for "compat-libcap1"
Check: Package existence for "compat-libstdc++-33(x86_64)"
Node Name Available Required Status
orac2 compat-libstdc++-33(x86_64)-3.2.3-69.el6 compat-libstdc++-33(x86_64)-3.2.3 passed
orac1 compat-libstdc++-33(x86_64)-3.2.3-69.el6 compat-libstdc++-33(x86_64)-3.2.3 passed
Result: Package existence check passed for "compat-libstdc++-33(x86_64)"
Check: Package existence for "libgcc(x86_64)"
Node Name Available Required Status
orac2 libgcc(x86_64)-4.4.7-11.el6 libgcc(x86_64)-4.4.4 passed
orac1 libgcc(x86_64)-4.4.7-11.el6 libgcc(x86_64)-4.4.4 passed
Result: Package existence check passed for "libgcc(x86_64)"
Check: Package existence for "libstdc++(x86_64)"
Node Name Available Required Status
orac2 libstdc++(x86_64)-4.4.7-11.el6 libstdc++(x86_64)-4.4.4 passed
orac1 libstdc++(x86_64)-4.4.7-11.el6 libstdc++(x86_64)-4.4.4 passed
Result: Package existence check passed for "libstdc++(x86_64)"
Check: Package existence for "libstdc++-devel(x86_64)"
Node Name Available Required Status
orac2 libstdc++-devel(x86_64)-4.4.7-11.el6 libstdc++-devel(x86_64)-4.4.4 passed
orac1 libstdc++-devel(x86_64)-4.4.7-11.el6 libstdc++-devel(x86_64)-4.4.4 passed
Result: Package existence check passed for "libstdc++-devel(x86_64)"
Check: Package existence for "sysstat"
Node Name Available Required Status
orac2 sysstat-9.0.4-20.el6 sysstat-9.0.4 passed
orac1 sysstat-9.0.4-20.el6 sysstat-9.0.4 passed
Result: Package existence check passed for "sysstat"
Check: Package existence for "gcc"
Node Name Available Required Status
orac2 gcc-4.4.7-11.el6 gcc-4.4.4 passed
orac1 gcc-4.4.7-11.el6 gcc-4.4.4 passed
Result: Package existence check passed for "gcc"
Check: Package existence for "gcc-c++"
Node Name Available Required Status
orac2 gcc-c++-4.4.7-11.el6 gcc-c++-4.4.4 passed
orac1 gcc-c++-4.4.7-11.el6 gcc-c++-4.4.4 passed
Result: Package existence check passed for "gcc-c++"
Check: Package existence for "ksh"
Node Name Available Required Status
orac2 ksh-20120801-21.el6.1 ksh-... passed
orac1 ksh-20120801-21.el6.1 ksh-... passed
Result: Package existence check passed for "ksh"
Check: Package existence for "make"
Node Name Available Required Status
orac2 make-3.81-20.el6 make-3.81 passed
orac1 make-3.81-20.el6 make-3.81 passed
Result: Package existence check passed for "make"
Check: Package existence for "glibc(x86_64)"
Node Name Available Required Status
orac2 glibc(x86_64)-2.12-1.149.el6 glibc(x86_64)-2.12 passed
orac1 glibc(x86_64)-2.12-1.149.el6 glibc(x86_64)-2.12 passed
Result: Package existence check passed for "glibc(x86_64)"
Check: Package existence for "glibc-devel(x86_64)"
Node Name Available Required Status
orac2 glibc-devel(x86_64)-2.12-1.149.el6 glibc-devel(x86_64)-2.12 passed
orac1 glibc-devel(x86_64)-2.12-1.149.el6 glibc-devel(x86_64)-2.12 passed
Result: Package existence check passed for "glibc-devel(x86_64)"
Check: Package existence for "libaio(x86_64)"
Node Name Available Required Status
orac2 libaio(x86_64)-0.3.107-10.el6 libaio(x86_64)-0.3.107 passed
orac1 libaio(x86_64)-0.3.107-10.el6 libaio(x86_64)-0.3.107 passed
Result: Package existence check passed for "libaio(x86_64)"
Check: Package existence for "libaio-devel(x86_64)"
Node Name Available Required Status
orac2 libaio-devel(x86_64)-0.3.107-10.el6 libaio-devel(x86_64)-0.3.107 passed
orac1 libaio-devel(x86_64)-0.3.107-10.el6 libaio-devel(x86_64)-0.3.107 passed
Result: Package existence check passed for "libaio-devel(x86_64)"
Check: Package existence for "nfs-utils"
Node Name Available Required Status
orac2 nfs-utils-1.2.3-26.el6 nfs-utils-1.2.3-15 passed
orac1 nfs-utils-1.2.3-26.el6 nfs-utils-1.2.3-15 passed
Result: Package existence check passed for "nfs-utils"
Checking availability of ports "6200,6100" required for component "Oracle Notification Service (ONS)"
Node Name Port Number Protocol Available Status
orac2 6200 TCP yes successful
orac1 6200 TCP yes successful
orac2 6100 TCP yes successful
orac1 6100 TCP yes successful
Result: Port availability check passed for ports "6200,6100"
Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed
Check: Current group ID
Result: Current group ID check passed
Starting check for consistency of primary group of root user
Node Name Status
orac2 passed
orac1 passed
Check for consistency of root user's primary group passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
The NTP configuration file "/etc/ntp.conf" is available on all nodes
NTP Configuration file check passed
Checking daemon liveness...
Check: Liveness for "ntpd"
Node Name Running?
orac2 yes
orac1 yes
Result: Liveness check passed for "ntpd"
Check for NTP daemon or service alive passed on all nodes
Checking whether NTP daemon or service is using UDP port 123 on all nodes
Check for NTP daemon or service using UDP port 123
Node Name Port Open?
orac2 yes
orac1 yes
NTP common Time Server Check started...
NTP Time Server "193.27.209.1" is common to all nodes on which the NTP daemon is running
NTP Time Server "194.29.130.252" is common to all nodes on which the NTP daemon is running
Check of common NTP Time Server passed
Clock time offset check from NTP Time Server started...
Checking on nodes "[orac2, orac1]"...
Check: Clock time offset from NTP Time Server
Time Server: 193.27.209.1
Time Offset Limit: 1000.0 msecs
Node Name Time Offset Status
orac2 -355.25 passed
orac1 -124.19 passed
Time Server "193.27.209.1" has time offsets that are within permissible limits for nodes "[orac2, orac1]".
Time Server: 194.29.130.252
Time Offset Limit: 1000.0 msecs
Node Name Time Offset Status
orac2 -358.87 passed
orac1 -109.63 passed
Time Server "194.29.130.252" has time offsets that are within permissible limits for nodes "[orac2, orac1]".
Clock time offset check passed
Result: Clock synchronization check using Network Time Protocol(NTP) passed
Checking Core file name pattern consistency...
Core file name pattern consistency check passed.
Checking to make sure user "grid" is not in "root" group
Node Name Status Comment
orac2 passed does not exist
orac1 passed does not exist
Result: User "grid" is not part of "root" group. Check passed
Check default user file creation mask
Node Name Available Required Comment
orac2 0022 0022 passed
orac1 0022 0022 passed
Result: Default user file creation mask check passed
Checking integrity of file "/etc/resolv.conf" across nodes
Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
WARNING:
PRVF-5640 : Both search and domain entries are present in file "/etc/resolv.conf" on the following nodes: orac1,orac2
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
Checking file "/etc/resolv.conf" to make sure that only one domain entry is defined
More than one "domain" entry does not exist in any "/etc/resolv.conf" file
All nodes have same "domain" entry defined in file "/etc/resolv.conf"
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
Checking file "/etc/resolv.conf" to make sure that only one search entry is defined
More than one "search" entry does not exist in any "/etc/resolv.conf" file
All nodes have same "search" order defined in file "/etc/resolv.conf"
Checking DNS response time for an unreachable node
Node Name Status
orac1 passed
orac2 passed
The DNS response time for an unreachable node is within acceptable limit on all nodes
Check for integrity of file "/etc/resolv.conf" passed
Check: Time zone consistency
Result: Time zone consistency check passed
Checking integrity of name service switch configuration file "/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry is defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"
Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed
Checking daemon "avahi-daemon" is not configured and running
Check: Daemon "avahi-daemon" not configured
Node Name Configured Status
orac2 yes failed
orac1 yes failed
Daemon not configured check failed for process "avahi-daemon"
Check: Daemon "avahi-daemon" not running
Node Name Running? Status
orac2 yes failed
orac1 yes failed
Daemon not running check failed for process "avahi-daemon"Yes, i can.
Node1.
[grid@orac1 grid]$ ping 10.154.137.101
PING 10.154.137.101 (10.154.137.101) 56(84) bytes of data.
64 bytes from 10.154.137.101: icmp_seq=1 ttl=64 time=0.105 ms
64 bytes from 10.154.137.101: icmp_seq=2 ttl=64 time=0.089 ms
64 bytes from 10.154.137.101: icmp_seq=3 ttl=64 time=0.056 ms
64 bytes from 10.154.137.101: icmp_seq=4 ttl=64 time=0.086 ms
^C
--- 10.154.137.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3098ms
rtt min/avg/max/mdev = 0.056/0.084/0.105/0.017 ms
[grid@orac1 grid]$ ping 10.154.137.102
PING 10.154.137.102 (10.154.137.102) 56(84) bytes of data.
64 bytes from 10.154.137.102: icmp_seq=1 ttl=64 time=2.15 ms
64 bytes from 10.154.137.102: icmp_seq=2 ttl=64 time=0.497 ms
64 bytes from 10.154.137.102: icmp_seq=3 ttl=64 time=0.364 ms
^C
--- 10.154.137.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2495ms
rtt min/avg/max/mdev = 0.364/1.003/2.150/0.813 ms
[grid@orac1 grid]$ ping 10.154.138.101
PING 10.154.138.101 (10.154.138.101) 56(84) bytes of data.
64 bytes from 10.154.138.101: icmp_seq=1 ttl=64 time=0.059 ms
64 bytes from 10.154.138.101: icmp_seq=2 ttl=64 time=0.173 ms
64 bytes from 10.154.138.101: icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from 10.154.138.101: icmp_seq=4 ttl=64 time=0.056 ms
^C
--- 10.154.138.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3205ms
rtt min/avg/max/mdev = 0.046/0.083/0.173/0.052 ms
[grid@orac1 grid]$ ping 10.154.138.102
PING 10.154.138.102 (10.154.138.102) 56(84) bytes of data.
64 bytes from 10.154.138.102: icmp_seq=1 ttl=64 time=1.80 ms
64 bytes from 10.154.138.102: icmp_seq=2 ttl=64 time=0.418 ms
64 bytes from 10.154.138.102: icmp_seq=3 ttl=64 time=0.899 ms
^C
--- 10.154.138.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2860ms
rtt min/avg/max/mdev = 0.418/1.041/1.808/0.577 ms
[grid@orac1 grid]$
Node2.
[grid@orac2 ~]$ ping 10.154.137.101
PING 10.154.137.101 (10.154.137.101) 56(84) bytes of data.
64 bytes from 10.154.137.101: icmp_seq=1 ttl=64 time=0.537 ms
64 bytes from 10.154.137.101: icmp_seq=2 ttl=64 time=1.79 ms
64 bytes from 10.154.137.101: icmp_seq=3 ttl=64 time=0.733 ms
^C
--- 10.154.137.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2774ms
rtt min/avg/max/mdev = 0.537/1.021/1.794/0.552 ms
[grid@orac2 ~]$ ping 10.154.137.102
PING 10.154.137.102 (10.154.137.102) 56(84) bytes of data.
64 bytes from 10.154.137.102: icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 10.154.137.102: icmp_seq=2 ttl=64 time=0.106 ms
64 bytes from 10.154.137.102: icmp_seq=3 ttl=64 time=0.039 ms
64 bytes from 10.154.137.102: icmp_seq=4 ttl=64 time=0.039 ms
^C
--- 10.154.137.102 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3282ms
rtt min/avg/max/mdev = 0.039/0.056/0.106/0.029 ms
[grid@orac2 ~]$ ping 10.154.138.101
PING 10.154.138.101 (10.154.138.101) 56(84) bytes of data.
64 bytes from 10.154.138.101: icmp_seq=1 ttl=64 time=0.718 ms
64 bytes from 10.154.138.101: icmp_seq=2 ttl=64 time=0.515 ms
64 bytes from 10.154.138.101: icmp_seq=3 ttl=64 time=0.504 ms
^C
--- 10.154.138.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2468ms
rtt min/avg/max/mdev = 0.504/0.579/0.718/0.098 ms
[grid@orac2 ~]$ ping 10.154.138.102
PING 10.154.138.102 (10.154.138.102) 56(84) bytes of data.
64 bytes from 10.154.138.102: icmp_seq=1 ttl=64 time=0.058 ms
64 bytes from 10.154.138.102: icmp_seq=2 ttl=64 time=0.087 ms
64 bytes from 10.154.138.102: icmp_seq=3 ttl=64 time=0.052 ms
64 bytes from 10.154.138.102: icmp_seq=4 ttl=64 time=0.090 ms
^C
--- 10.154.138.102 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3755ms
rtt min/avg/max/mdev = 0.052/0.071/0.090/0.019 ms
[grid@orac2 ~]$ -
Oracle 9.0.1 with RH9.0 ./runInstaller
Hi!!
I am trying to install Oracle 9i with RH9.0 but I have a problem when I execute ./runInstaller
Itializing Java Virtual Machine from /tmp/OraInstall/jre/bin/jre. Please wait...
/tmp/OraInstall/jre/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
What can I do, please??
My machine is
- 512Mb Ram
- 40Gb Disk space
- java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1-FCS, mixed mode)
ThanksHi,
I found alike problem in Metalink:
From: CESAR AUGUSTO RENGIFO 01-Jun-03 23:53
Subject: problem intalling Oracle 8.1.7 in Red Hat 9
problem intalling Oracle 8.1.7 in Red Hat 9
hi, i am tried to install Oracle 8.1.7 Standard Edition in Red Hat 9, but the installer dont initialize.
the error when i run runInstaller is:
"Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
[oracle@localhost Disk1]$ /home/oracle/Disk1/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/linux/native_threads/libzip.so: symbol errno,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM"
the machine characteristics are:
"Linux localhost.localdomain 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux"
i had search through the installed packages for the glibc librarys and this is the result:
"glib-1.2.10-10
glibc-common-2.3.2-11.9
glibc-2.3.2-11.9
glib2-2.2.1-1
glibc-devel-2.3.2-11.9
glibc-kernheaders-2.4-8.10"
thanks in advance,
andrew
From: Yonatan KOPEL 02-Jun-03 13:58
Subject: Re : problem intalling Oracle 8.1.7 in Red Hat 9
Ther is compatibility problem that happend with broken binaries
errno shouldn't show up with binary or library compiled against glibc 2.1+
You can use LD_ASSUME_KERNEL=2.4.1 (or 2.2.5) in the broken apps env
to work around this.
Jonathan Kopel
From: RUDINEI RUFA N/A 10-Jun-03 22:11
Subject: Re : problem intalling Oracle 8.1.7 in Red Hat 9
May I can help you.... try to download a JRE latest version, install on /usr/local/java, and edit '/install/oraparam.ini', change the JRE location, and run the 'runInstaller' from '/install/linux'.
Regards,
Mauricio.
[email protected]
Support Analyst
RH9 isn't certified for Oracle9i !!!
Note:201370.1
LINUX: Quick Start Guide - 9.2.0 RDBMS Installation
Quick Start Guide Oracle9i Release 2 (9.2.0) RDBMS Installation Linux Operating System PURPOSE ======= This document is designed to be a quick reference that can be used when installing Oracle 9.2.0 on the Linux platform. It is NOT designed to take the place of the Installation Guide. It is recommended that users READ the installation guide. Instructions to locate that document are contained in Appendix A. A familiarity with the Linux Operating System is assumed. If Installation guide information is needed, please see the Appendix A at the bottom of this document for additional resources. Each step should be done in the order that it is listed. These steps are the bare minimum that is necessary for a typical install of the Oracle9i RDBMS. Verification of Version Certification: ====================================== Currently, Oracle 9.2.0 is certified ONLY on the following Intel Based Server Linux distributions: - Red Hat Advanced Server 2.1 - Suse SLES7, SLES8 - United Linux 1.0 For the latest certification and other related information, use the "Certify & Availability" link in Metalink. Installations on distributions and versions not listed in the Certify link is not supported. Pre-requisite Requirements for System Administrator: ==================================================== The following steps are required to verify your operating system meets minimum requirements for installation, and should be performed by the root user. For assistance with system administration issues, please contact your system administrator or operating system vendor. Use these steps to manually check the operating system requirements before attempting to install Oracle RDBMS software, or you may choose to use the convenient "Unix InstallPrep script" which automates these checks for you. For more information about the script, including download information, please review the following article: Note:189256.1 UNIX: Script to Verify Installation Requirements for Oracle 9.x version of RDBMS Users must have /bin/utils installed for the operating system. This is part of the developers option on RedHat Advanced Server 2.1. The Following Steps Need to be Performed by the Root User: 1. Configure System Resources: Ensure that the system has at least the following resources: ? 400 MB in /tmp * ? 512 MB of Physical Memory (RAM) ? Three times the amount of Physical Memory for Swap space (unless the system exceeds 1 GB of Physical Memory, where two times the amount of Physical Memory for Swap space is sufficient) * You may also redirect /tmp by setting the TEMP environment variable. This is only recommended in rare circumstances where /tmp cannot be expanded to meet free space requirements. 2. Create a Software Owner and Group: Create a Unix user and group that will own the Oracle software. (Typically user = oracle, group = dba) You may use a GUI tool for this if your distirbution provides one, or the 'useradd' and 'groupadd' command line utilities. Please make sure the user and group you use are defined in the local /etc/passwd and /etc/group files rather than resolved via a network service such as NIS. 3. Create a Software Mount Point and DataFile Mount Points: Create a mount point for the Oracle software installation (at least 2.5 GB, typically /u01) Create a second, third and fourth mount point for the database files, control files, and log files to be created (typically /u02, /u03, /u04). ? The oracle user should own these mount points and all of the directories below the mount point. 4. Test the Permissions: Ensure that the oracle user can write to the new mount points ? As a test, change directories to each of the new mount point directories as the oracle user and create a file or directory. Example: % touch /u01/test 5. Configure Kernel Resources: The following kernel parameters related to shared memory and semaphores will require tuning: SHMMAX = 2147483648 SHMMIN = 1 SHMMNI = 100 SEMMNS = 1000 SEMMSL = 250 SEMMNI = 100 SEMOPM = 100 6.On Linux kernel parameters can be set dynamically or can be written in a shell script to be set at boot time. Kernel parameters should be set as the root user. They are set as follows 1. cd /proc/sys/kernel 2. Modify the parameter values by using the following command syntax: a. # echo 100 32000 100 100 > sem This sets SEMMSL, SEMMNS, SEMOPM, SEMMNI b. # echo 2147483648 > shmmax c. # echo 1 > shmmin d. # echo 100 > shmmni ================================================================================ These changes are NOT persistent and must be re-set after each re-boot. On RedHat Advanced Server 2.1, these parameters can be entered into the file /etc/sysctl.conf. This parameters in this file are set each time the system is booted. Example: $ more /etc/sysctl.conf # Disables packet forwarding net.ipv4.ip_forward = 0 # Enables source route verification net.ipv4.conf.default.rp_filter = 1 # Disables the magic-sysrq key kernel.sysrq = 0 kernel.shmmax=256000000 kernel.shmmin=1 kernel.shmmni=100 kernel.sem= 250 32000 32 128 7. Mount CD-ROM: Depending on your Linux distribution the cdrom device is typically either "/cdrom" or "/mnt/cdrom". Please substitute the appropriate value when "<cdrom>" appears in the examples. # mount <cdrom> Installs can be done from either the CD or by copying the contents of each CD?s to a stage area on the local disk (/stage/Disk1, /stage/Disk2, /stage/DiskN) 8.This is required to run as root: /tmp/orainstRoot.sh First question of oracle installation. If no other versions of Oracle 8i or 9i have been installed before. You will be ask to run /tmp/orainstRoot.sh to create the oraInventory location pointer. Usually found in /etc on Linux Files that are located in /etc are /etc/oratab and /etc/oraInst.loc Installation Steps for the Oracle User ======================================= The Following Steps need to be performed by the Oracle User: This can be done from either a Telnet or an SSH connection. It is NOT recommended to perform installations from a su ? oracle connection. 1. Set Environment Variables Environment variables should be set in the login script for the oracle user. If the oracle user's default shell is the C-shell (/usr/bin/csh), then the login script will be named ".login". If the oracle user's default shell is the Bourne-shell (/usr/bin/bsh) or the Korn-shell (/usr/bin/sh or /usr/bin/ksh), then the login script will be named ".profile". In either case, the login script will be located in the oracle user's home directory ($HOME). The examples below assume that your software mount point is /u01. Parameter Value ----------- ------ ORACLE_HOME /u01/app/oracle/product/9.2.0 ORACLE_BASE /u01/app/oracle PATH /u01/app/oracle/product/9.2.0/bin: /usr/ccs/bin:/usr/bin/X11/:/usr/local/bin and any other items you require in your PATH ORA_NLS33 $ORACLE_HOME/ocommon/nls/admin/data ORACLE_SID Set this to what you will call your database instance. (4 - 8 characters in length) If you are not on the console, you may need to set the following DISPLAY <ip-address>:0.0 (review Note:153960.1 for detailed information) ENSURE THAT CLASS_PATH IS NOT SET IN THE ENVIRONMENT 2. Set the umask: Set the oracle user's umask to "022" in you ".profile" or ".login" file. Example: umask 022 3. Verify the Environment Log off and log on as the oracle user to ensure all environment variables are set correctly. Use the following command to view them: % env | more Before attempting to run the Oracle Universal Installer, verify that you can successfully run the following command: % /usr/bin/X11/xclock If this does not display a clock on your display screen, please review the following article: Note:153960.1 FAQ: X Server testing and troubleshooting 4. Start the Oracle Universal Installer and install the RDBMS software: Use the following commands to start the installer: % cd /tmp % /cdrom/runInstaller Or cd to /stage/Disk1 and run ./runInstaller Respond to the installer prompts as shown below: ? When prompted for whether orainstRoot.sh has been run by root, enter "y". This should have been done in Pre-Installation step 8 above. ? At the "Welcome Screen", click Next. ? If prompted, enter the directory to use for the "Inventory Location". This can be any directory, but is usually not under ORACLE_HOME because the oraInventory is shared with all Oracle products on the system. ? If prompted, enter the "UNIX Group Name" for the oracle user (dba). ? At the "File Locations Screen", verify the Destination listed is your ORACLE_HOME directory. Also enter a NAME to identify this ORACLE_HOME. The NAME can be anything, but is typically "DataServer" and the first three digits of the version. For example: "DataServer920" ? At the "Available Products Screen", choose Oracle9i Database, then click Next. ? At the "Installation Types Screen", choose Enterprise Edition, then click Next. ? If prompted, click Next at the "Component Locations Screen" to accept the default directories. ? At the "Database Configuration Screen", choose the the configuration based on how you plan to use the database, then click Next. ? If prompted, click Next at the "Privileged Operating System Groups Screen" to accept the default values (your current OS primary group). ? If prompted, enter the Global Database Name in the format "ORACLE_SID.hostname" at the "Database Identification Screen". For example: "TEST.LNXhost". The SID entry should be filled in with the value of ORACLE_SID. Click Next. ? If prompted, enter the directory where you would like to put datafiles at the "Database File Location Screen". Click Next. ? If prompted, select "Use the default character set" (WE8ISO8859P1) at the "Database Character Set Screen". Click Next. ? At the "Summary Screen", review your choices, then click Install. The install will begin. Follow instructions regarding running "root.sh" and any other prompts. When completed, the install will have created a default database, configured a Listener, and started both for you. Note: If you are having problems changing CD-ROMs when prompted to do so, please review the following article: Note:146566.1 How to Unmount / Eject First Cdrom Your Oracle9i Release 2 (9.2.0) RDBMS installation is now complete and ready for use. Appendix A ========== Documentation is available from the following resources: Oracle9i Release 2 (9.2.0) CD-ROM Disk1 ---------------------------------------- Mount the CD-ROM, then use a web browser to open the file "index.htm" located at the top level directory of the CD-ROM. Then proceed to Documentation menu Item on this CD-ROM you will find the Installation Guide, Administrator's Reference, and other useful documentation. Oracle Documentation Center --------------------------- Point your web browser to the following URL: http://otn.oracle.com/documentation/content.html Select the highest version CD-pack displayed to ensure you get the most up-to-date information.
Regards,
Ladislav Jurencak -
MAX. NO. OF PROCESSES exceeded
We have RAC setup running on SunSolaris SPARC (64-bit) server, with 32G RAM on each instance. Current setting for processes
parameter is 5000, but unable to increase it.
It raises an error ORA-00020: maximum number of processes (string) exceeded.
Kernel parameter for given scenario is:
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
Referring to other forums & docs, it says maximum no. of semaphores should be less than or equal to (SEMMSL*SEMMNI) or SEMMNS, whatever is smaller.
According to this calculation, It should not work for 5000 even, taking SEMMNS=1024. What is the workaround I can follow??
It's urgent, on production system!!!!
Regards,
user1012Hi,
Thanks for your interest.
Here is the scenario:
We're using a J2EE based application on Radius. Thousands of client requests striking in seconds. So it's a very huge RAC configuration with 32G memory & 2 nodes in cluster. As per our RDA analysis, it shows dead processes may be one of the reasons it goes beyond the maximum processes.
Now my question is,
1. What are possible values of SGA & PGA allocation based on this OLTP architecture?
2. Are kernel parameters well set?
4. How to remove dead processes from memory? -
Problem in Database Configuration Assistant
I did install successfully oracle9i(9.2.0) database program install Step
but "Configuration Tools" Step is not work
- Copying databases Files - oK.
- Initializing database -ok.
- creating and starting Oracle instance - still progress
and it could not progress next step.
How ca i solve this problem?you can check Document ID Doc ID: 201370.1 in the metalink
Configure Kernel Resources: The following kernel parameters related to shared memory and semaphores will require tuning:
SHMMAX = 2147483648
SHMMIN = 1
SHMMNI = 100
SEMMNS = 1000
SEMMSL = 250
SEMMNI = 100
SEMOPM = 100
On Linux kernel parameters can be set dynamically or can be written in a shell script to be set at boot time. Kernel parameters should be set as the root user. They are set as follows
1. cd /proc/sys/kernel
2. Modify the parameter values by using the following command syntax:
a. # echo 100 32000 100 100 > sem
This sets SEMMSL, SEMMNS, SEMOPM, SEMMNI b.
# echo 2147483648 > shmmax c.
# echo 1 > shmmin d.
# echo 100 > shmmni ==========================================================
These changes are NOT persistent and must be re-set after each re-boot.
On RedHat Advanced Server 2.1, these parameters can be entered into the file /etc/sysctl.conf.
This parameters in this file are set each time the system is booted.
Example: $ more /etc/sysctl.conf # Disables packet forwarding net.ipv4.ip_forward = 0 # Enables source route verification net.ipv4.conf.default.rp_filter = 1 # Disables the magic-sysrq key
kernel.sysrq = 0
kernel.shmmax=256000000
kernel.shmmin=1
kernel.shmmni=100
kernel.sem= 250 32000 32 128 -
ORA-01034 ORACLE NOT AVAILABLE
hi everybody,
i'm trying to install a second instance on Oracle8.1.7 on Sun Enterprise 250 (with Solaris 8).
the previous instance has this init.ora file:
open_cursors = 300
max_enabled_roles = 30
db_block_buffers = 10240
shared_pool_size = 52437800
large_pool_size = 614400
java_pool_size = 20971520
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 270
log_buffer = 163840
timed_statistics = true # if you want timed statistics
max_dump_file_size = 10000 # limit trace file size to 5M each
db_block_size = 8192
local_listener = "LISTENER_VCOPROD"
distributed_transactions = 75
open_links = 5
# mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
# Uncomment the following line when your listener is configured for SSL
# (listener.ora and sqlnet.ora)
# mts_dispatchers = "(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)"
sort_area_size = 4194304
sort_area_retained_size = 4194304
db_file_multiblock_read_count = 32
hash_multiblock_io_count = 8
transactions_per_rollback_segment = 25
please, notePROCESSES is 270 (not the default)
and i'm trying to set the following parameters on the new instance:
dedicated server mode
db_block_buffers 16.384
shared_pool_size 83.886.080
processes 150
log_buffer 655.360
open_cursors 1.024
sort_area_size 1.048.576
sort_area_retained_size 1.048.576
this is my /etc/system:
** Kernel Parameters on our SUN Enterprise with 640MB for Oracle 8.1.x*
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmni=70
set semsys:seminfo_semmsl=500
set semsys:seminfo_semmns=1500
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
but as the "create database" starts, i get the ORA-01034 ORACLE NOT AVAILABLE error.
i found this info in the crdb1.log:
Connected.
ORA-00101: invalid specification for system parameter MTS_DISPATCHERS
CREATE DATABASE "ADS"
ORA-01034: ORACLE not available
Disconnected.
but why do i have the MTS_DISPATCHERS paramenter if i set dedicated server mode? i guess i don't need MultiThreading...
anyway, are the semmsl, semmni, semmns parameters correctly configured? i rememeber i had a similar error and these parameters were to set correctly to make it work, but this time i can't find out the point!!!
please, it's very urgent...
thankx a lot!
mattei'm installing a new instance, so i don't need neither to set ORACLE_SID, nor to connect to db. i mean... i give my oracle sid in the GUI of the dbassist.
then it's supposed to set it and connect to the instance by its own. the point is that when it tryes the connect internal, it fails.
i bet the trouble is in the /etc/system parameters, but i don't know exactly where.... -
Oracle 11g: cluvfy failed
Hi expert,
i'm trying to install Oracle 11g RAC.
I don't know why I have an failed in the cluvfy step. Can someone help me?
[oracle@rac1 bin]$ ./cluvfy stage -pre crsinst -n rac1,rac2 -verbose
WARNING:
Could not access or create trace file path "/mnt/OracleRAC/cvupack/bin/../cv/log". Trace information could not be collected
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "rac1"
Destination Node Reachable?
rac2 yes
rac1 yes
Result: Node reachability check passed from node "rac1"
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
rac2 passed
rac1 failed
Result: PRVF-4007 : User equivalence check failed for user "oracle"
WARNING:
User equivalence is not set for nodes:
rac1
Verification will proceed with nodes:
rac2
Checking node connectivity...
Checking hosts config file...
Node Name Status Comment
rac2 passed
Verification of the hosts config file successful
Interface information for node "rac2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 192.168.2.102 192.168.2.0 0.0.0.0 192.168.2.1 08:00:27:4A:67:8E 1500
eth1 192.168.0.102 192.168.0.0 0.0.0.0 192.168.2.1 08:00:27:27:C4:33 1500
Check: Node connectivity of subnet "192.168.2.0"
Result: Node connectivity passed for subnet "192.168.2.0" with node(s) rac2
Check: TCP connectivity of subnet "192.168.2.0"
Source Destination Connected?
rac1:127.0.0.1 rac2:192.168.2.102 failed
Result: TCP connectivity check failed for subnet "192.168.2.0"
Check: Node connectivity of subnet "192.168.0.0"
Result: Node connectivity passed for subnet "192.168.0.0" with node(s) rac2
Check: TCP connectivity of subnet "192.168.0.0"
Source Destination Connected?
rac1:127.0.0.1 rac2:192.168.0.102 failed
Result: TCP connectivity check failed for subnet "192.168.0.0"
Interfaces found on subnet "192.168.2.0" that are likely candidates for VIP are:
rac2 eth0:192.168.2.102
Interfaces found on subnet "192.168.0.0" that are likely candidates for a private interconnect are:
rac2 eth1:192.168.0.102
Result: Node connectivity check passed
Check: Total memory
Node Name Available Required Comment
rac2 1.9642GB (2059580.0KB) 1.5GB (1572864.0KB) passed
Result: Total memory check passed
Check: Available memory
Node Name Available Required Comment
rac2 1.7729GB (1858984.0KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Comment
rac2 3.9062GB (4095992.0KB) 2.9463GB (3089370.0KB) passed
Result: Swap space check passed
Check: Free disk space for "rac2:/tmp"
Path Node Name Mount point Available Required Comment
/tmp rac2 / 1.0762GB 1GB passed
Result: Free disk space check passed for "rac2:/tmp"
Check: User existence for "oracle"
Node Name Status Comment
rac2 exists(1100) passed
Checking for multiple users with UID value 1100
Result: Check for multiple users with UID value 1100 passed
Result: User existence check passed for "oracle"
Check: Group existence for "oinstall"
Node Name Status Comment
rac2 exists passed
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
rac2 exists passed
Result: Group existence check passed for "dba"
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
rac2 yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed
Check: Membership of user "oracle" in group "dba"
Node Name User Exists Group Exists User in Group Comment
rac2 yes yes yes passed
Result: Membership check for user "oracle" in group "dba" passed
Check: Run level
Node Name run level Required Comment
rac2 5 3,5 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Comment
rac2 hard 65536 65536 passed
Result: Hard limits check passed for "maximum open file descriptors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Comment
rac2 soft 1024 1024 passed
Result: Soft limits check passed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Comment
rac2 hard 16384 16384 passed
Result: Hard limits check passed for "maximum user processes"
Check: Soft limits for "maximum user processes"
Node Name Type Available Required Comment
rac2 soft 2047 2047 passed
Result: Soft limits check passed for "maximum user processes"
Check: System architecture
Node Name Available Required Comment
rac2 x86_64 x86_64 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Comment
rac2 2.6.18-194.el5 2.6.18 passed
Result: Kernel version check passed
Check: Kernel parameter for "semmsl"
Node Name Configured Required Comment
rac2 250 250 passed
Result: Kernel parameter check passed for "semmsl"
Check: Kernel parameter for "semmns"
Node Name Configured Required Comment
rac2 32000 32000 passed
Result: Kernel parameter check passed for "semmns"
Check: Kernel parameter for "semopm"
Node Name Configured Required Comment
rac2 100 100 passed
Result: Kernel parameter check passed for "semopm"
Check: Kernel parameter for "semmni"
Node Name Configured Required Comment
rac2 128 128 passed
Result: Kernel parameter check passed for "semmni"
Check: Kernel parameter for "shmmax"
Node Name Configured Required Comment
rac2 1054504960 536870912 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Configured Required Comment
rac2 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmall"
Node Name Configured Required Comment
rac2 2097152 2097152 passed
Result: Kernel parameter check passed for "shmall"
Check: Kernel parameter for "file-max"
Node Name Configured Required Comment
rac2 6815744 6815744 passed
Result: Kernel parameter check passed for "file-max"
Check: Kernel parameter for "ip_local_port_range"
Node Name Configured Required Comment
rac2 between 9000 & 65500 between 9000 & 65500 passed
Result: Kernel parameter check passed for "ip_local_port_range"
Check: Kernel parameter for "rmem_default"
Node Name Configured Required Comment
rac2 262144 262144 passed
Result: Kernel parameter check passed for "rmem_default"
Check: Kernel parameter for "rmem_max"
Node Name Configured Required Comment
rac2 4194304 4194304 passed
Result: Kernel parameter check passed for "rmem_max"
Check: Kernel parameter for "wmem_default"
Node Name Configured Required Comment
rac2 262144 262144 passed
Result: Kernel parameter check passed for "wmem_default"
Check: Kernel parameter for "wmem_max"
Node Name Configured Required Comment
rac2 1048586 1048576 passed
Result: Kernel parameter check passed for "wmem_max"
Check: Kernel parameter for "aio-max-nr"
Node Name Configured Required Comment
rac2 1048576 1048576 passed
Result: Kernel parameter check passed for "aio-max-nr"
Check: Package existence for "make-3.81"
Node Name Available Required Comment
rac2 make-3.81-3.el5 make-3.81 passed
Result: Package existence check passed for "make-3.81"
Check: Package existence for "binutils-2.17.50.0.6"
Node Name Available Required Comment
rac2 binutils-2.17.50.0.6-14.el5 binutils-2.17.50.0.6 passed
Result: Package existence check passed for "binutils-2.17.50.0.6"
Check: Package existence for "gcc-4.1.2"
Node Name Available Required Comment
rac2 gcc-4.1.2-48.el5 gcc-4.1.2 passed
Result: Package existence check passed for "gcc-4.1.2"
Check: Package existence for "libaio-0.3.106 (i386)"
Node Name Available Required Comment
rac2 libaio-0.3.106-5 (i386) libaio-0.3.106 (i386) passed
Result: Package existence check passed for "libaio-0.3.106 (i386)"
Check: Package existence for "libaio-0.3.106 (x86_64)"
Node Name Available Required Comment
rac2 libaio-0.3.106-5 (x86_64) libaio-0.3.106 (x86_64) passed
Result: Package existence check passed for "libaio-0.3.106 (x86_64)"
Check: Package existence for "glibc-2.5-24 (i686)"
Node Name Available Required Comment
rac2 glibc-2.5-49 (i686) glibc-2.5-24 (i686) passed
Result: Package existence check passed for "glibc-2.5-24 (i686)"
Check: Package existence for "glibc-2.5-24 (x86_64)"
Node Name Available Required Comment
rac2 glibc-2.5-49 (x86_64) glibc-2.5-24 (x86_64) passed
Result: Package existence check passed for "glibc-2.5-24 (x86_64)"
Check: Package existence for "compat-libstdc++-33-3.2.3 (i386)"
Node Name Available Required Comment
rac2 compat-libstdc++-33-3.2.3-61 (i386) compat-libstdc++-33-3.2.3 (i386) passed
Result: Package existence check passed for "compat-libstdc++-33-3.2.3 (i386)"
Check: Package existence for "compat-libstdc++-33-3.2.3 (x86_64)"
Node Name Available Required Comment
rac2 compat-libstdc++-33-3.2.3-61 (x86_64) compat-libstdc++-33-3.2.3 (x86_64) passed
Result: Package existence check passed for "compat-libstdc++-33-3.2.3 (x86_64)"
Check: Package existence for "elfutils-libelf-0.125 (x86_64)"
Node Name Available Required Comment
rac2 elfutils-libelf-0.137-3.el5 (x86_64) elfutils-libelf-0.125 (x86_64) passed
Result: Package existence check passed for "elfutils-libelf-0.125 (x86_64)"
Check: Package existence for "elfutils-libelf-devel-0.125"
Node Name Available Required Comment
rac2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed
Result: Package existence check passed for "elfutils-libelf-devel-0.125"
Check: Package existence for "glibc-common-2.5"
Node Name Available Required Comment
rac2 glibc-common-2.5-49 glibc-common-2.5 passed
Result: Package existence check passed for "glibc-common-2.5"
Check: Package existence for "glibc-devel-2.5 (i386)"
Node Name Available Required Comment
rac2 glibc-devel-2.5-49 (i386) glibc-devel-2.5 (i386) passed
Result: Package existence check passed for "glibc-devel-2.5 (i386)"
Check: Package existence for "glibc-devel-2.5 (x86_64)"
Node Name Available Required Comment
rac2 glibc-devel-2.5-49 (x86_64) glibc-devel-2.5 (x86_64) passed
Result: Package existence check passed for "glibc-devel-2.5 (x86_64)"
Check: Package existence for "glibc-headers-2.5"
Node Name Available Required Comment
rac2 glibc-headers-2.5-49 glibc-headers-2.5 passed
Result: Package existence check passed for "glibc-headers-2.5"
Check: Package existence for "gcc-c++-4.1.2"
Node Name Available Required Comment
rac2 gcc-c++-4.1.2-48.el5 gcc-c++-4.1.2 passed
Result: Package existence check passed for "gcc-c++-4.1.2"
Check: Package existence for "libaio-devel-0.3.106 (i386)"
Node Name Available Required Comment
rac2 libaio-devel-0.3.106-5 (i386) libaio-devel-0.3.106 (i386) passed
Result: Package existence check passed for "libaio-devel-0.3.106 (i386)"
Check: Package existence for "libaio-devel-0.3.106 (x86_64)"
Node Name Available Required Comment
rac2 libaio-devel-0.3.106-5 (x86_64) libaio-devel-0.3.106 (x86_64) passed
Result: Package existence check passed for "libaio-devel-0.3.106 (x86_64)"
Check: Package existence for "libgcc-4.1.2 (i386)"
Node Name Available Required Comment
rac2 libgcc-4.1.2-48.el5 (i386) libgcc-4.1.2 (i386) passed
Result: Package existence check passed for "libgcc-4.1.2 (i386)"
Check: Package existence for "libgcc-4.1.2 (x86_64)"
Node Name Available Required Comment
rac2 libgcc-4.1.2-48.el5 (x86_64) libgcc-4.1.2 (x86_64) passed
Result: Package existence check passed for "libgcc-4.1.2 (x86_64)"
Check: Package existence for "libstdc++-4.1.2 (i386)"
Node Name Available Required Comment
rac2 libstdc++-4.1.2-48.el5 (i386) libstdc++-4.1.2 (i386) passed
Result: Package existence check passed for "libstdc++-4.1.2 (i386)"
Check: Package existence for "libstdc++-4.1.2 (x86_64)"
Node Name Available Required Comment
rac2 libstdc++-4.1.2-48.el5 (x86_64) libstdc++-4.1.2 (x86_64) passed
Result: Package existence check passed for "libstdc++-4.1.2 (x86_64)"
Check: Package existence for "libstdc++-devel-4.1.2 (x86_64)"
Node Name Available Required Comment
rac2 libstdc++-devel-4.1.2-48.el5 (x86_64) libstdc++-devel-4.1.2 (x86_64) passed
Result: Package existence check passed for "libstdc++-devel-4.1.2 (x86_64)"
Check: Package existence for "sysstat-7.0.2"
Node Name Available Required Comment
rac2 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed
Result: Package existence check passed for "sysstat-7.0.2"
Check: Package existence for "unixODBC-2.2.11 (i386)"
Node Name Available Required Comment
rac2 unixODBC-2.2.11-7.1 (i386) unixODBC-2.2.11 (i386) passed
Result: Package existence check passed for "unixODBC-2.2.11 (i386)"
Check: Package existence for "unixODBC-2.2.11 (x86_64)"
Node Name Available Required Comment
rac2 unixODBC-2.2.11-7.1 (x86_64) unixODBC-2.2.11 (x86_64) passed
Result: Package existence check passed for "unixODBC-2.2.11 (x86_64)"
Check: Package existence for "unixODBC-devel-2.2.11 (i386)"
Node Name Available Required Comment
rac2 unixODBC-devel-2.2.11-7.1 (i386) unixODBC-devel-2.2.11 (i386) passed
Result: Package existence check passed for "unixODBC-devel-2.2.11 (i386)"
Check: Package existence for "unixODBC-devel-2.2.11 (x86_64)"
Node Name Available Required Comment
rac2 unixODBC-devel-2.2.11-7.1 (x86_64) unixODBC-devel-2.2.11 (x86_64) passed
Result: Package existence check passed for "unixODBC-devel-2.2.11 (x86_64)"
Check: Package existence for "ksh-20060214"
Node Name Available Required Comment
rac2 ksh-20100202-1.el5 ksh-20060214 passed
Result: Package existence check passed for "ksh-20060214"
Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed
Check: Current group ID
Result: Current group ID check passed
Checking Core file name pattern consistency...
Core file name pattern consistency check passed.
Checking to make sure user "oracle" is not in "root" group
Node Name Status Comment
rac2 does not exist passed
Result: User "oracle" is not part of "root" group. Check passed
Check default user file creation mask
Node Name Available Required Comment
rac2 0022 0022 passed
Result: Default user file creation mask check passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes
Result: Clock synchronization check using Network Time Protocol(NTP) passed
Pre-check for cluster services setup was unsuccessful.
Checks did not pass for the following node(s):
rac1
[oracle@rac1 bin]$ ssh rac2 "date;hostname"
Wed Dec 15 19:59:58 CET 2010
rac2.localdomain
[oracle@rac1 bin]$ hostname
rac1.localdomain
[oracle@rac1 bin]$ uname -a
Linux rac1.localdomain 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[oracle@rac1 bin]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 rac1.localdomain rac1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
#127.0.0.1 localhost.localdomain localhost
# Public
192.168.2.101 rac1.localdomain rac1
192.168.2.102 rac2.localdomain rac2
# Private
192.168.0.101 rac1-priv.localdomain rac1-priv
192.168.0.102 rac2-priv.localdomain rac2-priv
# Virtual
192.168.2.111 rac1-vip.localdomain rac1-vip
192.168.2.112 rac2-vip.localdomain rac2-vip
# SCAN
192.168.2.201 rac-scan.localdomain rac-scanthe same on RAC2.
[oracle@rac1 ~]$ id oracle
uid=1100(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(dba)
[oracle@rac2 ~]$ id oracle
uid=1100(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(dba)I'm reading this tutorial
>
http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php
>
because i would like to install in a virtualbox environment.
Cheers,
Lain
Edited by: Lain on 13-gen-2011 20.06Make sure you have ssh configured properly on both nodes.
Do you have the Oracle Clusterware Installation 11g Release (whatever your platform is)?
Read this section 2.12.3 Enabling SSH User Equivalency on Cluster Member Nodes
Try this on rac1.
ssh rac2 date
Try this on rac2.
ssh rac1 date
If these don't return the date of the other host you haven't configured SSH properly. -
RedHat 6.2 Intel - Oracle8i (8.1.5)
RedHat Linux 6.2 Server Install (Intel) 256Mb RAM, Oracle8i (8.1.5) for Linux Intel.
Please help, I am thoroughly confused, I just want the install to go well and am sure this is a critical task. I am not a c guy so don't quite follow the "Configure the Linux Kernel for Oracle8i" steps. More importantly I DO NOT know how to re-build the kernel if I did successfully make any changes.
Below are is the excerpt from the Install Guide for Oracle Database 8i (8.1.5) CD Pack v5 for Linux Intel - "Configure the Linux Kernel for Oracle8i". Directly below is a copy of my shmparam.h and sem.h files. I have no idea on how to configure. Can someone maybe paste copies of their files, or show me how to make my changes if necessary?
Thanks A MILLION In Advance For All That Can Help! Seriously!
Chris Becker
MCDBA MCSE
shmparam.h:
#ifndef ASMI386SHMPARAM_H
#define ASMI386SHMPARAM_H
/* address range for shared memory attaches if no address passed to shmat() */
#define SHM_RANGE_START 0x50000000
#define SHM_RANGE_END 0x60000000
* Format of a swap-entry for shared memory pages currently out in
* swap space (see also mm/swap.c).
* SWP_TYPE = SHM_SWP_TYPE
* SWP_OFFSET is used as follows:
* bits 0..6 : id of shared memory segment page belongs to (SHM_ID)
* bits 7..21: index of page within shared memory segment (SHM_IDX)
* (actually fewer bits get used since SHMMAX is so low)
* Keep SHMID_BITS as low as possible since SHMMNI depends on it and
* there is a static array of size SHMMNI.
#define SHMID_BITS 7
#define SHM_ID_MASK ((1<<_SHM_ID_BITS)-1)
#define SHM_IDX_SHIFT (_SHM_ID_BITS)
#define SHMIDX_BITS 15
#define SHM_IDX_MASK ((1<<_SHM_IDX_BITS)-1)
* SHMID_BITS + SHMIDX_BITS must be <= 24 on the i386 and
* SHMMAX <= (PAGE_SIZE << SHMIDX_BITS).
#define SHMMAX 0x2000000 /* max shared seg size (bytes) */
/* Try not to change the default shipped SHMMAX - people rely on it */
#define SHMMIN 1 /* really PAGE_SIZE */ /* min shared seg size (bytes) */
#define SHMMNI (1<<_SHM_ID_BITS) /* max num of segs system wide */
#define SHMALL /* max shm system wide (pages) */ \
(1<<(_SHM_IDX_BITS+SHMID_BITS))
#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
#define SHMSEG SHMMNI /* max shared segs per process */
#endif /* ASMI386SHMPARAM_H */
===================================================================
sem.h:
#ifndef LINUXSEM_H
#define LINUXSEM_H
#include <linux/ipc.h>
/* semop flags */
#define SEM_UNDO 0x1000 /* undo the operation on exit */
/* semctl Command Definitions. */
#define GETPID 11 /* get sempid */
#define GETVAL 12 /* get semval */
#define GETALL 13 /* get all semval's */
#define GETNCNT 14 /* get semncnt */
#define GETZCNT 15 /* get semzcnt */
#define SETVAL 16 /* set semval */
#define SETALL 17 /* set all semval's */
/* ipcs ctl cmds */
#define SEM_STAT 18
#define SEM_INFO 19
/* One semid data structure for each set of semaphores in the system. */
struct semid_ds {
struct ipc_perm sem_perm; /* permissions .. see ipc.h */
__kernel_time_t sem_otime; /* last semop time */
__kernel_time_t sem_ctime; /* last change time */
struct sem sem_base; / ptr to first semaphore in array */
struct sem_queue sem_pending; / pending operations to be processed */
struct sem_queue **sem_pending_last; /* last pending operation */
struct sem_undo undo; / undo requests on this array */
unsigned short sem_nsems; /* no. of semaphores in array */
/* semop system calls takes an array of these. */
struct sembuf {
unsigned short sem_num; /* semaphore index in array */
short sem_op; /* semaphore operation */
short sem_flg; /* operation flags */
/* arg for semctl system calls. */
union semun {
int val; /* value for SETVAL */
struct semid_ds buf; / buffer for IPC_STAT & IPC_SET */
unsigned short array; / array for GETALL & SETALL */
struct seminfo __buf; / buffer for IPC_INFO */
void *__pad;
struct seminfo {
int semmap;
int semmni;
int semmns;
int semmnu;
int semmsl;
int semopm;
int semume;
int semusz;
int semvmx;
int semaem;
#define SEMMNI 128 /* ? max # of semaphore identifiers */
#define SEMMSL 250 /* <= 512 max num of semaphores per id */
#define SEMMNS (SEMMNI*SEMMSL) /* ? max # of semaphores in system */
#define SEMOPM 32 /* ~ 100 max num of ops per semop call */
#define SEMVMX 32767 /* semaphore maximum value */
/* unused */
#define SEMUME SEMOPM /* max num of undo entries per process */
#define SEMMNU SEMMNS /* num of undo structures system wide */
#define SEMAEM (SEMVMX >> 1) /* adjust on exit max value */
#define SEMMAP SEMMNS /* # of entries in semaphore map */
#define SEMUSZ 20 /* sizeof struct sem_undo */
#ifdef __KERNEL__
/* One semaphore structure for each semaphore in the system. */
struct sem {
int semval; /* current value */
int sempid; /* pid of last operation */
/* One queue for each semaphore set in the system. */
struct sem_queue {
struct sem_queue * next; /* next entry in the queue */
struct sem_queue ** prev; /* previous entry in the queue, *(q->prev) == q */
struct wait_queue * sleeper; /* sleeping process */
struct sem_undo * undo; /* undo structure */
int pid; /* process id of requesting process */
int status; /* completion status of operation */
struct semid_ds * sma; /* semaphore array for operations */
struct sembuf * sops; /* array of pending operations */
int nsops; /* number of operations */
int alter; /* operation will alter semaphore */
/* Each task has a list of undo requests. They are executed automatically
* when the process exits.
struct sem_undo {
struct sem_undo * proc_next; /* next entry on this process */
struct sem_undo * id_next; /* next entry on this semaphore set */
int semid; /* semaphore set identifier */
short * semadj; /* array of adjustments, one per semaphore */
asmlinkage int sys_semget (key_t key, int nsems, int semflg);
asmlinkage int sys_semop (int semid, struct sembuf *sops, unsigned nsops);
asmlinkage int sys_semctl (int semid, int semnum, int cmd, union semun arg);
#endif /* __KERNEL__ */
#endif /* LINUXSEM_H */
=================================================================
Configure the Linux Kernel for Oracle8i
Configure the Linux kernel Interprocess Communication (IPC) parameters to accommodate the Shared Global Area (SGA) structure
of the Oracle8i Server. You will not be able to start up the database if the system does not have adequate shared memory to
accommodate the SGA.
1. Use the ipcs command to obtain a list of the current shared memory and semaphore segments of the system. and their
identification number and owner.
2. Set the following kernel parameters in:
/usr/src/linux/include/asm/shmparam.h and
/usr/src/linux/include/linux/sem.h
- maximum size of the shared memory segment (SHMMAX)
- minimum size of the shared memory segment (SHMMIN)
- maximum number of shared memory identifiers in the system (SHMMNI)
- maximum number of shared memeory segments a user process can attach (SHMSEG)
- maximum number of semaphore identifiers in the system (SEMMNI)
- maximum number of semaphores in a ser (SEMMSL)
- maximum number of semaphores in the system (SEMMNS)
- maximum number of operations per semop call (SEMOPM)
- semaphore maximum value (SEMVMX)
The total allowable shared memory is determined by the formula:
SHMMAX * SHMSEG
Table 2-1 shows the recommended settings. The recommended values are optimal for one instance and are based on the default
initsid.ora file. If you plan to install more than one instance, or to modify the initsid.ora file extensively, set these
parameters higher.
To set the kernel parameter for SEMMNS, use the formula in Table2-1. For example, consider a system that has three Oracle
instances with the PROCESSES parameter in their initsid.ora files set to the following values:
ORACLE_SID=A, PROCESSES=100
ORACLE_SID=B, PROCESSES=100
ORACLE_SID=C, PROCESSES=200
The value of SEMMNS is calculated as follows:
some formula i'm sure i don't have to worry about.
3. Rebuild the kernel if you have modified the kernel, shared memory, or semaphore parameters.Just in case anyone is having same problems, I discovered how to handle this:
linux kernels from major version 2.2 forward allow dynamic system settings at runtime. You can change the maximum size of shared memory, SHMMAX, for example by echoing the desired value to the appropriate parameter location in the running kernel. Edit the linux startup script file
/etc/rc.d/rc.local and add the following line:
echo 500001024 > /proc/sys/kernel/shmmax
this is an appropriate shared mem max for an SGA of 500,000,000 bytes.
(thanks Dan Jefferson http://www.dbatoolbox.com/WP2001/linux/linux1_nt1.pdf )
bye the bye - 8.1.5 - desupported by Oracle, install >= 8.1.6 on RH6.2 goes smooth...
Chris -
Error install IAS Infra 10.1.2.0.2
On a Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
When installing oracle ias infra 10.1.2.0.2 i got this error :
- Linking hsodbc agent
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_DisableClientAuthentication'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_CheckClientVerifyOptionalFlag'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_GlobalSetClientAuthenticationToOptional'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_SetClientSGCBehaviour'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_SetIOSemantics'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_GlobalDisableClientAuthentication'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_EnableClientAuthentication'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_SetCertRef'
/oracle/ora10ias2/OraHome_Infra/lib/libnnz10.so: undefined reference to `ssl_ModifyCipherSuites'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [oracle/ora10ias2/OraHome_Infra/rdbms/lib/hsodbc] Erreur 1
Any idea ?
Can't find anything good on metalink or when googling.
The only thing I found is a patch for linux on ibm system Z, which is not my case :(
Edited by: digcicg on 28 févr. 2011 02:38I'm thinking the OS is not set up correctly for 32-bit linking.
Software install
I selected the following package sets for the base install:
- X Window System
- Gnome Desktop Environment
- Graphical Internet
- Server Configuration Tools
- Development Tools
- Legacy Software Development
- Administrative Tools
- Printing Support
Software packages, check that these versions or higher versions are installed
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
binutils-2.15.92.0.2-13
compat-libstdc++-296-2.96-132.7.2
gcc-3.4.3-22.1 (You also need the plus plus)
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
openmotif21-2.1.30-11.RHEL4.4
pdksh-5.2.14-30
setarch-1.6-1
make-3.80-5
gnome-libs-1.4.1.2.90-44.1
sysstat-5.0.5-1
compat-db-4.1.25-9
control-center-2.8.0-12
xscreensaver-4.18-5.rhel4.2
(There are more but for some reason I'm not allowed to post them)
Kernel Parameter Settings
Edit the /etc/sysctl.conf file and add or edit lines similar to the following:
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 256 32000 100 142
fs.file-max = 206173
net.ipv4.ip_local_port_range = 10000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_moderate_rcvbuf = 0
net.ipv4.tcp_keepalive_time = 600
net.ipv4.tcp_keepalive_intvl = 60
net.ipv4.tcp_keepalive_probes = 20
net.ipv4.tcp_retries1 = 25
By specifying the values in the /etc/sysctl.conf file, they persist when you restart the system.
Set Shell Limits for the oracle User
Add the following lines to /etc/security/limits.conf file:
* soft nproc 2047
* hard nproc 16384
* soft nofile 2048
* hard nofile 65536
Each line follows this format:
<Tab><Tab>soft<Tab>nofile<Tab><Tab>16384
Add the following line to the /etc/pam.d/login file, if it does not already exist:
session required /lib/security/pam_limits.so
Depending on the oracle user's default shell, make the following changes to the default shell start-up file:
Check your /etc/profile file -
ORA-01034: Oralce not available
Hi,
I install oracle 8.1.7 on solaris 7...
lsnrctl & svrmgrl works good but i meet problem ...
SVRMGR> == any sql ===
---> ORA-01034: ORACLE not available
also at the creating database period, always shows oracle not available error...
How can I solve these problems?
Best RegardsHi William,
So what would you suggest those two parameters be set to?
P.S. I am having the same problem, except with Oracle8i 8.1.7 on Solaris.
Thanks,
Rupal Ok, SEMMSL & SEMMNS are both a function of the largest processes parameter in the init.ora
for the databases on the same system. The starter DB has 150 processes. The oracle formula
says 160 & 310 respectively. I believe the key is SEMMNS because it determines the number
of semaphores in the system.
Try 200 & 400 in /etc/system and reboot. That is probably a little overkill, but it should work.
Besides, when you add DBs you will need to adjust/tune those parameters anyway.
William Coldiron - SCSA
Maybe you are looking for
-
HT204150 All my contacts have disappeared from icloud and all my devices
I've just tried to use contacts on my iPhone (4S) to discover they have all disappeared. Checking my other devices, I discover they have disappeared from them also. Is there any chance of getting them back? I have tried recovering from Time Machine t
-
HT201272 wait just to be sure i am not the only one who has the "term and conditions" problem
wait just to be sure i am not the only one who has the "term and conditions" problem
-
Export function locks up Pre Pro
Hi All, Yesterday all worked well- I could Export from Pre Pro and generate FLV files. Today when I try the same thing Pre Pro locks up. I can use Encore but not Export (to Media-). When I close Pre Pro via the Start Task Manager a couple of tim
-
Client Id in use - WL6.1 sp3 server to server JMS messaging
Any feedback would be greatly appreciated. THANKS! -Alan May Scenario: Two weblogic 6.1 sp3 instances running on two separate Solaris 8 boxes. Server a - a message producer(client) for a number of topics and qu
-
How can you gift an app to a different user
I can only by software from the App store. I need 10 copys for this app to 10 differnt people using mac. app cost $10 and I need to be the one tha pays for it. How can I do this with macs? IE: in windows I buy 10 Keys and send each user a download li