The tar command used to install the Service Pack files failed

Last Published: April 25, 2020

Error Message

For ArcGIS Server SOC only installations, running applypatch for ArcGIS Server 9.2 Service Pack 3 returns the following error message:

The tar command being used to install the Service Pack files failed

The Service Pack (ArcGIS Server 9.2 Service Pack 3) installation has failed.

You will have to re-run applypatch to install ArcGIS Server 9.2 Service Pack 3."


The <ArcGIS Server Installation>/servercore/agsidsvr directory is owned by root but should be owned by the ArcGIS Server owner. Therefore, the ArcGIS Server owner did not have the required write access.

Solution or Workaround

To successfully finish the ArcGIS Server 9.2 Service Pack 3 installation, SOC only installations should follow these instructions:

  • Switch to root user:

    % su – root

  • Change directory location to <ArcGIS Server Installation>/servercore.

    % cd <ArcGIS Server Installation>/servercore

  • Change the ownership of agsidsvr to the owner of the ArcGIS Server installation.

    Do not change the ownership of any other subfolder in the servercore directory.

    % chown <ArcGIS Server Owner> agsidsvr

  • Exit from the root user account.

    % exit

  • Re-run the ArcGIS Server Service Pack 3 applypatch command.

    % ./applypatch

  • Click on the link below to open a text version of the script.


  • Copy the text of the script from the browser and paste it to a new file in a text editor.

  • Save the file as

  • Change permissions on the file so that it is executable.

    % chmod 755

  • Replace the existing script with the updated script.

    % cp <ArcGIS Server Installation>/scripts

  • As the <ArcGIS Server Owner>, run the new script.

    % ./
    If the new script is not used, the following error displays:

    "This script must be run as the owner of the ArcGIS/ArcIMS/ArcReader/ArcEngine product.
    Script is being run from an invalid location."

Article ID:000009630

  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic