Command to Stop and Start the SBO Mailer Service

Good day,
I have an issue on my SAP server (SAP 2007 SP01 PL10) where the SBO Mailer server is intermittently stopping.  This is causing Emailed Alerts and emails from SAP to stop working.
I want to create a Scheduled Task in Windows to run a batch file which will stop then restart the SBO Mailer service.
Do you know the DOS command to stop and also start the SBO Mailer service?
Thank you
EvS

Good Day,
We have had the same problem. I Added this scheduled task to Validate if service is running and to Restart if Necessary..
We are still working on this issue. I have a feeling itu2019s the SMTP rejecting the emails
@echo off
rem ***********************************************************************
rem *                                                                     *
rem *   This script will stop & restart the SAP SBO Mailer service        *
rem *                                                                     *
rem *   Created by Anthony Galvano from Syntax to recycle the service     *
rem *   on Mar 22 2011                                                    *
rem *                                                                     *
rem ***********************************************************************
call wmic /locale:ms_409 service where (name="B1LicenseService") get state /value | findstr State=Running
if %ErrorLevel% EQU 0 (
    echo Running
) else (
    echo **** Now restarting SBOMailer service  ***
net start SBOMail
timeout /T 5
Anthony

Similar Messages

  • HT203177 I had to get a new hard drive in my 27 in IMac. I used time machine to get everything back on my computer. I just turn on time machine and its says it's preparing over 800,000 items to back-up, it never back-up, it stop and starts the process ove

    I had to get a new hard drive in my 27 in IMac. I used time machine to get everything back on my computer. I just turn on time machine and its says it's preparing over 800,000 items to back-up, it never back-up, it stop and starts the process over again.

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then repair the backup/TM drive.

  • Stop and start the system via the SAP GUI

    ........ although I don't know the answer!
    We have SAP running on an iSeries/DB2 format.
    And we of course have stopped and started our SAP systems many times before via an iSeries screen.
    One thing we have never had to do, is stop and start the system via the SAP GUI.
    Is this possible? If so, how is it done?
    Surprisingly difficult to find a solution online.
    Edited by: Juan Reyes on Aug 10, 2010 11:10 AM

    Paui,
    You can also do a soft shutdown, which waits till the active users/sessions are logged out (Draing out the sesstions) and no more new users are allowed to login during that time.
    Goto SM51, select the instace/server you want to stop then menu --> Goto --> Server Name --> Administration --> Shut Down Server (soft).
    Here you can also select a hard shutdown if the situation demands by following the same menu path.
    Even though your question is answered but I still wanted to update you the options to select.
    -Mahesh

  • Why does Image Capture stop recognizing Epson scanner after scanning several images? I have to stop and start the scanner in order for Image Capture to recognize it again.

    Why does Image Capture stop recognizing Epson scanner after scanning several images? I have to stop and start the scanner in order for Image Capture to recognize it again.

    Karen ...
    Might be corrupted preferences (.plist)
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.image_Capture.plist
    Click Go then move the com.apple.image_Capture.plist file to the Trash.
    Restart your Mac and your scanner and try scanning an image.

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • Problem stop and start the ias 6.0

    Hi all,
    i have a problem when i stop and start the ias 6.0 sp2. The problem
    apparent is that when i stop the ias the IAS web connector plugin stop,
    then i start the ias and when i try to connect to a servlet in my ias
    the page i find in my brwser tell me "The documento contained no
    data.Try later again ..". Afte this i see that the IAS web plugin begin
    to start and then the same connect to the servlet works.
    Somebody can help me.
    Thanks in advance.
    Ignacio Ramos Garcia
    Division TSO
    Area de Telecomunicaciones
    Tecsidel
    C/ Enrique Jardiel Poncela, 6
    28016 Madrid
    Tel: (+34) 91 353 08 19
    Fax: (+34) 91 353 08 81
    <mailto:[email protected]>
    www.tecsidel.es

    Hi,
    This really looks like a problem, kindly let me know the following...
    - The O/S version & the web server with the service pack
    - What method are you using to start & stop the application & web
    server ?
    - What application are you invoking to see this error ?
    Regards
    Raj
    Ignacio Ramos Garcia wrote:
    Hi all,
    i have a problem when i stop and start the ias 6.0 sp2. The problem
    apparent is that when i stop the ias the IAS web connector plugin stop,
    then i start the ias and when i try to connect to a servlet in my ias
    the page i find in my brwser tell me "The documento contained no
    data.Try later again ..". Afte this i see that the IAS web plugin begin
    to start and then the same connect to the servlet works.
    Somebody can help me.
    Thanks in advance.
    Ignacio Ramos Garcia
    Division TSO
    Area de Telecomunicaciones
    Tecsidel
    C/ Enrique Jardiel Poncela, 6
    28016 Madrid
    Tel: (+34) 91 353 08 19
    Fax: (+34) 91 353 08 81
    <mailto:[email protected]>
    www.tecsidel.es

  • Stopping and starting the server for deploying

    Hai,
    When I run a project from the java Enterprise studio, the domain is stopped and then restarted. This takes quite some time. Is it really required for redeploying a project?
    Is there any way to avoid it?
    I have included below exerpts of the output when I run a project.
    Thanx in advance ..
    run-deploy:
    Stopping server Sun Java System Application Server 8.1
    C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\bin\asadmin.bat stop-domain --domaindir C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\domains\ domain1
    Starting server Sun Java System Application Server 8.1
    C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\bin\asadmin.bat start-domain --domaindir C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\domains\ domain1
    Redeploying E:\staff\saniya\DbServlet\dist\DbServlet.war
    Saniya

    I guess this is the answer - http://www.netbeans.org/issues/show_bug.cgi?id=54840
    In short, sometimes this is required, so the development team considers this to be a feature. This does not happen always/for everyone as well..

  • Skype stops and starts a bunch of services upon latest update

    Hi. I just updated the skype klient to the latest version using the built in update option. And when i updated i got that files are in use and you can choose to try and shut them down and then start them again or to not shutdown and restart the programs later. Now i saw i the action center that the security center went offline and then onlie right after.So i checked the logs and saw that when i started the update it shutdown a few services (12-14 windows services), then installed the update and then restarted the services again. I was wondering if thats normal? Because the updates i installed before didnt do that as far as i know. Services that it shutdown and started:Windows AudioIP HelperWinHTTP Web Proxy Auto-Discovery ServiceNetwork Connected Devices Auto-SetupHomeGroup ProviderNetwork List ServiceNetwork Location Awareness - Couldnt shut that downDHCP Client - Couldnt shut that downWindows Event Log - couldnt shut that downTCP/IP NetBIOS Helper Windows Security CenterWLAN AutoConfigWindows Connection ManagerSecurity Center        

    Spoke with skype support, and they said this was normal.But i have never seen it before, so got abit worried Any one else noticed this?

  • What's the terminal command to stop and start LDAP?

    I'm trying to intergate my companies AD kerberose with the services hosted on a Lion Server in a golden triangle setup.
    Here's what I've tried so far.
    1. Bind to AD host.
    2. sudo dsconfigad -enablesso
    3. Make a Opendirectory Master
    4. sudo kinit list, all listed services should point to AD KDC..
    Am I missing something?
    I've tried other way as well, but it always shuts down LDAP.
    1. Bind to AD host.
    2. Make a Opendirectory master
    4. Sudo disconfigad - enablesso
    5. sudo sso_util remove -k -a username -p password -r NAME.OF.KERBEROSREALM
    (here use the OD diradmin and PW)
    6.. reboot
    Help please..!

    Hi hello
    Tell me, you try make a magic triangle with Lion ?
    Have you solve your issue ?
    Sudo disconfigad -enablesso ? worked for you ??? for me command not found
    Thanks for your help

  • Upgraded to 11.1.4.62.  Now iTunes is saying "An iPod has been detected, but could not be identified properly.  Disconnect then reconnect ..."  I removed iTunes and reinstalled.  I stopped and started the service.  I reset the iPod.  When I put it in disk

    I upgraded to 11.1.14.62 this morning.  Not iTunes is saying "An iPod had been detected but could not be identified properly".  I unlugged/replugged in.  I reset the iPod, I removed iTunes and reinstalled.  I'ver tried three different cables.
    When I put the iPod in disk mode it shows up briefly as a disk then goes away.
    Any ideas?

    Hi there  - I've spoken with Apple and here is their response (worked for me). You need to uninstall not only iTunes, but also (in this order):
    1) iTunes
    2) Apple Software Update
    3) Apple Mobile Device Support
    4) Bonjour
    5) Apple Application Support
    Then you restart your computer.
    Then you install the latest version of iTunes (which will reinstall all those things you uninstalled).
    Then you restart your computer again.
    Mine is working perfectly again now.
    I hope it works for you,
    Carmen.

  • How to stop and start process SAPOSCOL

    Hi, i have a problem with write access for saposcol program. I see that the file saposcol is read the file but its unable to wirte the same.
    Collector           : running
    Start time coll.    : Mon May 21 17:49:49 2007
    Current Time        : Mon Jun 11 13:27:51 2007
    Last write access   : Tue May 29 06:23:46 2007
    Last Read  Access   : Mon Jun 11 13:26:24 2007
    When i try to stop the saposcol i get the following error:
    igzadm> saposcol -k
    Setting Stop Flag :
    13:24:44 11.06.2007   LOG: ==== Stop Flag was set by saposcol (kill_collector()).
    13:24:44 11.06.2007   LOG: ====  The collection process will stop as soon as possible
    can't kill process 409656.
    kill: No such process
    ERROR:No reaction from collecting process 409656.
          Please kill collecting process.exes.
    Am doing this command through SID<ADM> from change directory /run.
    Please help me how to check the permission of the SIDADM to stop the services.
    I also try the same from root user but now use..
    Please guide me how to stop and start the SAPOSCOL in AIX 5.3.
    Advance Thanks.
    Suri Tyson

    Hi, i have the following permission for saposcol
    imserv:/ # ps -ef | grep saposcol | more
        root  118842  528422   0 14:02:17  pts/2  0:00 grep saposcol
    I have changed the ownership as you mentioned....
    imserv:/usr/sap/IGZ/SYS/exe/run # ./saproot.sh igz
    Preparing /usr/sap/IGZ/SYS/exe/run/brbackup ...
    Preparing /usr/sap/IGZ/SYS/exe/run/brarchive ...
    Preparing /usr/sap/IGZ/SYS/exe/run/brconnect ...
    Preparing /usr/sap/IGZ/SYS/exe/run/brtools ...
    Preparing saposcol ...
    Preparing icmbnd ...
    done
    However, i still get the error as:
    igzadm> saposcol -k
    Setting Stop Flag :
    14:12:13 11.06.2007   LOG: ==== Stop Flag was set by saposcol (kill_collector()).
    14:12:13 11.06.2007   LOG: ====  The collection process will stop as soon as possible
    can't kill process 409656.
    kill: No such process
    ERROR:No reaction from collecting process 409656.
          Please kill collecting process.
    Now the permission are set in my system as:
    igzadm> ps -ef |grep saposcol|more
      igzadm  729196  983058   0 14:13:25  pts/2  0:00 grep saposcol

  • Reset (stop and start) Apple Remote Desktop

    Log in SSH to my xServe, I want to reset (stop and start) the Apple Remote Desktop service of the sharing system preferences of my server. I'm looking for a command: systempsetup -set...

    kickstart can do this and much much more.
    http://docs.info.apple.com/article.html?artnum=108030

  • How to stop and start IGS(internet graphic server)

    Hi Techies
    How to stop and start IGS(internet graphic server) in Solaries
    IGS is 7.0 1patch
    Is this the command to stop and start IGS
    stopigs and startigs
    If this correct will there be any issues if i stop the IGS from the above command
    Thank You
    Haroon

    Hoi Haroon
    On base 6.40 there were stopigs/startigs scripts, yes. When we upgraded our systems to 7.0 I encountered the same problem, the igs could be stopped, but not started anymore (externally). Can you check, if the startigs/stopigs-scripts are 7.0 or 6.40.
    I then opened an oss and got as answer:
    "To start and to stop the igs there's only the offical way by stopping and starting the sap system".
    However I found a solution to start and stop:
    start:
    nohup /sapmnt/<SID>/exe/igswd_mt -mode=profile pf=/usr/sap/<SID>/SYS/profile/<Instaneprofile> &
    e.g.:
    nohup /sapmnt/P72/exe/igswd_mt -mode=profile pf=/usr/sap/P72/SYS/profile/P72_DVEBMGS01_migzmc10 &
    stop:
    --> stopigs, therefore the 6.40-stopigs script has to remain in the exe directory.
    Hope this helps.
    Regards Patrick

  • Order of stop and start of reporting services

    Hi All,
    I am using 11.1.1.3 version in my laptop,i want know the correct order of stop and start the services,please help me on this.
    Thanks
    Hypuser

    The full order list can be found at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch05s02.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • SSRS Report queries begin running slowly, have to stop and start report server to restore performance

    We have had a production issue crop up twice now where reports begin running slowly seemingly at random.  
    When this happens we can see from running SQL Profiler that the report queries are taking an extremely long time to execute.  The same queries when run directly in management studio run quickly.  
    Initially I suspected parameter sniffing, and tried using OPTION (RECOMPILE) in the reports, as well as clearing out the particular query from the plan cache and running the SQL in SSMS to try and get a better plan etc but no amount of jiggery pokery by
    me could get the queries to run any faster.
    The really weird thing - is that stopping and starting the report server via the reporting services configuration manager instantly cures the problem.  
    I'd really love to know - why this might be?  Is it something to do with the report server closing and re-opening its connections to the database? That's the only sort of thing I can think of...any ideas? Anyone? Any suggestions would be much appreciated.
    LucasF

    Hi LucasF,
    In your scenario, usually we can monitor the execution log in Report Database. If you run below query, you can get the results how long the report takes to render (TimeRendering), how long to process the report(TimeProcessing) and how long to retrieve data
    from Database(TimeData). You can check the starttime and endtime to know the total time for executing a report.
    SELECT TOP1000 *FROM[ReportServer].[dbo].[ExecutionLog2]
    More details information, please reference to similar thread below:
    Steps for troubleshooting a slow SSRS 2014 server
    Troubleshooting Reports: Report Performance
    In SQL Server Reporting Services, a job will be created by SQL Server Agent if any of the following processes is underway:
    query execution on a remote or local database server
    report processing
    report rendering
    To cancel a job that is running on the report server, we can cancel the job directly or reduce the report execution time-out value in the SQL Server Management Studio and then will stop query execution. Please refer to the steps below:
    Open SQL Server Management Studio, and connect to "Reporting Services".
    Under the Report Server node, right-click on the "Jobs" folder and select "Refresh". Then, right-click on "Jobs" again and click "Cancel All Jobs".
    Right-click on the Report Server node and open the "Server Properties" dialog.
    Click the "Execution" option, and set the "Limit report execution to the following number of seconds:" to a much smaller number. After this issue is resolved, this configuration should revert to the previous state.  
    Reference:
    Managing a Running Process
    Setting Time-out Values for Report and Shared Dataset Processing
    In addition, we can also use the KILL Transact-SQL statement to terminate a normal connection by terminating the transactions that are associated with the specified session ID. For the details information, you can refer to:
    KILL (Transact-SQL)
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • ORA-12560 on Windows 2000 sp4, Pentium 4 CPU running vmware and Pent

    Hello all, I am getting ORA-12560 error running svrmgrl,sqlplus or dbca after installing 8.1.7 release 3 and patched to 8.1.7.4. My oracle_sid is set, oracle_home is pointing to the right file system. listener and database services are up and running

  • Next page previous page using JDBC in JSP

    Hello, I wanted to know how the previous page and next page is developed when an user serches for a particular string in a web site.They are restricting the database to display only 10-25 rec per page and giving an option like next, when an user clic

  • Missing logo with reader xi on pdf files

    installed windows 8.1, reader  xi and IE11 - logo on pdf not visible now- the rest of the document is fine.

  • Unable to reload all the material data from r/3 to APO

    We need to resend material data to APO, reinitializing integration model and running RIMODINI program is not helping. They are just sending delta load but not reloading all values.

  • Macros In SOP

    Hi All, Can any one plz tell me abt macros in SOP how it will be used in flexible planning Thnx & rds sandya