Start/Stop SAP Listener by Scheduler

Hello,
is there any way to start and stop a SAP Listener of a SAP Business Connector 4.8 by a Scheduled Task?
Thank you.
Best regards,
Rainer

Rodrigo,
esse espaço é de HANA em Portugues.
Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
SAP HANA and In-Memory Computing
Vou bloquear essa thread agora.
Abs,
Henrique.

Similar Messages

  • Batch / script file to start /stop sap server

    Hi,
       I would like to start/stop SAP server using batch file (in windows). I need this, whenever we have to shutdown the server and restart of the server, so that SAP will automatically shutdown and restart using batch files while server restart cases? If anyone knows, please let me know. Thanks,
    Regards,
    Sundar.

    target of the 700 sapstartsrv improvement was to deliver identical functionality on all SAP platforms. As the DCOM programing model is only available on Windows platforms sapstartsrv.exe was enhanced by the WEB-Service interface and is available now on Unix too.
    The DCOM SAPControl interface of sapstartsrv.exe is still existing, but only on Windows. Here you can use VB Script or any other programming language able to handle DCOM objects to write your own programs / scripts to interact with the SAPControl.
    sapcontrol.exe is a command line program available since 700 which enables you control over nearly all functions of the sapstart service.
    Even it has the same name as the DCOM interface it' something completly different.
    regards
      Peter
    PS: sapcontrol syntax
    usage: sapcontrol [
                       -prot GSOAP_HTTP| http using gsoap build in sockets (default)
                             NI_HTTP|    http using SAP NI sockets (prefer Unix domain sockets)
                             NI_HTTPS|   https using SAP NI sockets (prefer Unix domain sockets)
                             WINHTTP|    http using Windows winhttp
                             WINHTTPS|   https using Windows winhttp
                             PIPE        Windows named pipes
                       [-user <user> <password>] OS user and password for Webservice authentication
                       [-repeat <N> <D>]         Repeat Webmethod call <N> times (-1=forever) with <D> sec delay
                        -format list|            List output format (default)
                                script           Script output format
                       [-host <hostname>]        Host to connect to (default: localhost)
                       -nr <instance nr.>        SAP Instance number to connect to
                       -function <Webmethod> [parameter list]
    Webmethods: Start
                Stop [softtimeout sec]
                Shutdown
                RestartInstance [softtimeout sec]
                StopService
                StartService <SID>
                RestartService
                ParameterValue [<parameter>]
                GetStartProfile
                GetTraceFile
                GetAlertTree
                GetAlerts
                GetEnvironment
                GetVersionInfo
                GetQueueStatistic
                GetProcessList
                GetInstanceProperties
                ListDeveloperTraces
                ReadDeveloperTrace <filename> <filesize>
                ListLogFiles
                ReadLogFile <filename> [<filter> [<language> [<maxentries> [<cookie>]]]]
                AnalyseLogFiles [<severity 0-2>] [<maxentries>] [<starttime YYYY MM DD HH:MM:SS> <endtime YYYY MM DD HH:MM:S
    S>]
                OSExecute <command> <async> <timeout> <protocolfile>
                SendSignal <pid> <signal>
                GetSystemInstanceList
                StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [<waittimeout sec>]]
                StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
                RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
                AccessCheck <function>
                ABAPReadSyslog
                ABAPReadRawSyslog
                ABAPGetWPTable
                J2EEControlProcess <processname> <function>
                J2EEGetProcessList
                J2EEGetThreadList
                J2EEGetSessionList
                J2EEGetCacheStatistic
                J2EEGetApplicationAliasList
                J2EEGetVMGCHistory
                J2EEGetVMHeapInfo
                StartWait <timeout sec> <delay sec>
                StopWait <timeout sec> <delay sec>
                WaitforStarted <timeout sec> <delay sec>
                WaitforStopped <timeout sec> <delay sec>
    Exitcode: 0: Last Webmethod call successfull
              1: Last Webmethod call failed, invalid parameter
              2: StartWait, StopWait, WaitforStarted, WaitforStopped timed out
              3: GetProcessList succeeded, all processes running correctly
              4: GetProcessList succeeded, all processes stopped
    Security: Trusted connects without user and password check are possible through
              Unix domain socket or Windows named pipes. Protected webmethods like
              Start or Stop require a trusted connection or OS user and password
              authentication.

  • How to start & stop SAP J2EE services.

    Hello,
    Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.
    Regards,
    Murali

    Hi,
    In windows,
    go to SAP management console,Right click on the SID and then <b>start all tasks</b>
    similarly to stop,Right click,
    <b>stop all tasks</b>
    If it is linux machine,
    switch to SIDadm user,by giving the command <b>su sidadm</b>
    ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.
    For troubleshooting,
    1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log
    look for <b>defaulttrace.trc file.</b>
    you can get to know the errors here and find teh root cause of it.
    2.you can also look for <b>devp_trace</b> in SAPmanagement console.
    3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.
    4.check id <b>DB is up and running.</b>
    reward points if helpful
    Message was edited by:
            usha rani

  • Start/Stop SAP Hana on SAP Hana Studio - Authentication Method

    Hi dear SAP Hana Colleagues !
    For security reasons, the Security Team is disabling the password authentication of SAP OS Users (<sid>adm). The password will be setted up as "locked" in the /etc/passwd file, to block "intearactive logins".
    As we know and as discribed in the section 2.2 of "SAP Hana Administrator's Guide", to stop/start SAP Hana Systems by SAP Hana Studio, we need to provide the "user/password" data to execute these actions, and this will not be possible if the password has remaining as "locked" in the OS.
    Are there another way to authenticate the <sid>adm user from SAP Hana Studio to execute the stop/start of SAP Hana System ?
    I'll wait your answers.
    Best regards,
    Rodrigo A. Botelho

    Rodrigo,
    esse espaço é de HANA em Portugues.
    Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
    SAP HANA and In-Memory Computing
    Vou bloquear essa thread agora.
    Abs,
    Henrique.

  • Start/Stop SAP 4.7 at DOS Level - How?

    Would like to schedule some type of script in a dos batch file and need to know how to stop and start SAP instance 4.7 Enterprise at the Command Prompt.
    Using:
    - Windows 2000
    - SAP 4.7 Enterprise Kernel 640 (Latest)
    - SQL 2000
    Regards

    Would like to schedule some type of script in a dos batch file and need to know how to stop and start SAP instance 4.7 Enterprise at the Command Prompt.
    Using:
    - Windows 2000
    - SAP 4.7 Enterprise Kernel 640 (Latest)
    - SQL 2000
    Regards

  • Scripts to start stop SAP HANA

    Hi Everyone,
    I need to call the script to stop and start sap hana via API. Does any one knows about any API that can be used to do this. I am aware of CLI but I need some API like REST API or XS which will help to do the os level triggering.
    Thanks,
    Amogh Jadhav

    Rodrigo,
    esse espaço é de HANA em Portugues.
    Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
    SAP HANA and In-Memory Computing
    Vou bloquear essa thread agora.
    Abs,
    Henrique.

  • While starting the SAP, Disp+Work.exe is getting stopped

    Hi All,
    SAP Discovery System has been installed. While starting the SAP, Disp+Work.exe is getting stopped. But I checked MaxDB and it is working fine.
    Kindly look into the below log dev_disp and advice me the solution.
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      10
    sid        ERP
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    119
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        2420
    Mon Sep 15 20:16:06 2008
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (10 2420) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 119 successfully loaded
         shared lib "dw_xtc.dll" version 119 successfully loaded
         shared lib "dw_stl.dll" version 119 successfully loaded
         shared lib "dw_gui.dll" version 119 successfully loaded
         shared lib "dw_mdm.dll" version 119 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3910
    Mon Sep 15 20:16:11 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >ORX-SAPDEMO_ERP_10                      <
    DpShMCreate: sizeof(wp_adm)          17232     (1436)
    DpShMCreate: sizeof(tm_adm)          4270848     (21248)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 06E70040, size: 4929464)
    DpShMCreate: allocated sys_adm at 06E70040
    DpShMCreate: allocated wp_adm at 06E72090
    DpShMCreate: allocated tm_adm_list at 06E763E0
    DpShMCreate: allocated tm_adm at 06E76410
    DpShMCreate: allocated wp_ca_adm at 07288F10
    DpShMCreate: allocated appc_ca_adm at 0728ECD0
    DpShMCreate: allocated comm_adm at 07290C10
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 07311AD0
    DpShMCreate: allocated gw_adm at 07311B10
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 07311B40
    DpShMCreate: allocated wall_adm at 07311B48
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 2047 blocks reserved for free list.
    ES initialized.
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 2672
      argv[0] = D:\usr\sap\ERP\DVEBMGS10\exe\jcontrol.EXE
      argv[1] = D:\usr\sap\ERP\DVEBMGS10\exe\jcontrol.EXE
      argv[2] = pf=
    iwdfvm2160\sapmnt\ERP\SYS\profile\ERP_DVEBMGS10_iwdfvm2160
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=3500
      argv[5] = -DSAPSYSTEM=10
      argv[6] = -DSAPSYSTEMNAME=ERP
      argv[7] = -DSAPMYNAME=ORX-SAPDEMO_ERP_10
      argv[8] = -DSAPPROFILE=
    iwdfvm2160\sapmnt\ERP\SYS\profile\ERP_DVEBMGS10_iwdfvm2160
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1629]
    ***LOG Q0K=> DpMsAttach, mscon ( iwdfvm2160) [dpxxdisp.c   11799]
    DpStartStopMsg: send start message (myname is >ORX-SAPDEMO_ERP_10                      <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    Mon Sep 15 20:16:12 2008
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 119
    Release check o.K.
    DpJ2eeLogin: j2ee state = CONNECTED
    Mon Sep 15 20:16:15 2008
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4248]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 1428
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3504) [nixxi.cpp    4248]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2672)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Mon Sep 15 20:16:51 2008
    ERROR => DpHdlDeadWp: W0 (pid 4952) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W1 (pid 4852) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W2 (pid 5976) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W3 (pid 5000) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W4 (pid 4984) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => DpHdlDeadWp: W5 (pid 1272) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => DpHdlDeadWp: W6 (pid 528) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W7 (pid 5720) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => DpHdlDeadWp: W8 (pid 2648) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W9 (pid 5444) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => DpHdlDeadWp: W10 (pid 5032) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => DpHdlDeadWp: W11 (pid 5620) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:01 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Tue Sep 16 03:17:01 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA     4952 Ended         no      1   0        0                                                                         
    1 DIA     4852 Ended         no      1   0        0                                                                         
    2 DIA     5976 Ended         no      1   0        0                                                                         
    3 DIA     5000 Ended         no      1   0        0                                                                         
    4 DIA     4984 Ended         no      1   0        0                                                                         
    5 UPD     1272 Ended         no      1   0        0                                                                         
    6 ENQ      528 Ended         no      1   0        0                                                                         
    7 ENQ     5720 Ended         no      1   0        0                                                                         
    8 BTC     2648 Ended         no      1   0        0                                                                         
    9 BTC     5444 Ended         no      1   0        0                                                                         
    10 SPO     5032 Ended         no      1   0        0                                                                         
    11 UP2     5620 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Tue Sep 16 03:17:01 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    since last update     total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    Dump of tm_adm structure:               Tue Sep 16 03:17:01 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Tue Sep 16 03:17:01 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:06 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >ORX-SAPDEMO_ERP_10                      < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (1516) (SOFT_KILL)
    Stop icman
    killing process (1256) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:1516  HANDLE:1520)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:07 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:1516  HANDLE:1520)
    wait for end of icman
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:08 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:09 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:10 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:11 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:12 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:13 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:14 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:15 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:16 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:17 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:1256  HANDLE:1528)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1549
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Sep 15 20:17:18 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:1256  HANDLE:1528)
    [DpProcDied] Process died  (PID:2672  HANDLE:1504)
    DpStartStopMsg: send stop message (myname is >ORX-SAPDEMO_ERP_10                      <)
    NiIMyHostName: hostname = 'ORX-SAPDEMO'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 3 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 3 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 3 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 3 (r)
    NiIRead: hdl 3 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 3 recv would block (errno=EAGAIN)
    Mon Sep 15 20:17:19 2008
    NiIPeek: peek for hdl 3 timed out (r; 1000ms)
    NiIRead: read for hdl 3 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12145]
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 3 in set0
    SiSelNSet: set events of sock 1508 to: ---
    NiBufISelRemove: remove hdl 3 from set0
    SiSelNRemove: removed sock 1508 (pos=3)
    SiSelNRemove: removed sock 1508
    NiSelIRemove: removed hdl 3
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/12
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 3 / sock 1508
    NiBufIClose: clear extension for hdl 3
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 2420) [dpxxdisp.c   10417]
    Good Bye .....
    Thanks in advance.
    Regards,
    Suneetha

    Hi,
    Just check out your filesystem/ directory have sufficient space.
    Do paste us dev_rd as the error above " NiIRead: SiRecv failed for  "
    pasted looks like system uanble to access SAP gateway.
    Rgds
    Radhakrishna  D S

  • How to stop and start MDBs to listen for JMS messages

    Hello! This might be more of an architecture question rather than a technical questing, but I post it here, in the lack of a better place...
    For several years I have been using Webster and Webster MQ to send messages back and forth to clients. The architecture for the middleware platform has been designed around the functionality of ListenerPorts. Listenerports is a Webster functionality that let you "stop" and start to listen to JMS messages for a given MDB either by admin console, or by JMX.
    The arhitecture we used was something like this :
    1.Client sends a persistent message to a queue. (order)
    2. An MDB pics up the order message, calls a SessionBean that "fronts" the IIOP back end system.
    This is quite "out of the box" architecture, but we used the Listenerports to solve a stability problem for our back end system.
    The backEnd system was quite unstable, so the EJB threw an exception (typically because of timeout or connection refused) back to the MDB.
    The Listenerport was "defined" to handle 3 errors before stopping, so the MDB resent the message twice before the listenerport automatically stopped. The nice thing about this feature was that the client could continue to send orders, and was not bothered when the back end system was down.
    When the backEnd system was up and running, we could start the listenerport and it was all back to normal state. We even had a start script that checked the state of the listenerport every 30 minute, and started it automatically if it was stopped, making the admin task of starting the MDB unnecessary..
    Now.. Why am I telling this story..
    I would like to know how this could be done using "clean" J2EE technologies..That is..Not using any technology that is not portable..
    I`m playing with glassfish at home, and it struck me that there is nothing in the J2EE spec that defines the functionality described above ? Am i missing something ?
    I Do not want to stop My application because the back end system is down? That is the only way (i know of) that i can "stop" to listen for messages..
    I can put all the messages on an error queue when the backbend system is down, but that would lead to more code just to handle the error messages. Maybe the easiest way to solve this is to "move" (programmatically) all messages from the error queue over to the "standard" queue every XX minute, but somehow that sounds "wrong"
    Can anyone give me some advice to how this problem situation should be solved ? I`m interested in the solution both from an architectural perspective and from a more technical perspective..
    Best regards
    Hans-Jacob Melby

    Breakpoints, whether normal or conditional, are just meant for debugging of your code.  I had the sense from your question that the pausing you want to do is a part of normal operation of your code.  I would NOT recommend using a breakpoint for that situation.  It would bring up the block diagram showing the breakpoint when it occurs.  A user besides the programmer would not know what to do in that case.
     Yes, both the inner and outer loops would have shift registers.
    Putting a case structure with a small while loop inside the "Pausing Case" is doable.  It just depends on what you are doing or waiting for while the program operation is "paused".

  • Dispatcher status  showing stopped when we start the sap.

    Hi,
    when i am starting the sap dispacher is getting stopped after 5 to 10 seconds.kindly see the log below and advise what might have gone wrong.
    trc file: "dev_w1", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Fri Oct 17 17:44:02 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.152)
    B  New connection 0 created
    M sysno      00
    M sid        INP
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    175
    M intno      20020600
    M make:      multithreaded, Unicode
    M pid        4584
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 4584) [dpxxdisp.c   1162]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          30272     (1316)
    M  DpShMCreate: sizeof(tm_adm)          2969176     (14772)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          290000     (580)
    M  DpShMCreate: sizeof(vmc_adm)          0     (424)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 08060040, size: 3401424)
    M  DpShMCreate: allocated sys_adm at 08060040
    M  DpShMCreate: allocated wp_adm at 08061B88
    M  DpShMCreate: allocated tm_adm_list at 080691C8
    M  DpShMCreate: allocated tm_adm at 080691F0
    M  DpShMCreate: allocated wp_ca_adm at 0833E048
    M  DpShMCreate: allocated appc_ca_adm at 08343E08
    M  DpShMCreate: allocated comm_adm_list at 08345D48
    M  DpShMCreate: allocated comm_adm at 08345D60
    M  DpShMCreate: allocated vmc_adm_list at 0838CA30
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 0838CA58
    M  DpShMCreate: allocated wall_adm at 0838CA60
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 1 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Fri Oct 17 17:44:03 2008
    M  calling db_connect ...
    C  Thread ID:4876
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      152
    C    patchcomment Connection check on (0,0) (988711)
    C  np:(local) connection used on TERHSAPDR01
    C  CopyLocalParameters: dbuser is 'inp'
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 428] [dblink  0428 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 428] [dblink  0428 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1281]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9595]

    M  Info for wp 1

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server terhsapdr01_INP_00 on host terhsapdr01 (wp 1)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Fri Oct 17 17:44:03 2008
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9780
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    B  dbtbxbuf: Buffer TBX_SINGLE not available
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 1 4584) [dpnttool.c   357]
    regards
    anil

    Hi,
    This is related to user permission or password is wrong.
    Pls check the user name and permission.
    Regards,
    Anil

  • How to start/stop a  MSCS clustered SAP system?

    Hi!
    I know the sequece is very important.
    Could you give the step  sequence and the method of each step?
    I search SMP but found no clue.
    Thanks a lot! Pints guaranteed.

    Hi Jennifer,
    Please follow the below sequence :-
    Eg: - System Landscape - MSCS - [Node A(CI) & Node B(DB)] and C as Application Server.
    Stoping:-
    1. MMC - C(Stop All Application Server)
    2. NodeA - Cluster Administrator - move DB Group to NodeA
    3. NodeB - MMC - Stop all SAP instances
    4. NodeA - MMC - Stop all SAP Instances
    5. Now You can safely do any maintenance work or shudown the MSCS cluser servers
    Starting:-
    1.NodeA - MMC - Start all SAP instances
    2.NodeB - MMC - Start all SAP instances
    3.NodeA - Cluster Administrator - move DB group to NodeB
    4.The Application Server MMC Start all Apllication Server Instances.
    Hope this will help you in regard to MSCS starting and stoping sequence.
    Regards
    Rayees Palot

  • How we can control auto start/stop of db/listener on Unix/linux?

    How we can control auto start/stop of db/listener on Unix/linux?

    http://download-uk.oracle.com/docs/html/B10812_01/chapter2.htm#BABGDGHF

  • Starting and stopping SAP in Unix

    Hi,
    Pls tell me the command to start and stop sap in Unix.
    I dont want to start and stop the Database
    Pls help

    Log on in UNIX as a user with SAP administrator authorization (<sid>adm).
    To start the central instance, call the shell script
    startsap_<host>_<instance no> in the home directory
    of the <sid>adm user. If there is only one instance for each application server, the
    alias startsap points to the script startsap_<host>_<instance no>.
    The script startsap first starts the saposcol process which collects statistical
    data for the operating system that it provides to the SAP system.
    The next step is a check to see if the database is running. If not, the script
    startdb is called to start the database.
    The final step starts all of the processes for the instance (message server,
    dispatcher, work processes, and so on).
    After the central instance is started, you can optionally start other instances.
    The startsap script can be called with the following options:
    DB: starts the database system
    R3: starts the instances and associated processes for the instance
    ALL: starts the database system and the instance (default setting, can be omitted)
    To start the SAP system, the startsap script calls the sapstart process with
    the start profile specified in the script in the variable START_FILES.
    The stopsap script can be called with the following options:
    DB: stops the database system with the help of the stopdb script
    R3: stops the instances of the SAP system
    ALL: stops the database system and the instance (default setting, can be
    omitted)
    The database can be stopped separately with database tools.

  • Windows SAP Start/Stop Scripting

    Hi all,
    We are working in SAP Start/Stop Scripts in Windows + SQL Platform.
    We need some help from your side.We run the command to stop SAP & then SAP is stopped.If SAP is not stopped,next service stop command should not run.
    How can i write in Script & also from which command for SAP Stop. I can get the RC.
    Please help me on this ?
    Thanks,
    Richa
    Edited by: Richa Saran on Sep 14, 2011 9:18 AM
    Edited by: Richa Saran on Sep 14, 2011 9:18 AM

    I run the command sapcontrol -nr %erppno% -prot PIPE -function StopWait 60 10.
    SAP Stopped in MMC .
    My Next Command is stop SAP Services  {NET STOP %servicename% (SAPSID_NO)}
    I want to write the command in Script that NET STOP command will be detect or check that SAP Instance is stopped & then run Service stop command.
    Please help me on this topic.

  • Start/Stop a tablespace via SAP transaction

    Dear All,
    I'm just wondering about start/stop a tablespace via SAP transactions. Is it possible? At the moment i'm working on SAP Netweaver (DB Server:DB2 8.1/z/os 1.7, AS:AIX 5.2).
    Many thanks for your help.
    Regards,

    Thanks Thomas for the fast answer!
    Starting right now to write my commands
    Best regards,
    Andrea

  • While starting the SAP  Management console   " SDM" stopped , rest all fine

    Hi
        When start the SAP  Management console, all are runnig in running state
        Except "SDM" ? What is the problem ?
        What is need to do on this ?
    regards
    kiran LVS

    HI,
    When i set  SDM in integrated mode   and say StartServer.sh its givibvng the below error. any idea?
    CompilerOracle: exclude
    com/sapportals/portal/pb/layout/taglib/ContainerTag addI
    viewResources
    CompilerOracle: exclude
    com/sap/engine/services/keystore/impl/security/CodeBased
    SecurityConnector getApplicationDomain
    CompilerOracle: exclude
    com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator g
    enerateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils
    escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude
    com/sapportals/portal/prt/core/broker/PortalServiceItem
    startServices
    CompilerOracle: exclude
    com/sap/engine/services/webservices/server/deploy/WSConf
    igurationHandler downloadFile
    CompilerOracle: exclude
    com/sapportals/portal/prt/jndisupport/util/AbstractHiera
    rchicalContext lookup
    Starting SDM - Software Deployment Manager...
    tc/SL/SDM/SDM/sap.com/SAP AG/6.4009.00.0000.20040910093614.0000
    JStartupFramework is active
    Operation mode of SDM in JStartupFramework is "Integrated".
    Check if Server is running already.
    OK server is not running. Enable SDM Process in JStartupFramework.
    Successfully enabled SDM Process in JStartupFramework.
    + The SDM server will be started by the JStartupFramework now. +
    Waiting 5 seconds for SDM server to start...
    SDM server not up after 5 seconds. Waiting for another 5 seconds.
    SDM server not up after 10 seconds. Waiting for another 5 seconds.
    SDM server not up after 15 seconds. Waiting for another 5 seconds.
    SDM server not up after 595 seconds. Waiting for another 5 seconds.
    SDM server not up after 600 seconds. Waiting for another 5 seconds.
    ERROR: SDM server startup not finished after 600 seconds. Giving up.
    Could not start SDM. Processing error. Return code: 4

Maybe you are looking for

  • How to search and delete an email from the mailbox

    hi, have a hybrid scenario, exchange 2013 and office 365 what command should I use to search and delete an email from the organization mailbox i.e. I do not want that email to be in any users inbox. I have tried this command but it does not work, it

  • HP G62-357CA Recovery Disk Error code OxeOef000e

    I am trying to recover my HP notebook G62-357 and when I am on the second disk it is giving me the following error. Can anybody please help. "Recovery Manager could not restore your computer using the factory image. Please contact HP Support. Error c

  • Magic Mouse with 2 iMACs

    How can I prevent a Magic Mouse on a new 27" iMac in another room to stop moving the cursor on my iMAC? Is there a pref. that needs set? As I know this isn't happening in the Apple Store, but it sure is at my home office! Please help.

  • How do I disable Hibernate FN hotkey? How do I disable Hibernate?

    I want to totally disable hibernate on my computer. I followed the instructions here http://www.intowindows.com/how-to-enable-hibernate-option-in-windows-7/ and it seemed to work because  "Hibernate" disappeared from the start menu. However, when I

  • How to export MP3 from iTunes to sD card

    My car radio has an sD slot and can play MP3 files. How do I export from iTunes to an sD card in MP3 format? Thanks, John