Recovery Task for starting a stopped service not working (2012)

I created some monitors in SCOM 2012 to monitor some third-party services on one of our Windows 2008R2 SP1 servers (virtual).  In the custom monitor, I created a "Start Service" Recovery Task using this guide:
http://www.opsconfig.com/?p=478
But the Recovery Task is failing.  I looked at the Health Explorer for the critical error notifiying me that the service stopped and it shows that the recovery task ran successfully but has the following error:
Output
None
Error
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
Exit Code: 2
I have the Recovery Task configured as follows (bear in mind I'm testing this on a monitor that is only enabled for my test server, and i'm testing it with a non-critical service (Adobe Acrobat Update Service.))
If I connect to the server via RDP and use a command prompt to CD to C:\Windows\system32 and execute net.exe start AdobeARMservice, it starts fine.
What's up with this?  I even tried sc.exe but that failed as well.

If so, it is the server side issue. Is there anything related to it in Event log?
Juke Chou
TechNet Community Support

Similar Messages

  • Scheduled Task for Exchange Management Shell is not working

    I am using a command in exchange management shell to get some information of mailbox users.
    When I run it form the exchange management shell it works fine without any issues. However when I schedule it using the Task Scheduler it doesn't work and the Last Run Result output is 0X1.
    The General settings are Run Whether user is logged on or not and Run with Highest Privileges.
    Please note that I have not saved the command. I have directly added it in the Add arguments field.
    Please help.

    Hi,
    For Windows Task related issues, I suggest we post it on Windows Server forum:
    http://social.microsoft.com/Forums/en-US/home?category=windowshomeserver
    Thanks,
    Simon Wu
    TechNet Community Support

  • Recovery task to start a service remotely

    Hi Team,
    We have two identical servers Server1 & Server2. Their is a specific service which is available on both servers but running on Server1 and stopped on Server2.
    The task is to start the service on Server2 when Server1 service is down.
    We have created a Recovery task to start the service on the Server1 to remotely start the service on Server2.
    Full Path to file: %windir%\system32\sc.exe
    Parameters: \\Server 2 start AgentServer
    when we stopped the service on Server 1 the recovery task executed successfully and the output is below
    when we tried the same command by logging in to the server and opened the command prompt (not Run as Administrator) it worked fine.
    how to resolve this permissions issue.
    we are using SCOM 2012 SP1
    RajKumar

    Hi Raj,
    Can you try adding the /c parameter after sc.exe
    So it will be like this: %windir%\system32\sc.exe /c
    /c represents Run as Administrator. So this should do the trick. As i have seen in tasks adding /c does
    the trick instead of running the actual file which executes the command.
    Post me if it worked,
    Gautam.75801

  • Fix for Apple Mobile Device Services not starting

    Finally a fix for Apple Mobile Device Services not starting. Basically I got this from someone else in these forums and it worked. Go to C:\Documents and Settings\AllUsers\Application Data\Apple and delete any file in there that says Apple Mobile Device Services (I understand these are cached files...I had about 8 files to delete). Next go to your control panel, click on Add/Delete programs, find Apple Mobile Device Support and delete (remove) it. Once this is all done do not reboot, rather open itunes and go to Help menu /Check for Updates and update to the latest version. This will install the latest version of iTunes and also a new version of Apple Mobile Device Services. Next reboot and it should work for many of you...it did for me. Open iTunes and plug in your device...good luck. I wrote this from memory so if some of the phrases don't match exactly what you see I apologize. Also, this worked for me on a Windows XP computer.

    Thanks for posting this, my iTunes randomly started saying the Apple Mobile Device was stopped, and apple's solutions didn't help. I hope this one will, but what do I do if I have the latest iTunes, so it doesn't update? Wait till they come out with an update? It says I need to run the iTunes installer, but I can't find that. Please help, this is really annoying me...=(

  • Using the spacebar for starting and stopping a clip does not work

    Hi!
    The spacebar for starting and stopping the playing of a clip in the viewer of a sequence in the timeline has a live of its own. Without changing any setings, it sometimes works, but mostly not. Is there a seeting, I have not figured out yet? While in a session with Final Cut Express, it does not change its behavior. It starts with a working or not working spacebar. The same applies to the arrows to go back and for a frame, or back and for a clip. If the spacebar does not work, the arrows do not work either.

    thanks everybody. But my spacebar and arrow keys still do not work.
    As uggested, I deleted the preferences in the library (which is also what is suggested by fcpbook.com/Misc1.html)
    I am used working with Final Cut for some time now. And just got myself a new iMac and the program. So everything is quite new. I did not change any settings so far.
    The first 2 days everything was fine.
    Then, one day, the spacebar and the arrow key stopped working. Not in the middle of a session, but when I started the FCE new. Inbetween, it worked for some time. Now, the spacebar is gone again.
    It's just the function of playing the clip that does not work. In whatever window (timeline, viewer). The function of the spacebar to make a space (for example in te name of clip or in a text file) works fine.
    I would not mind the spacebar that much, but I miss the arrow keys to go from frame to frame, or from clip. It's strange.

  • Action Script 3 code not working for start and stop button?

    Ok so I have this simple animation I created of a circle that moves from one side of the stage to the other. I have added a new layer and called it buttons. On this layer I have added 2 buttons. One for start and another one for stop. The purpose is to get my circle to move from one side of the stage to the other but be able to use my buttons so that I can start and stop the animations at random times during playback. I fixed all my compiler errors now the problem lies in that everytime I click the start or the stop button I get an output error. I have a 3rd layer in which is titled actions and this is where all my code is posted. I removed that layer and placed my code in the first frame of the buttons layer to see if this would change anything but I still get the same output errors. So I just added back my actions layer. What could I be doing wrong? I have made sure to name all my movie clips and buttons correctly and I even added an instance name to them.
    Here is my code and the errors I am getting when I press the play and stop button on test-
    start_btn.addEventListener(MouseEvent.CLICK, startCircle);
    stop_btn.addEventListener(MouseEvent.CLICK, stopCircle);
    function startCircle(e:MouseEvent):void{
        circle.play();
    function stopCircle(e:MouseEvent):void{
        circle.stop();
    green_btn.addEventListener(MouseEvent.CLICK, greenCircle);
    red_btn.addEventListener(MouseEvent.CLICK, redCircle);
    function greenCircle(e:MouseEvent):void{
        circle.play();
    function redCircle(e:MouseEvent):void{
        circle.stop();
    Here are my output errors-
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at exercise2_fla::MainTimeline/redCircle()
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at exercise2_fla::MainTimeline/greenCircle()

    ok so my circle is my movie clip and it is titled circle and the instance name is circle. Am I supposed to change MovieClip to circle? I put the code at the top of my actions script but for some reason it did not work. I did change play to stop and it got the movie clip to stop when I do test movie but my buttons still do not work. So I changed stop back to play. Strange.
    I did try changing MovieClip to circle but that did not work so I did Circle with a capital C and that did me no good eigther.
    I meant to add that I did get an error that said- 1180 Call to a possibly undefined method circle.

  • HTTP handler for starting an external service cannot be read

    Hi,
    When i execute the work item from Business Work place and also from the UWL in Enterprise portal of the task TS21300098 for HR Process Requisition workflow.
    In the Error is says
    HTTP handler for starting an external service cannot be read
    Message no. SWK045
    Diagnosis
    This work item is a link to a HTTP service. To start the service, a launch handler must be known to the SAP System.
    However, the system could not find a launch handler.
    System Response
    The workflow system cannot start execution of the work item.
    Procedure
    Contact your workflow administrator:
    In Customizing you must maintain a launch handler for HTTP-supported dialog services.
    I have checked the config under WF_HANDCUST transaction and made the launch Handler settings generated automatically.
    But still the problem occurs.
    Any Suggesions and help?
    Thanks & Regards
    Sumanth

    hi Guys,
    I have got the same issue. This blog helped me with tcode WF_HANDCUST. I have generated the url
    http://waspgh.kcc.com:8083/sap/bc/webflow/wshandler-->Click on Generate URL and click on distribution.
    Immediately u will get click on Test url . Click Test url . Then It is not successful. It stopped at 
    http://waspgh.kcc.com:8083/sap/bc/webflow
    Getting http page error. So use tcode sicf >sap>bc-->webflow service and activate it.
    Then test the connection. It will be successfull.
    http://waspgh.kcc.com:8083/sap/bc/webflow/wshandler?ping=true&sap-client=400
    Handler test
    Test successful
    Thanks,
    Shankar

  • Batch file to start and stop services

    I've setup a CF Probe on my Development Server to ensure my
    CF Production server is up and running (services = Apache and CF
    Application Server). It checks the PROD login page and if it times
    out in 30 sec the probe fails. I understand I can execute a file
    (batch file with net start and net stop) but the problem is I need
    to have the probe somehow point to the .bat file on the PROD server
    and not on the local machine. How can I remotely access this batch
    file and execute it? I don't know how to point to the file on the
    other server... can anyone help?

    Hi Ken,
    You had pointed me in the right direction regarding the
    psstools in order to create a batch file that can remotely start
    and stop services.
    i used the psexec command and am able to successfully restart
    the services needed remotely... however when i pick the file in the
    coldfusion administrator (in the probes section) how to i point to
    the batch file to run? it seems like the probe is not running the
    script like i want... the file is located on the c:\ so i entered
    c:\test2.bat...
    Thanks,
    Matt
    Matt,
    You should review the online help in the cfadmin for probes
    and the links it points you to in the developer's guide. Basically
    you need to define a new probe in the cfadmin by clicking the
    "Define New Probe" button. One of the probe's attributes will be
    what action. Define the action as a program and point it at a batch
    file running psexec. You will probably need to run CFMX as a
    specific user and not as localsystem, which is the default.

  • Lion Server DNS service not working for locally created zones. Caching working fine.

    OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
    Surely someone actually tested that DNS still worked on Lion?

    I upgraded from Snow Leopard Server to Lion Server on day 01.  I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
    I finally took a few minutes to figure out what was wrong.  After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
    The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain).  I never messed with it because it worked, but generally I would have put all of them in the same zone.
    My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv.  I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel.  This was fine in Snow Leopard.  This was failing the zone load in the updated bind for Lion Server, though.  The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
    My fix:
    1. In Server Admin, add the server to the zone "mydomain.priv".  I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
    2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
    3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server.  In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'.  Your in-addr.arpa zone name will change based on whatever your server IP address was.  My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
    4. Once the specialized zones for just the server were removed, I started the DNS up again.  Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones.  And, now, it is resolving my local machines for the mydomain.priv zone.
    YMMV.  I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
    Hope that helps.  That's been the only hiccup I've noticed updating to OS X Lion Server thus far.

  • PCR workflow - HTTP handler for starting an external service cannot be read

    Hi,
    We are implementing PCR Approval using adobe forms. Currently when we try to open the adobe form for Approval from the UWL we get the error(it actually displays with an information message symbol) "<b>HTTP handler for starting an external service cannot be read</b>" in an ITS screen. We found an exactly similar problem in the below link but unable to find a resolution from that.
    HTTP handler for starting an external service cannot be read
    The detailed information message displayed is as given below,
    <b>
    HTTP handler for starting an external service cannot be read
    Message no. SWK045
    Diagnosis
    This work item is a link to a HTTP service. To start the service, a launch handler must be known to the SAP System.
    However, the system could not find a launch handler.
    System response
    The workflow system cannot start execution of the work item.
    Procedure
    Contact your workflow administrator:
    In Customizing you must maintain a launch handler for HTTP-supported dialog services.</b>
    We use the standard task TS50000075 for PCR Approval
    Can anyone help us on this?
    Thanks,
    Prasath N

    Hi Jocelyn,
    Thanks for that reply.
    I tried the transactions SICF and WF_HANDCUST.
    1. In SICF under sap>bc>webflow-->wshandler when i double click on wshandler it shows that the service is active. But when i right click on the same and try to TEST it, i get an error
    <b>Error in Web service execution
    The launch handler was called with an incomplete parameter list </b>
    I am not sure what this error means.
    The configurations available in this service are as follows,
    ICF path --> /default_host/sap/bc/webflow/
    ICF Object --> wshandler
    Decription --> English
    Logon Procedure --> Standard
    Security Requirements --> Standard
    Basic Authentication --> Standard R/3 user
    Anonymous logon data
    client --> <empty>
    user --> empty
    password --> <empty-stillinitial>
    Language --> <empty>
    I am not clear what id and password should be maintained here. Can you please help us on this.
    2. When i try to generate the URL in WF_HANDCUST and test them i get a success message.
    <b>Handler test
    Test successful
    </b>
    Thanks,
    Prasath N

  • Measurement mark for start and stop interval

    I have added measurement mark as Start interval and Stop Interval and saving that in the Time interval measure as indicator for BAM in my BPM Process.
    This is to calculate the time it takes to finish some task. e.g.
    A. process is started
    B. Start Interval measurement mark is added and saved in measure BAM indicator
    C. some task takes places.
    D. Stop Interval measurement mark is added and saved in measure BAM indicator
    But, when I create the report, the measure indicator doesn't have any value.
    I think I am doing something wrong, but don't know what.
    Has any one done this or come across this situation.
    Thanks

    Dear sir,
    My application development steps are as follows:
    1. My application consists of three control buttons are Start, Stop & Exit
    2. Initially input parameters validation (Limits are assigned)
    3. If any value entered out of limit, it will show the error message and the start button will gray and disabled. The user should not start the application until entered values are valied.
    4. Internally some conversions and logics are implimented.
    5. Coming to Front panel (GUI) start button is green color and stop button is red color.
    6. The user entered the correct parameters and he started the appilication. After sometime he should know already application was started and he should not start again until he stops the appilcation.
    For this i need logic for start and stop buttons to implement in my application. Thats why i choosen the traffic light concept changing the colors vice versa (which button shows green he should press that perticular button).
    Please suggest me or provide any better option for start and stop buttons.
    Regards,
    S Nagaraju

  • Does Golden Gate provide any Webservices to start and stop services?

    Hi all,
    We are trying to use GG in our application. But we need a way to start and stop services from java code.
    Is there any Webservice interface or API to start and stop Golden gate services like GG manager, extract and replicat processes??
    Thanks in advance for your help.
    Yamini.

    You can control this at a database level using EVENTACTIONS parameter.
    Create a table at source & target called "EVENT" with field EVENT_TYPE ( example names only - please call it what you like ) .
    at Replicat config actions based on the data passed into the EVENT_TYPE column
    MAP GG_ADM.EVENT TARGET GG_ADM.EVENT, &
    FILTER ( (@STREQ(@IF(@COLTEST(EVENT_TYPE,PRESENT),EVENT_TYPE,"No EVENT"),"STOP") = 1)), &
    EVENTACTIONS (IGNORE , LOG,STOP);
    You'll need a seperate replicat to handle the start
    MAP GG_ADM.EVENT TARGET GG_ADM.EVENT, &
    FILTER ( (@STREQ(@IF(@COLTEST(EVENT_TYPE,PRESENT),EVENT_TYPE,"No EVENT"),"START_APP_02") = 1)), &
    EVENTACTIONS ((SHELL (${GG_HOME}/diroby/start.ksh R1APP_02 )));
    Hope that helps

  • Starting and stopping services of SAP and database

    pls tell what are the Starting and stopping services of SAP and database

    Hi Ranga,
    The services dealing with SAP and database(Ex: Oracle in this case) are:
    SAP<SID>_<Instance No.>  (For ex: SAPECC_01)
    SAPOsCol
    Oracle<SID><No>Listener
    OracleCSSservice
    OracleService<SID>
    Reward points if it is helpful##
    Thanks & Regards,
    Santhosh P
    Please change the status to answered if you got the solution...
    Message was edited by:
            Santhosh Kumar P

  • HT201412 ipad not turning on.On charging apple logo appears in between.But its not turning on,tried to restore by pressing start & home button for 10 seconds.But its not working.

    ipad not turning on.On charging apple logo appears in between.But its not turning on,tried to restore by pressing start & home button for 10 seconds.But its not working.

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • My iPad 2 started to backup iCloud and its now locked up. How do i unlock it, the button for settings and close are not working. What can I do?

    my iPad 2 started to backup iCloud and its now locked up. How do i unlock it, the button for settings and close are not working. What can I do?

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

Maybe you are looking for