English

Error: The tar command used to install the Service Pack files failed

Error Message

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

"***ERROR:
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."

Cause

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.

    Note:
    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 SP3config.sh script.

    SP3config.txt

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

  • Save the file as SP3config.sh.

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

    % chmod 755 SP3config.sh

  • Replace the existing SP3config.sh script with the updated SP3config.sh script.

    % cp SP3config.sh <ArcGIS Server Installation>/scripts

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

    % ./SP3config.sh
    Note:
    If the new SP3config.sh 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."


Related Information