ERROR

Python can only be started by the install owner. This script must be run by the installation owner

Last Published: April 26, 2020

Error Message

When attempting to run a Python script (or execute python.exe) on a Linux operating system as a user other than the install owner of ArcGIS for Server, the following error message is returned.

"Python can only be started by the install owner (name of install owner) This script must be run by the installation owner (name of install owner)"

Cause

The owner of the installed files does not match the identity of the user executing the command.

Located at:

<server install directory>/arcgis/server/tools/python


 
This is by design.

Solution or Workaround

Switch the user to the one created when installing ArcGIS Server prior to executing the Python script.

Example:


[root@bobafettt tools]# ./python
Python can only be started by the install owner (arcgis1031). This script must be run by the installation owner (arcgis1031)

[root@bobafettt tools]# su arcgis1031
[arcgis1031@bobafettt tools]$ ./python

Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Article ID:000012590

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic