SAP installtion stopped - error cant create shared memory

Dear All,
Greetings!
We are trying to install SAP ECC 6.0 IDES system on Windows 2003 x64 Server and DB2 9.1, during the process of installation - in the step of Start Instance. The sapinst Gives Up! the process since the enqueue server is found in stopped state when the instance tries to start up.
I found the below given error message from the Developer Trace files of the enqueue server.
[Thr 1384] Sat May 09 18:21:13 2009
[Thr 1384] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c      719]
[Thr 1384] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c      793]
[Thr 1384] initialize_global: enqueue server without replication
[Thr 1384] Enqueue: EnqMemStartupAction Utc=1241873473
[Thr 1384] *** ERROR => [CreateOsShm] CreateFileMapping(37,65 KB) failed with Err=5
              ERROR_ACCESS_DENIED: Access is denied.  [shmnt.c      2174]
[Thr 1384] *** ERROR => ShmCreate: Create (37,67072,1) failed [shmnt.c      506]
To note - we had a virus attack on the server recently and an Anti-Virus tool was used to clean the server, after that I found most of the SAP folders in Read-Only mode.
I suspect any causes of the same for the above mentioned ACCESS_DENIED error. Currently I have allocated 28GB of swap size, but the SAP instance is not able to create a shared memory from the same I hope.
Num
Pagefile
Min.Size
Max.Size
Avail.Max
Curr.Size
1
c:\pagefile.sys
8192000 K
8192000 K
8192000 K
8192000 K
2
e:\pagefile.sys
10485760 K
10485760 K
10485760 K
10485760 K
3
f:\pagefile.sys
10485760 K
10485760 K
10485760 K
10485760 K
Please help me with your suggestions for the workaround,
- How will I be able to enable the swap size of the server to be used by the SAP instance?
- Is this the effect of the anti-virus or an aspect in windows server to change the folders and files to read-only after a virus attack?
I have tried the possibilities of adding more shared memory, removing the shared memory and restarting the OS and assigning back the same, but these dint prove useful.
Kindly help me with your suggestions.
Thank you
Regards,
Vineeth

Hi,
I would suggest you to go to run > services.msc
now try to manually stop / start the SAP<SID>_<nr> services. are you able to start it properly? If you get error here, that means SAP services not able to start as it has permission problem.
login with <sid>adm & reregister the service by running sapstartsrv.exe in <drive>:\usr\sap\SID\sys\exe. after you give the parameters and press ok, wait for sometime for the 'success' message.
once its done, then start sap in MMC.
another thread talks about similar kind of problem.
Shared Memory Ceation error when we install NW04S Java Stack.
Regards,
Debasis.

Similar Messages

  • TNS-01115: OS error 28 creating shared memory segment of 129 bytes

    hi
    we are operating a solaris v5.8 with 10 instances of 10.2.0.1 databases running. each with its own listener. the system shmmni=3600 and using ipcs all are being used causing the error TNS-01115: OS error 28 creating shared memory segment of 129 bytes to occur.
    The kernal parameters were set to be the same as a similiar server we have with the same configuration and more databases and that box uses only 53 memory segments
    Does anyone have any ideas as to what would make this happen?

    i wish i could. there was one db that was not needed so i just shut it down and stopped the listener. then took an ipcs -m reading. it returned 48 rows, instead of 3603 as it did when this particular db was up. in my haste i removed the db as it was not needed so i no longer have the logs to research. too bad on my part.
    well at least i have a fix but have no idea why this happened. thank you for your responses. greatly appreciated.

  • J2ee engine startup error- cant attach shared memory

    Hello Experts,
    We have upgraded ERP abap+java to EHP4 but J2ee engine is not coming up. It is giving the following errors. There are no issues on the abap side.
    Bootstrap logs are fine and are able to syncronize.
    Following is the dev_jcontrol log.
    JStartupIReadSection: read node properties [ID44702600]
    -> node name          : dispatcher
    -> node type          : dispatcher
    -> node execute       : yes
    -> java path          : /usr/j2se
    -> java parameters    : -Djava.security.policy=.\java.policy -Djava.security.egd
    =file:/dev/urandom -XX:NewSize=181M -XX:MaxNewSize=181M -XX:+DisableExplicitGC -
    verbose:gc -Xloggc:GC.log
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
    -> java vm type       : server
    -> java vm cpu        : sparcv9
    -> heap size          : 544M
    -> init heap size     : 544M
    -> root path          : /usr/sap/DV2/DVEBMGS04/j2ee/cluster/dispatcher
    -> class path         : ./bin/boot/boot.jar:./bin/system/bytecode.jar:.
    -> OS libs path       : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
    xe/run/jvmx.jar
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    [Thr  1] [Node: server0] java home is set by profile parameter
            Java Home: /usr/j2se
    [Thr  1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/D
    V2/SYS/exe/run/jvmx.jar
    JStartupIReadSection: read node properties [ID44702650]
    -> node name          : server0
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : /usr/j2se
    -> java parameters    : -Djava.security.policy=./java.policy -Djava.security.egd
    =file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg
    .omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi
    .CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jt
    s.ots.PortableInterceptor.JTSInitializer -Djco.jarm=1 -Dsun.io.useCanonCaches=fa
    lse -XX:NewSize=341m -XX:MaxNewSize=341m -XX:MaxPermSize=192m -Djava.awt.headles
    s=true -XX:PermSize=192m -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -XX:Soft
    RefLRUPolicyMSPerMB=1 -verbose:gc -XX:DisableExplicitGC -XX:PrintGCDetails -XX
    :PrintGCTimeStamps -XX:UseParNewGC -Drdbms.driverLocation=/oracle/DV2/920_64/j
    dbc/lib/classes12.jar -Dsys.global.dir=/sapmnt/DV2/global -Xms2048m
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
    -> java vm type       : server
    -> java vm cpu        : sparcv9
    -> heap size          : 2048M
    -> init heap size     : 1024M
    -> root path          : /usr/sap/DV2/DVEBMGS04/j2ee/cluster/server0
    -> class path         : ./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/byt
    ecode.jar:.
    -> OS libs path       : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
    xe/run/jvmx.jar
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 50421
    -> shutdown timeout   : 120000
    [Thr  1] [Node: server1] java home is set by profile parameter
            Java Home: /usr/j2se
    [Thr  1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/D
    V2/SYS/exe/run/jvmx.jar
    JStartupIReadSection: read node properties [ID44702651]
    -> node name          : server1
    -> node type          : server
    -> node execute       : yes
    -> java path          : /usr/j2se
    -> java parameters    : -Djava.security.policy=./java.policy -Djava.security.egd
    =file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg
    .omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi
    .CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jt
    s.ots.PortableInterceptor.JTSInitializer -Djco.jarm=1 -XX:MaxPermSize=192M -XX:P
    ermSize=192M -XX:NewSize=170M -XX:MaxNewSize=170M -XX:+DisableExplicitGC -verbos
    e:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:PrintGCTimeStamps -Djava.awt.headle
    ss=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:Survivor
    Ratio=2 -XX:TargetSurvivorRatio=90 -Dorg.omg.PortableInterceptor.ORBInitializerC
    lass=com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
    -> java vm type       : server
    -> java vm cpu        : sparcv9
    -> heap size          : 2048M
    -> init heap size     : 1024M
    -> root path          : /usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1
    -> class path         : ./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/byt
    ecode.jar:.
    -> OS libs path       : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
    xe/run/jvmx.jar
    -> parameters         :
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 50426
    -> shutdown timeout   : 120000
    [Thr  1] INFO: Invalid property value [Debbugable=yes]
    [Thr  1] [Node: SDM] java home is set by profile parameter
            Java Home: /usr/j2se
    [Thr  1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/D
    V2/SYS/exe/run/jvmx.jar
    JStartupIReadSection: read node properties [sdm]
    -> node name          : SDM
    -> node type          : sdm
    -> node execute       : yes
    -> java path          : /usr/j2se
    -> java parameters    :
    -> java vm version    : 1.4.2_08-b03
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
    -> java vm type       : server
    -> java vm cpu        : sparcv9
    -> heap size          : 512M
    -> root path          : /usr/sap/DV2/DVEBMGS04/SDM/program
    -> class path         : /usr/sap/DV2/DVEBMGS04/SDM/program/bin/SDM.jar
    -> OS libs path       : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
    -> main class         : SDMInternal
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
    xe/run/jvmx.jar
    -> shutdown class     : com.sap.sdm.jstartup.shutdown.InternalShutDown
    -> parameters         : server sdmhome=/usr/sap/DV2/DVEBMGS04/SDM/program
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    [Thr  1] ***LOG Q0I=> NiIWrite: writev (32: Broken pipe) [nixxi.cpp 3803]
    [Thr  1] *** ERROR => NiIWrite: SiSendV failed for hdl 2 / sock 13
        (SI_ECONN_BROKEN/32; UD; ST; 172.20.40.15:3601) [nixxi.cpp    3803]
    [Thr  1] *** ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi_mt.c   24
    80]
    [Thr  1] *** ERROR => MsIDetach: MsINiWrite (rc=NIECONN_BROKEN) [msxxi_mt.c   11
    46]
    [Thr  1]
    [Thr  1] *  ERROR       mserrno received (MSEACCESSDENIED)
    [Thr  1] *
    TIME        Wed Oct  6 14:34:06 2010
    [Thr  1] *  RELEASE     700
    [Thr  1] *  COMPONENT   MS (message handling interface, multithreaded)
    [Thr  1] *  VERSION     4
    [Thr  1] *  RC          -24
    [Thr  1] *  MODULE      msxxi_mt.c
    [Thr  1] *  LINE        810
    [Thr  1] *  COUNTER     2
    [Thr  1] *
    [Thr  1] *****************************************************************************
    [Thr  1] *** WARNING => Can't attach to message server (aeerpdv1/3601) [rc = -20]-> reconnect [jcntrms_mt.c 368]
    [Thr  1] Wed Oct  6 14:34:11 2010
    [Thr  1] ***LOG Q0I=> NiIWrite: writev (32: Broken pipe) [nixxi.cpp 3803]
    [Thr  1] *** ERROR => NiIWrite: SiSendV failed for hdl 2 / sock 13
        (SI_ECONN_BROKEN/32; UD; ST; 172.20.40.15:3601) [nixxi.cpp    3803]
    [Thr  1] *** ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi_mt.c   2480]
    [Thr  1] *** ERROR => MsIDetach: MsINiWrite (rc=NIECONN_BROKEN) [msxxi_mt.c   1146]
    [Thr  1]
    [Thr  1] *  ERROR       mserrno received (MSEACCESSDENIED)
    [Thr  1] *
    TIME        Wed Oct  6 14:34:11 2010
    [Thr  1] *  RELEASE     700
    [Thr  1] *  COMPONENT   MS (message handling interface, multithreaded)
    [Thr  1] *  VERSION     4
    [Thr  1] *  RC          -24
    [Thr  1] *  MODULE      msxxi_mt.c
    [Thr  1] *  LINE        810
    [Thr  1] *  COUNTER     4
    [Thr  1] *
    [Thr  1] *****************************************************************************
    [Thr  1] *** WARNING => Can't attach to message server (aeerpdv1/3601) [rc = -20]-> reconnect [jcntrms_mt.c 368]
    [Thr  1] Wed Oct  6 14:34:16 2010
    [Thr  1]
    Please advise and help.
    Thanks,
    Antarpreet

    Hello Sunny,
    Thanks for your help.
    All the other relavant logs look fine to me. The default traces of server0, server1 are not being populated. Niether is there any change in dispatcher and bootstrap logs.
    Here are the other logs:
    aeerpdv1:dv2adm 127% tail -20 dev_bootstrap_ID44702650
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    [Thr  4] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server0 bootstrap]
    -> arg[  0]: com.sap.engine.bootstrap.Bootstrap
    -> arg[  1]: ./bootstrap
    -> arg[  2]: ID044702650
    [Thr  4] Thu Oct  7 01:44:54 2010
    [Thr  4] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr  5] Thu Oct  7 01:44:57 2010
    [Thr  5] JLaunchIExitJava: exit hook is called (rc = 0)
    [Thr  5] SigISetIgnoreAction : SIG_IGN for signal 18
    [Thr  5] JLaunchCloseProgram: good bye (exitcode = 0)
    aeerpdv1:dv2adm 128%
    aeerpdv1:dv2adm 128% tail jvm_bootstrap_ID44702651.out
    ...Synched ok!
    Synchronizing file [/usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1/dtd/application-j2ee-engine.dtd].
    ...Synched ok!
    Synchronizing file [/usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1/dtd/application-client-additional.dtd].
    ...Synched ok!
    Synchronizing file [/usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1/dtd/db-init.dtd].
    ...Synched ok!
    Ok! (46 ms)
    Done!
    Synch time: 3537 ms
    aeerpdv1:dv2adm 131% tail dev_bootstrap_ID44702651
    [Thr  4] Thu Oct  7 01:45:00 2010
    [Thr  4] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr  5] Thu Oct  7 01:45:03 2010
    [Thr  5] JLaunchIExitJava: exit hook is called (rc = 0)
    [Thr  5] SigISetIgnoreAction : SIG_IGN for signal 18
    [Thr  5] JLaunchCloseProgram: good bye (exitcode = 0)
    tail dev_disp
    Thu Oct  7 01:42:40 2010
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 3355
      argv[0] = /usr/sap/DV2/DVEBMGS04/j2ee/os_libs/jcontrol
      argv[1] = jcontrol
      argv[2] = pf=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64996
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=DV2
      argv[7] = -DSAPMYNAME=aeerpdv1_DV2_04
      argv[8] = -DSAPPROFILE=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Thu Oct  7 01:44:09 2010
    *** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c   1212]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    Thu Oct  7 01:44:20 2010
    DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
    Thu Oct  7 01:44:40 2010
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 3417
      argv[0] = /usr/sap/DV2/DVEBMGS04/j2ee/os_libs/jcontrol
      argv[1] = jcontrol
      argv[2] = pf=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64995
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=DV2
      argv[7] = -DSAPMYNAME=aeerpdv1_DV2_04
      argv[8] = -DSAPPROFILE=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Thu Oct  7 01:46:09 2010
    *** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c   1212]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    Thu Oct  7 01:46:20 2010
    DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
    Thu Oct  7 01:46:40 2010
    DpHdlDeadWp: restart wp (pid=3015) automatically
    DpEnvCheckJ2ee: switch off j2ee start flag
    Please help, struck in a very bad situation.
    Regards,
    Antarpreet

  • Oracle 11g problem with creating shared memory segments

    Hi, i'm having some problems with the oracle listener, when i'm trying to start it or reload it I get the follow error massages:
    TNS-01114: LSNRCTL could not perform local OS authentication with the listener
    TNS-01115: OS error 28 creating shared memory segment of 129 bytes with key 2969090421
    My system is a: SunOS db1-oracle 5.10 Generic_144489-06 i86pc i386 i86pc (Total 64GB RAM)
    Current SGA is set to:
    Total System Global Area 5344731136 bytes
    Fixed Size 2233536 bytes
    Variable Size 2919238464 bytes
    Database Buffers 2399141888 bytes
    Redo Buffers 24117248 bytes
    prctl -n project.max-shm-memory -i process $$
    process: 21735: -bash
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-memory
    privileged 64.0GB - deny
    I've seen that a solution might be "Make sure that system resources like shared memory and heap memory are available for LSNRCTL tool to execute properly."
    I'm not exactly sure how to check that there is enough resources?
    I've also seen a solution stating:
    "Try adjusting the system-imposed limits such as the maximum number of allowed shared memory segments, or their maximum and minimum sizes. In other cases, resources need to be freed up first for the operation to succeed."
    I've tried to modify the "max-sem-ids" parameter and set it to recommended 256 without any success and i've kind of run out of options what the error can be?
    /Regards

    I see, I do have the max-shm-ids quite high already so it shouldn't be a problem?
    user.oracle:100::oracle::process.max-file-descriptor=(priv,4096,deny);
    process.max-stack-size=(priv,33554432,deny);
    project.max-shm-memory=(priv,68719476736,deny)

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

    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

    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

  • Cannot create Shared Memory

    Hi,
    For maintenance activity we have restarted the system. When I checked in
    ST06 for os collecotor is not running and "warning: cannot create shared memory".  Then I have performed the following commands at OS level
    saposcol u2013d
    Collector > clean
    Collector > quit
    saposcol -k to stop the collector.
    Before restarting
    saposcol -d
    Collector > leave (You should get a message Shared memory deleted)
    Collector > quit
    move the coll.put file
    saposcol u2013f(Start the saposcol)
    When I executed the last command. I got message saying that "Cannot create Shared Memory"
    Environment:
    Windows 2003 cluser environment.
    4.6c
    oracle 10g
    Thanks and Regards
    Satya

    Hi Sergo,
    No, but I restarted the SAP, DB and SAPOSCOL. SAPOSCOL is up and running but there is waring mmessage in log file as
    02:27:11 19.04.2010   LOG: ====================================================================================
    02:27:11 19.04.2010   LOG: =                           OS Collector Start
    02:27:11 19.04.2010   LOG: ====================================================================================
    02:27:11 19.04.2010   LOG: Starting C:\WINDOWS\SapCluster\SAPOSCOL.EXE
    02:27:11 19.04.2010   LOG: Saposcol Version is [COLL 20.79 03/08/22 46D - 20.46 NT 04/08/01]
    02:27:11 19.04.2010   LOG: Allocate Counter Buffer [10000 Bytes]
    02:27:11 19.04.2010   LOG: Allocate Instance Buffer [10000 Bytes]
    02:27:11 19.04.2010   LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
    02:27:11 19.04.2010   LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
    02:27:11 19.04.2010   LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
    02:27:11 19.04.2010   LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
    02:27:11 19.04.2010   LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
    02:27:11 19.04.2010   LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
    02:27:11 19.04.2010   LOG: INFO: saposcol's shared memory size is 86420.
    02:27:11 19.04.2010   LOG: Connected to existing shared memory !
    02:27:11 19.04.2010   LOG: MaxRecords = 637 <> RecordCnt + Dta_offset = 751 + 61
    02:27:16 19.04.2010 WARNING: WaitFree: could not set new shared memory status after 5 sec
    02:27:16 19.04.2010 WARNING: Cannot create Shared Memory
    When I trying to stop the SAPOSCOL service. I got the message saying that
    " Could not stop the SAPOSCOL service on Local Computer.
    Error 1053: The service did not respond to the start or control request in a timely fashion."
    and it stopped the SAPOSCOL.
    Then I am able to start SAPOSCOL.
    The strange thing is in my environment, there are OS 10 drives but now I can see only 3 drives c, p and q.
    Regards
    Satya

  • Help with error:"ora-27101 shared memory realm does not exist"

    Hello friends of the forum:
    I would like to help me with a question imortante I am very new to this aspect of oracle:
    And install Oracle 11g on win "view" and followed the steps in the installation of l at the start page www.oracle.com funcionava all fine, but after a month of any change:
    The database does not start qe and get an error "ora-27101 shared memory realm does not exist".
    At first and solved momentarily reboot oracle service ...... but after a while does not work but I can not conextar to leave the base because this errror ......
    The database is a lapto instalao .... and I have 100gb of free space and 4 gb of memory do not understand why this happens .....
    I have to do so you can have acces oracle based ...
    I can help with this problem .... thanks ....
    I like to see that show me with pictures as I am new in this aspect of oracle .... and want to learn it .... thank you very much

    Hello friend..
    The error you are getting *"ORA-27101: shared memory realm does not exist"* may be coz you are trying to connect to your database which is already shutdown not as sysdba user but as some other user, becoz of which you are getting this error. It sometimes happen that the service of the database is already started but when you try to connect to a shutdown database as users other then sys even having the DBA priviledges you cannot connect to database.
    Try to connect as SYS user hope your problem will be resolved.
    Deepak Sharma

  • Linker Error while creating shared object.

    While creating shared object we got "file processing error".
    Below is our compilation line and the error out put.
    ==================
    /net/icom3/opt//SUNWspro/SC5.0/bin/CC -o fn_ctx_onc_fn_files.so.1 -G -h fn_ctx_onc_fn_files.so.1 -z text -z defs -z combreloc -norunpath -nolib -Qo
    ption ld -R/usr/lib/fn pics/FNSP_filesOrgContext_default.o pics/FNSP_filesFlatContext_default.o pics/fnsp_internal_common.o pics/FNSP_nisAddress.o
    pics/FNSP_nisOrgContext_default.o pics/FNSP_nisFlatContext_default.o pics/FNSP_hash_function.o pics/FNSP_filesHierContext.o pics/FNSP_filesDotC
    ontext.o pics/FNSP_filesFlatContext.o pics/FNSP_filesHUContext.o pics/FNSP_filesWeakSlashContext.o pics/FNSP_filesPrinternameContext.o pics/FNSP_
    filesPrinterObject.o pics/FNSP_filesOrgContext.o pics/FNSP_filesImpl.o pics/fnsp_files_internal.o pics/onc_fn_files.o -lnsl -lc -L/user/vts/X
    FN_CHECK/jnk/usr/lib/fn -lxfn -lfn_spf -lfnsp -lfn_p
    ld: fatal: File processing errors. No output written to fn_ctx_onc_fn_files.so.1
    ==================================
    Thanks in advance.
    -Lokesh MS

    Hi,
    The maximum length supported by one CHAR type infoobject is 60. Check whether you have assigned more.
    If you have to load more length ( more than 60) split the total thing into different infoobjects. Create different infoobjects and split the total thing into them - like 1st 60 char in 1st infoobject, char 61-120 in 2nd infoobject and so on. Then you can again concatenate them.
    Thanks,
    Indrashis

  • ERROR - ORA-01034: shared memory realm does not exist

    Hallo!I am a newbie in Oracle in Linux.I have just installed Oracle 10g in Oracle Eenterprise Linux version 4 Update 7.The installation was successful and I could
    work with sqlplus,isqlplus and Enterprise Manager.When I restarted my machine,I manually started the listener,OEM and isqlplus which started successfully.
    However,when I try to log into OEM and isqlplus,the error message below appears
    ERROR - ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory
    How do I resolve this?
    Thanks.

    4joey1 wrote:
    However,when I try to log into OEM and isqlplus,the error message below appears
    ERROR - ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory An Oracle instance consists of a number of Oracle server processes (the limbs) and a shared memory area (the brain). Each and every server process participating in that Oracle instance needs to attach to the shared memory area.
    The error message you see, states that the server process (launched in order to service your sqlplus/OEM client), failed to find and attach to this shared memory segment.
    Two basic reasons for the failure.
    The Oracle instance is not running. There are no shared memory area and Oracle server processes running for that instance. Solution: start up the database instance.
    The server process was launched with the incorrect parameters (ORACLE_SID specifically) and attempted to attach to shared memory that does not exist. Solution: review the TNS/JDBC parameters of the client connection and configuration of the Oracle Listener to ensure that a server process launched to service a client, does so with the correct parameters and environment.

  • Icloud restore error "Cant Create AppleID"

    I have an iPhone 4 and a 4s i purchased to replace the 4. I did an iCloud backup on the 4 to restore to the 4s successfully. On the 4s i did erase all content and settings and then try to restore from icloud backup. I enter my AppleID and pw, takes me to the agree to conditions screen, i click agree and then get a message "Cant Create AppleID" and all i can do is click OK.  Now, i have two AppleIDs. When i use the other AppleID it accepts this and I can move forward but the other ID has the storage plan plus the backup of my device. I tried removing all devices from 'Find My iPhone' under this appleID but this didnt help.
    Both devices are iOS 7.0.4
    Any advice?

    Freddie,
    I associated my Apple ID in their system as an Apple Reseller account because I was working for a third-party Apple Authorized Dealer a few months ago.  After that point, this is when I noticed this happened.
    Tier 2 of AppleCare told me they believe this is the reason I've been having problems being able to restore because Apple Reseller accounts are not "iCloud Eligible"
    I replied and told them it was ok for them to remove my account as reseller status and after multiple attempts to reach the advisor assigned to my case, he stopped responding.
    I fear I may be out of luck.  Are you by any chance an Apple reseller or associated with an Apple reseller?

  • Sap Screen Persona Error while Creating Flavour

    Hi! All,
              When I am trying to copy and create a flavour in the Web_UI of SAP Persona I am getting below error. Please guide as I am new to this
    Regards,
    Ashutosh

    Hi,
    Are you able to verify the role assigned to the user on Personas admin transaction at the first place?
    Below details only if you are not sure where and how to verify
    1. Go to t-code - /n/PERSOS/ADMIN_UI 
    2. Go to User Management->User Maintenance-> Enter SAP userid at 'User' field -> Click on 'Show Users' -> Select the row displyed on the table below -> Click on 'Manage Systems'
    3. Should see below pop-up and use Full_Edit_Access role from the drop down
    Regards,
    Geetha

  • Compilation error in creating shared library via JNI

    Hi ALL,
    I amin serious trouble with a problem. I am developing a Simulator, a function of which is to decode MPEG-2 Video files in real time and play it as well.I have got a MPEG-2 Decoder implemented in C from an open source and need to integrate with my Simulator which is writtebn in Java. The integration part I am doing via JNI(Java Native Interface). Now I have a bunch of C files in MPEG-2 decoder which are to be compiled during the Execution of the Java Simulator.Can anybody give some idea about how to call multiple C files from the Java Source through JNI at one go? Another problem I am facing is in calling a single C code from the traditional "HelloWorld" Java Code itself. The problem comes when I am trying to compile the shared library between the C native code and Java Code in my Linux Machine...I am getting the following message:
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0 : In function '_start' :
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0(.text+0x18): undefined reference to 'main'
    collect2: ld retrurned 1 exit status
    What does the above errot mean? How to rectify it.It will be of great help if you anybody can give me clues.

    It means that your compiler options are wrong.
    You need to create a shared library.
    Instead you are creating an executable, which is not the same as a shared library.
    If you search this forum you will find posts with command line options that work.

  • After Effects Error: Cant create Gwolrd - PLEASE PLEASE HELP!!

    I have the infamous error After Effects Error: Can't create Gworld which is about to loose me 7 weeks of work.
    I have looked on every forum and no one has found a solustion PLEASE PLEASE HELP ME!!! I get is on cs3 and on cs4 trial including patch 9.02
    thankyou in advance

    Dèja-vu? CGTalk ( http://forums.cgsociety.org/showthread.php?f=10&t=772603) ?. If so, please let us know so people can skip this thread.
    Mylenium

  • Cant create Shared Mailbox

    Windows Live ID "user@<domain.com>" already exists as a managed Windows Live ID. To use the existing
    Windows Live ID, use the UseExistingLiveId parameter.
    What can be the issue..?

    Are you trying to create a shared mailbox in Office 365 or on an on premise Exchange?
    Yes... and I'm having the same problem.

  • FATAL: shared memory region is being held at - Error when installing SAP with sapinst

    Hi guys
    This error is kinda odd since i have installed 3 systems under the same OS/DB Conditions
    Windows 2012 R2 with ASE 15.7.
    14GB Memory
    30GB PageFile
    Firewall Off
    On the previous two systems, when executing a System Copy using an Export File it completed with no problems.
    On this System Installation, during ASE Server Setup, SAPINST fails, checking ASE logs it seems releted to memory, but I cant figure out what is the problem since 14GB would be enough, and it never happened on the previous installations.
    Any idea what could be causing this?
    init logs.
    Finished loading file 'charset.loc'.
    03/13/15 06:23:20 AM End output from 'charset'.
    03/13/15 06:23:20 AM Character set 'utf8' has been successfully installed.
    03/13/15 06:23:20 AM Task succeeded: install a character set(s).
    03/13/15 06:23:20 AM Running task: set the default character set and/or default
                         sort order for the Adaptive Server.
    03/13/15 06:23:20 AM Setting the default character set to utf8
    03/13/15 06:23:20 AM Sort order 'binary' has already been installed.
    03/13/15 06:23:21 AM SQL command: exec sp_configure 'default character set id',
                         190, binary
    03/13/15 06:23:21 AM SQL command: exec sp_configure 'default sortorder id', 25,
                         utf8
    03/13/15 06:23:21 AM Sort order 'binary' has been successfully set to the
                         default.
    03/13/15 06:23:23 AM SQL command: shutdown
    03/13/15 06:23:25 AM Waiting 15 seconds for the operating system to reclaim
                         resources before rebooting.
    03/13/15 06:23:45 AM Calling the shell with
                         '"J:\sybase\AEC\ASE-15_0\bin\sqlsrvr.exe"
                         -d"J:\sybase\AEC\sybsystem\master.dat" -sAEC
                         -e"J:\sybase\AEC\ASE-15_0\install\AEC.log"
                         -i"J:\sybase\AEC\ini" -M"J:\sybase\AEC\ASE-15_0" '.
    03/13/15 06:23:55 AM Calling the shell with '0 = return code.'.
    03/13/15 06:24:11 AM Calling the shell with
                         '"J:\sybase\AEC\ASE-15_0\bin\sqlsrvr.exe"
                         -d"J:\sybase\AEC\sybsystem\master.dat" -sAEC
                         -e"J:\sybase\AEC\ASE-15_0\install\AEC.log"
                         -i"J:\sybase\AEC\ini" -M"J:\sybase\AEC\ASE-15_0" '.
    03/13/15 06:24:11 AM waiting for server 'AEC' to boot...
    03/13/15 06:24:21 AM SERVER ERROR: Failed to boot server 'AEC'.
    03/13/15 06:24:21 AM SERVER ERROR: Couldn't reboot server 'AEC' after changing
                         internal tables.
    03/13/15 06:24:25 AM CONNECTIVITY ERROR: Open Client message: 'ct_connect():
                         network packet layer: internal net library error: Net-Lib
                         protocol driver call to connect two endpoints failed
                         Failed to connect to the server - Error is 10061 No
                         connection could be made because the target machine
                         actively refused it.
    03/13/15 06:24:25 AM CONNECTIVITY ERROR: Initialization of auditinit
                         connectivity module failed.
    03/13/15 06:24:25 AM Task failed: set the default character set and/or default
                         sort order for the Adaptive Server. Terminating
                         configuration.
    03/13/15 06:24:25 AM Configuration failed.
    03/13/15 06:24:25 AM Exiting.
    03/13/15 06:24:25 AM The log file for this session is
                         'J:\sybase\AEC\ASE-15_0\init\logs\log0313.007'.
    03/13/15 06:24:25 AM Log close.
    Install Log
    00:0000:00000:00000:2015/03/13 06:24:13.07 kernel  SySAM: Using licenses from: J:\sybase\AEC\\SYSAM-2_0\licenses\SYBASE.lic;J:\sybase\AEC\\SYSAM-2_0\licenses\SYBASE_ASE_DE.lic
    00:0000:00000:00000:2015/03/13 06:24:13.70 kernel  SySAM: Checked out license for 2 ASE_CORE (2020.1231/permanent/100C 0F04 3F88 1821).
    00:0000:00000:00000:2015/03/13 06:24:13.70 kernel  This product is licensed to: SAP, for use with SAP Business Applications.
    00:0000:00000:00000:2015/03/13 06:24:13.70 kernel  Checked out license ASE_CORE
    00:0000:00000:00000:2015/03/13 06:24:13.70 kernel  Adaptive Server Enterprise (Enterprise Edition)
    00:0000:00000:00000:2015/03/13 06:24:13.71 kernel  Using config area from primary master device.
    00:0000:00000:00000:2015/03/13 06:24:13.71 kernel  Warning: Using default file 'J:\sybase\AEC\AEC.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
    00:0000:00000:00000:2015/03/13 06:24:13.73 kernel  Allocating a shared memory segment of size 131137536 bytes.
    00:0000:00000:00000:2015/03/13 06:24:13.73 kernel  WARNING: shared memory segment is being held by another application
    00:0000:00000:00000:2015/03/13 06:24:13.75 kernel  FATAL: shared memory region is being held at 131104768 bytes but 131137536 bytes are required
    00:0000:00000:00000:2015/03/13 06:24:13.75 kernel  kbcreate: couldn't create kernel region.
    00:0000:00000:00000:2015/03/13 06:24:13.75 kernel  kistartup: could not create shared memory
    Best
    Martin

    After implementing solution in Note 2011550 - SYB: SAP ASE on Windows fails to start, issue was fixed

Maybe you are looking for