Error: The tar command used to install the Service Pack files failed
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.
- Re-run the ArcGIS Server Service Pack 3 applypatch command.
- Click on the link below to open a text version of the SP3config.sh 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 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.
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."