KNOWLEDGE BASE

"Error: Failed to remove service data" Restore Error


Published: 07 Jun 2013
Last Modified Date: 16 Jun 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 

Resolution

Option 1

Check for and deactivate any anti-virus or logging software that may be holding onto files in the Tableau Software directories.

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 navigate to the Tableau Sever bin folder, located by default at C:\Program Files\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?