Service Application Remains in Stopping State Between Reboots

These SharePoint service applications are a real pain!
I'm trying to stop a service application, but it remains in a hung "stopping" state (even between reboots!). I've also tried to delete the service application from powershell using "Remove-SPServiceApplication $spapp". But it doesn't
work. Additionally, this service application is associated with a SQL database that no longer exists. Is there a best practice for how to address this?
Please help.
Dave

Hi Dave,
Please provide more information about the issue service application.
You could try executing the following command to unprovision the service:
Get-SPServiceInstance
$srvc = Get-SPServiceInstance "GUID"
$srvc.Unprovision()
More information:
http://sharepoint.stackexchange.com/questions/16146/deleted-service-application-service-instances-remain
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • Cisco UXL Web service is in a STOPPED state!!

    This is on UCCX 8.5
    I have a issue where the Cisco UXL Web service is in a STOPPED state!!
    Running this command:
    admin:utils service list
    I see the following:
    Cisco UXL Web Service[STOPPED]  Component is not running
    I then am trying to run this command:
    admin:utils service start Cisco UXL Web Service
    But get the following :
    Executed command unsuccessfully
    Invalid service name for start/stop, valid names are:
    How do I enable the Web service?!?!?

    The UXL service is not used by CCX.
    It used by UCM to Conduct authentication checks by verifying the  end user name and password when an end user logs in to Cisco IP Phone  Address Book Synchronizer.
    It is just something that was not removed when Cisco ported CCX to the Linux platform, maybe they have plans to use it in a future release.
    Graham

  • SCOM monitoring on windows services in starting or stopping state

    Hi,
    Any chance if somebody can help me to set alarm on stopping and starting state  windows services  (automatic services) in SCOM for client servers.
    Balys

    1) Using Windows Service Template to create a windows service monitor with enabled "monitor only automatic service" option
    2) Export the management pack containing the monitor which created in step 1)
    3) Modidy data source from
    TypeID="Windows!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper">
        <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
        <ServiceName>XXXX</ServiceName>
    into
    TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
        <NameSpace>root\cimv2</NameSpace>
        <Query>select * from win32_service </Query>
    AND
    <Setting>
              <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
              <Value>$Data/Property[@Name='BinaryPathName']$</Value>
            </Setting>
    into
     <Setting>
              <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
              <Value>$Data/Property[@Name='PathName']$</Value>
            </Setting>
    4) Import the management pack
    http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspx
    Roger

  • Azure Cloud Service Stuck in "Stopping" state for a long time (12 hours)

    Does anyone have suggestions what to do with the issue I have. I tried to stop my Cloud Service the service is now basically stuck in "Stopping" State and been there over 12 hours. In my Cloud service there is 16 Virtual Machines I am using in
    testing.
    I tried to start Cloud Service but it also failed with error "Could not start the virtual machine deployment.".
    Is there something I could do or some way to get Microsoft Support (without paying extra)? I have "Visual Studio Premium with MSDN" so i have no other support but billing from Microsoft :(

    Managed to find the solution. I stopped and deallocated all the Virtual Machines. After that the Cloud Service status changed to stopped state. After that it was possible to start the Cloud Service again.

  • Windows service entered the stopped state

    hello,
    my windows service running on Windows Server 2008 R2 SP1 stopps two or three times per month undefined with the Event ID 7036 : service entered the stopped state. 10 mins later it starts again alone: service entered the running state.
    What I also see is that some other services enter in the stopped state and then enter the running state: with Event ID 7036, but more frequently, means several times per day:
    SoftwareProtectionService
    WindowsModuleInstaller
    ApplicationExperience
    WMI Performance Adapter
    Portable Device Enumerator Service
    What is the problem here, I could not find any solution yet.
    thx

    Hi,
    Sometimes services are started only when they are needed. Most services you listed are Manual in startup type which means they will be started manually when it is needed. 
    Also if you disable a service manually, dependency services will also be stopped. 
    Here are 2 threads which mentioned 2 services in your list and they are also start/stop even 10 minutes. 
    Windows Modules Installer Stops & Restarts Frequently
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/d8e192ed-92ff-451b-9646-add8214c4e84/windows-modules-installer-stops-restarts-frequently
    7036 - Service entered the stopped/started state Messages
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/8360b321-8225-42f1-a3e8-a75020dad227/7036-service-entered-the-stoppedstarted-state-messages

  • How to remove farm account from Application Discovery and Load Balancer Service Application

    Hello Community
        Using Sharpoint 2010 Server I think the reason
    the User Profile Synchronization would stop is because somehow the farm
    account was registered as a managed account.  So I removed the farm
    account from all services that ran under the farm account so that I could
    run Remove-SPManagedAccount or click the Remove icon in manage service accounts
    and then unregisted farm account as a managed account.
       But before I can run Remove-SPManagedAccount I need to remove it from one more
    service account that uses the farm account which is:
        "Application Discovery and Load Balanceer Service Account".
        However, nothing seems to remove it from there.
        I tried :
    "get-spserviceapplication | where {$_.TypeName -match "Application Discovery and Load Balancer Service Application"}
        and then
    "stop-spserviceinstance "dde7fbef-b068-4687-bedb-f67230efab5a"
        amongst a host of other methods so that I could ultimately
    unregister farm account as a managed account.
        But no matter what I do when I try to remove the farm account from Application Discovery
    and Load Balancer Service Application
    and then unregister the farm account as a managed account a message always says
    "Application Discovery and Load Balancer Service Application" is using the farm account
    as its service account.
        What can I do to free the farm account from Application Discovery and Load Balancer Service Application?
        Thank you
        Shabeaut

    The Farm Account is always a Managed Account and can never be "unmanaged". You don't have to set the automatic password roll.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Service remains in "offline*" state - how to reset it?

    Hello.
    Since two days ago, I've got a problem with one of the sevices on a S10 Sparc system.
    --($:~)-- svcs -a | grep \*
    offline*       Jan_08   svc:/application/oracle/database:RACE002
    --($:~)-- svcs -xv svc:/application/oracle/database:RACE002
    svc:/application/oracle/database:RACE002 (Oracle database)
    State: offline since  8. Januar 2008 03:43:55 CET
    Reason: Start method is running.
       See: http://sun.com/msg/SMF-8000-C4
       See: man -M /usr/share/man -s 5 ora-smf
       See: /var/svc/log/application-oracle-database:RACE002.log
    Impact: This service is not running.
    --($:~)-- tail /var/svc/log/application-oracle-database:RACE002.log
    database RACE002 is OPEN.
    [ Jan  7 03:41:45 Method "start" exited with status 0 ]
    [ Jan  8 03:42:52 Stopping because service disabled. ]
    [ Jan  8 03:42:52 Executing stop method ("/lib/svc/method/ora-smf stop database RACE002") ]
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    [ Jan  8 03:43:00 Method "stop" exited with status 0 ]
    [ Jan  8 03:43:54 Enabled. ]
    [ Jan  8 03:43:55 Executing start method ("/lib/svc/method/ora-smf start database RACE002") ]Ie., the service is in "offline*" since Jan 8.
    How do I get the service to change into any other different state, be it "online", "maintenance" or "offline"?
    --($:~)-- svcs -xv svc:/application/oracle/database:RACE002
    svc:/application/oracle/database:RACE002 (Oracle database)
    State: offline since  8. Januar 2008 03:43:55 CET
    Reason: Start method is running.
       See: http://sun.com/msg/SMF-8000-C4
       See: man -M /usr/share/man -s 5 ora-smf
       See: /var/svc/log/application-oracle-database:RACE002.log
    Impact: This service is not running.
    --($:~)-- sudo svcadm disable svc:/application/oracle/database:RACE002
    --($:~)-- svcs -xv svc:/application/oracle/database:RACE002
    svc:/application/oracle/database:RACE002 (Oracle database)
    State: offline since  8. Januar 2008 03:43:55 CET
    Reason: Start method is running.
       See: http://sun.com/msg/SMF-8000-C4
       See: man -M /usr/share/man -s 5 ora-smf
       See: /var/svc/log/application-oracle-database:RACE002.log
    Impact: This service is not running.
    --($:~)-- svcs svc:/application/oracle/database:RACE002
    STATE          STIME    FMRI
    offline*       Jan_08   svc:/application/oracle/database:RACE002
    --($:~)-- sudo svcadm mark maintenance svc:/application/oracle/database:RACE002
    --($:~)-- svcs svc:/application/oracle/database:RACE002
    STATE          STIME    FMRI
    offline*       Jan_08   svc:/application/oracle/database:RACE002
    --($:~)-- sudo svcadm clear svc:/application/oracle/database:RACE002
    svcadm: Instance "svc:/application/oracle/database:RACE002" is not in a maintenance or degraded state.
    --($:~)-- sudo svcadm refresh svc:/application/oracle/database:RACE002
    --($:~)-- svcs svc:/application/oracle/database:RACE002
    STATE          STIME    FMRI
    offline*       Jan_08   svc:/application/oracle/database:RACE002
    --($:~)-- sudo svcadm restart svc:/application/oracle/database:RACE002
    --($:~)-- svcs svc:/application/oracle/database:RACE002
    STATE          STIME    FMRI
    offline*       Jan_08   svc:/application/oracle/database:RACE002 Note: I'm not looking for an answer on how to make the oracle database RACE002 be available again. That can easily be done as "oracle" OS user and using "sqlplus" to send a "startup" command.
    I'm looking for a way to make SMF behave again. Because right now, I cannot use SMF to change the state of the service, which is a problem, as my backup scripts fail because of that :/
    Thanks a lot,
    Michael

    Hello again Michael, would you be able to post the output of the following procedure?
    4:41pm cmdrkeen@crossfire  /research #>svccfg
    svc:> select network/ssh
    svc:/network/ssh> listprop(except obviously with your service rather than SSH)

  • Windows Services set to Automatic in stopped state

    Hi All,
    On windows 2008r2 sp1 most of the services in stopped state after the reboot even that is set to automatic. if i try to start i'm getting a error message stating that "service did not start in timely fashion". I booted the computer in safe and
    i tried starting the service it didnt worked out. In msconfig except microsft related services i disabled all the third party services and i tried the microsft  related services like RDS, BITS..etc still same issue persists. Could someone please
    guide me how to get rid of this issue.

    Hi,
    Did you checked the event log? Base on my experience , 
    a number of service stopped often cause by some system file corrupted, please try to run the sfc /scannnow command for the check.
    To run the System File Checker tool, follow these steps: 
    1. Click Start Collapse this imageExpand this image , and then type cmd in the Start Search box.
    2. Right-click cmd in the Programs list, and then click Run as administrator. Collapse this imageExpand this image If you are prompted for an administrator password or confirmation,
    type your password or click Continue
    3. At the command prompt, the following line, and then press ENTER:
    sfc /scannow
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Why has cmd-tab has stopped switching between open applications?

    why has cmd-tab stopped switching between open applications?

    Have you tried rebooting your machine? Are you multitasking and running out of RAM perhaps? Reboot the machine and check to see if it works again.
    If that doesn't work, go into system preferences and check your keyboard shortcuts.
    http://support.apple.com/kb/HT1343

  • The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'GUID′ in search application 'Search Service Application' is in a good state and try again.

    Another post with a well-known title. Believe me, I know. Here's my setup;
    - 1 Server 2012 WFE, SharePoint Server 2013, totally up-to-date, including the september 2014 hotfix
    - 1 Server 2012 DB, SQL Server 2012
    Installed SP 2013 using PowerShell, with the AutoSPinstaller. Worked like a charm. Got everything up and running, with some tweaking here and there to customize it to fit my situation. Now, I can't get the Search Service Application to work. Must have created,
    deleted and recreated it at least 30 times. Used both PowerShell scripts, PowerShell line-by-line, Central Admin, heck, I even went so far as to use the configuration wizzard... No luck. I keep on getting the message that search cannot connect to the machine
    that hosts the 'administration component'.
    In order to avoid answers that suggest all the things I've already tried, here's a summary of the various scenarios I followed:
    Tried both a dedicated application pool as well as the SharePoint Web Services Default
    Timer job job-application-server-admin-service is running and not showing errors
    IIS 8.0 is installed, so is .NET 4.5 (not the known perp of IIS 7.5 and .NET 4.0)
    the get-SPEnterpriseSearchServiceInstance -local returns a healthy, online state
    the SPEnterpriseSearchQueryAndSiteSettingsServiceInstance is also running
    FireWall is disabled; registry has the BackConnectionHostNames modified with the necessary FQDNs
    Accounts used to install and / or run the serviceapp all have sufficient rights - tried a dedicated managed account, SP_2013_SearchSvc, the SP admin account, and even the original Farm account; all to no avail, I keep on getting the error message.
    Even tried stsadm to start the server search running - NOTHING WORKS!!!
    As you might understand, this is driving me nuts. About to miss my second deadline, and no amount of IISresetting is making this go away. Been stuck on this issue for far too long, now (my searching is measured in days and weeks instead of hours, by now).
    Whoever helps me solve this - you will have my eternal gratitude, and a nice bottle of Prosecco. Or whatever's your poison. You need to come get it, though. I´m situated in the Netherlands. Hey, you always meant to visit Amsterdam and see for yourself, right?
    Thanks, community, for coming to my rescue!

    Thanks again - Alas, I've been there. Deleted Search a dozen times, at least, and tried installing it, initially using a PowerShell script (tried several scripts actually, from full-blown total Search Applications with extensive topologies to the most basic
    of basics 'please just start without showing me errors'), PowerShell line-by-line to see where things went South, next tried installing through Central Admin (hoping that it was my own stupidity in overlooking things and hoping The System would get it right
    for me), and eventually even tried using the config wizzard as a total and utter last resort - Nothing worked.
    At first, I found out that removing a Service App needs a *little* bit more work than simply removing it through Central Admin, but by now I can truthfully state that if there's one thing I've become supergood at, it's removing Search Service Applications.Totally.
    I will check out the article, though - I realized early on in my SharePoint experience that regardless of what you think you know, there's so much more to find out. I know, that's almost philosophical. That is, my friends, indeed the point I've reached...

  • What is the difference between Session timeout and Short Session timeout Under Excel Service Application -- session management?

    Under Excel Service Application --> session management; what is the difference between Session timeout and Short Session timeout?

    Any call made from the API will automatically be set to the “Session Timeout” period, no matter
    what. Calls made from EWA (Excel Web Access) will get the “Short Session Timeout” period assigned to it initially.
    Short Session Timeout and Session Timeout in Excel Services
    Short Session Timeout and Session Timeout in Excel Services - Part 2
    Sessions and session time-outs in Excel Services
    above links are from old version but still applies to all.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • BI Scheduler service stuck in stopping state

    Whenever I try to stop BI Scheduler service on my machine, it gets stuck in a 'stopping' state and I have to restart the box to get it to work again. When I look at the log, I see the following error.
    [nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall
    The environment is Windows 2003. If anyone has anyone faced this issue before, can you please share your solution?

    hi,
    No need to restart the box just Click on Task Manager-->Process-->NQScheduler.exe (search for this process) and click on End Process.Thats it and go back to services it will trun to Start mode...
    thanks,
    saichand.v

  • Ports required for communication between Web servers and service applications (the default is HTTP)

    We're using SharePoint 2010, I'm the system admin for a SharePoint farm. We enabled SharePoint Search by adding a Search Service APplication. One of the crawl report timer job is failing every 5 minte with the error "Cannot connect to remote server".
    After digging around, we found that the server running the timer job tries to connect to the SearchAdmin.svc on the index server, over HTTPS / port 32844 However, communication over SSL via a non default port is blocked by our firewall.
    According to this article: https://technet.microsoft.com/en-us/library/cc262849.aspx the default is HTTP for communication
    between web servers. How is it possible that it's trying to connect over SSL?

    Hi,
    Quoted from
    https://technet.microsoft.com/en-us/library/cc262849.aspx#ServiceApp :
    You can change the protocol and port binding for each service application. On the Service Applications page in Central Administration, select the service application, and then click
    Publish.
    Here is an article for configuring Windows firewall port rules for SharePoint using PowerShell in case you need:
    http://www.xylos.com/default.aspx?id=1050
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • MDT 2012 - Application Bundle Install Issues- Logged in as Admin randomly between reboots

    Hi Everyone,
     We are on MDT 2012 / WDS... Moving to SCCM soon but not soon enough.
    A new problem started in our environment and I'm not sure if it's a networking, storage, or wds server / settings issue.
    The OS deployment happens completely fine, but during the application install phase (Application Bundle) if the application requires a reboot sometimes the deployment does not continue with the rest of the applications, will just stop the process and be
    logged in as administrator. 
    I've checked the normal deployment logs - bdd.log and there is no errors, it shows the last app install but then just drops off. Almost like the machine is not reconnecting to the deployment share to continue installations after the reboot.
    This is very random and does not happen on the same app or just one machine model, it's almost like a networking hiccup or something else. The apps exist on the deployment share which is on a 2008 VM with Nas storage.
    Any help is appreciated, other logs to look at or if anyone else has seen similar etc...
    Thank You!

    Thanks for the help guys, I believe I'm all set now. Basically removed the reboot from the problematic app and put the app at the end of the app bundle. 
    This one was strange... It was the App-V client which I originally did not have a reboot and was the very first app installed in the bundle. With no reboot, I noticed some machines installed the app-v client then would skip all the other apps and move on
    to the next phase, which is why I added a reboot.
    After adding the reboot I started seeing the problem I posted above logged in as admin. So ultimately removed the reboot and added it as the last app, which seems to be working.
    Thanks Again.

  • Difference between Professional application and self-service application

    hi frntz,
    May I know the difference between professional application and self-service application in oracle E-biz. Why we cant able to use both at same time ?

    Hi;
    Please check below which could be helpful for your issue:
    http://download.oracle.com/tech/blaf/specs/blafusers.html
    Regard
    Helios

Maybe you are looking for

  • Swing and Flash SWF objects

    Is there a way to embed Flash files on a Swing application? What I want to do is grab locations of images through the java application and pass it to an SWF file to display an animation. If embedding flash in Swing isn't possible, what other options

  • How to do a calculation (with times)

    Hi all! I'm creating a pdf form using Acrobat Professional CS4. My client wants the person using the form to type in the time they start their shift, the time they end their shift... and then have it automatically calculate the time they spent at wor

  • RMAN-03002: failure of recover command

    Hi all, I am testing a new backup and restore mechanism of a 11.2 system in Linux. A third mirror of the disks from the database server has been split and mounted in a media server. An RMAN backup was taken then, on tape, using HP Data Protector. The

  • Need correct Target Id for report logical links

    Dear Experts, I have the following requirement where I need to have 5 Trade Funds related reports to be displayed when I click on the 'xyz' workcenter of my business role. The standard Group Id (Work Center Link Groups) for the reports is FM-ALL-RE.

  • Where to save new classes

    Hi All, Another numpty question from me.... I have tried to follow what info i could from the net, but i can't get it to work. Basically, what would appear to be a pretty cool tutorial which also lets you download the class files (i think that's what