cancel
Showing results for 
Search instead for 
Did you mean: 

Error message: ORA-27125: unable to create shared memory segment Linux-x86_

Former Member
0 Kudos

Hi,

I am doing an installtion of SAP Netweaver 2004s SR3 on SusE Linux 11/Oracle 10.2

But i am facing the follow issue in Create Database phase of SAPInst.

*********************************************************

An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 1: Operation not permitted Disconnected

***********************************************************

Please help me to resolve the issue.

Thanks,

Nishitha

Accepted Solutions (1)

Accepted Solutions (1)

former_member189725
Active Contributor
0 Kudos

Add the following lines to the "/etc/sysctl.conf" file.

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default=262144

net.core.rmem_max=262144

net.core.wmem_default=262144

net.core.wmem_max=262144

Run the following command to change the current kernel parameters.

/sbin/sysctl -p

Then restart SAPINST

Also check this thread.

[/thread/2268107 [original link is broken];

Edited by: Ratnajit Dey on Jan 4, 2012 2:40 PM

Former Member
0 Kudos

Hi,

I made changes to /etc/sysctl.config but i still get the same error in sapinst.

former_member189725
Active Contributor
0 Kudos

Can you provide the output of "cat /proc/meminfo"

Former Member
0 Kudos

MemTotal: 16469892 kB

MemFree: 10766156 kB

Buffers: 15732 kB

Cached: 505672 kB

SwapCached: 0 kB

Active: 869248 kB

Inactive: 250952 kB

Active(anon): 598904 kB

Inactive(anon): 44 kB

Active(file): 270344 kB

Inactive(file): 250908 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 33551712 kB

SwapFree: 33551712 kB

Dirty: 32 kB

Writeback: 0 kB

AnonPages: 598820 kB

Mapped: 66696 kB

Shmem: 128 kB

Slab: 311536 kB

SReclaimable: 21524 kB

SUnreclaim: 290012 kB

KernelStack: 2336 kB

PageTables: 6112 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 39689504 kB

Committed_AS: 550304 kB

VmallocTotal: 34359738367 kB

VmallocUsed: 319692 kB

VmallocChunk: 34359412008 kB

HardwareCorrupted: 0 kB

HugePages_Total: 2048

HugePages_Free: 2048

HugePages_Rsvd: 0

HugePages_Surp: 0

Hugepagesize: 2048 kB

DirectMap4k: 10240 kB

DirectMap2M: 16766976 kB

former_member189725
Active Contributor
0 Kudos

Can you set the following in limits.conf

soft nofile 131072

hard nofile 131072

soft nproc 131072

hard nproc 131072

soft core unlimited

hard core unlimited

soft memlock 50000000

hard memlock 50000000

Then try to start SAPINST from a new session.

Former Member
0 Kudos

Hi,

Its working now. Thanks a lot

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ratnajit,

I am too facing the same error but my ORACLE is not starting,

Here are my results of following command:

cat /etc/sysctl.conf

# created by /sapmnt/pss-linux/scripts/sysctl.pl on Wed Oct 23 22:55:01 CEST 2013

fs.inotify.max_user_watches = 65536

kernel.randomize_va_space = 0

##kernel.sem = 1250 256000 100 8192

kernel.sysrq = 1

net.ipv4.conf.all.promote_secondaries = 1

net.ipv4.conf.all.rp_filter = 0

net.ipv4.conf.default.promote_secondaries = 1

net.ipv4.icmp_echo_ignore_broadcasts = 1

net.ipv4.neigh.default.gc_thresh1 = 256

net.ipv4.neigh.default.gc_thresh2 = 1024

net.ipv4.neigh.default.gc_thresh3 = 4096

net.ipv6.neigh.default.gc_thresh1 = 256

net.ipv6.neigh.default.gc_thresh2 = 1024

net.ipv6.neigh.default.gc_thresh3 = 4096

vm.max_map_count = 2000000

##########################################

# Modified for SAP on 2013-10-24 07:14:17 UTC

#kernel.shmall = 2097152

kernel.shmall = 16515072

# Modified for SAP on 2013-10-24 07:14:17 UTC

#kernel.shmmax = 2147483648

kernel.shmmax = 67645734912

kernel.shmmni = 4096

# semaphores: semmsl, semmns, semopm, semmni

kernel.sem = 250 32000 100 128

fs.file-max = 65536

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 262144

net.core.rmem_max = 262144

net.core.wmem_default = 262144

net.core.wmem_max = 262144

And here is mine Limit.conf File

cat /etc/security/limits.conf

#<domain>      <type>  <item>         <value>

#

#*               soft    core            0

#*               hard    rss             10000

#@student        hard    nproc           20

#@faculty        soft    nproc           20

#@faculty        hard    nproc           50

#ftp             hard    nproc           0

#@student        -       maxlogins       4

# Added for SAP on 2012-03-14 10:38:15 UTC

#@sapsys          soft    nofile          32800

#@sapsys          hard    nofile          32800

#@sdba            soft    nofile          32800

#@sdba            hard    nofile          32800

#@dba             soft    nofile          32800

#@dba             hard    nofile          32800

# End of file

# Added for SAP on 2013-10-24

#               soft    nproc   2047

#               hard    nproc   16384

#               soft    nofile  1024

#               hard    nofile  65536

#########################################

@sapsys                 soft   nofile          131072

@sapsys                 hard   nofile         131072

@sdba                  soft  nproc          131072

@sdba                  hard   nproc         131072

@dba                 soft    core           unlimited

@dba                 hard     core          unlimited

                  soft     memlock       50000000

                  hard     memlock       50000000

##########################################################

Here is mine   cat /proc/meminfo

MemTotal:       33015980 kB

MemFree:        29890028 kB

Buffers:           82588 kB

Cached:          1451480 kB

SwapCached:            0 kB

Active:          1920304 kB

Inactive:         749188 kB

Active(anon):    1136212 kB

Inactive(anon):    39128 kB

Active(file):     784092 kB

Inactive(file):   710060 kB

Unevictable:           0 kB

Mlocked:               0 kB

SwapTotal:      33553404 kB

SwapFree:       33553404 kB

Dirty:              1888 kB

Writeback:             0 kB

AnonPages:       1135436 kB

Mapped:           161144 kB

Shmem:             39928 kB

Slab:              84096 kB

SReclaimable:      44400 kB

SUnreclaim:        39696 kB

KernelStack:        2840 kB

PageTables:        10544 kB

NFS_Unstable:          0 kB

Bounce:                0 kB

WritebackTmp:          0 kB

CommitLimit:    50061392 kB

Committed_AS:    1364300 kB

VmallocTotal:   34359738367 kB

VmallocUsed:      342156 kB

VmallocChunk:   34359386308 kB

HardwareCorrupted:     0 kB

AnonHugePages:    622592 kB

HugePages_Total:       0

HugePages_Free:        0

HugePages_Rsvd:        0

HugePages_Surp:        0

Hugepagesize:       2048 kB

DirectMap4k:       67584 kB

DirectMap2M:    33486848 kB

Please let me know where i am going wrong.

Wat thing basically u check on /proc/meminfo command

Regards,
Dipak