KNOWLEDGE BASE

"Error: Failed to remove service data" Restore Error


Published: 07 Jun 2013
Last Modified Date: 31 Mar 2017

Issue

When you try to restore a Tableau Server backup, the following error might occur: 

*** Error: Failed to remove service data; is the service still running? If the service is not running but something is hanging on to Tableau files, please reboot the machine.
 

Environment

Tableau Server 8.0

Resolution

Option 1

Upgrade to Tableau Server 8.1 or a later version. For more information, see Upgrading Tableau Server in the Tableau knowledge base.

Option 2

  1. Stop Tableau Server. For more information, see tabadmin stop in Tableau Help. 
  2. Restart the computer running Tableau Server.
  3. On the computer running Tableau Server, open the Command Prompt window as an administrator and run one of the following commands:
    • On a 32-bit computer: cd "C:\Program Files\Tableau\Tableau Server\[version]\bin"
    • On a 64-bit computer: cd "C:\Program Files (x86)\Tableau\Tableau Server\[version]\bin"
  4. At the command prompt, run the following commands in order:
    • tabadmin stop 
    • tabadmin restore
    • tabadmin start

Cause

This issue can happen when a backup restore is performed while Tableau Server is still running, or the operating system or another program on the computer prevented one of the Tableau Server processes to stop completely.
Did this article resolve the issue?