Cannot create site : failed creating CachingTools.GPServer

2098
4
10-17-2012 09:51 AM
AndreasUlmer
Esri Contributor
Hi

when trying to create a new site on a fresh AGS 10.1 install on Linux, I get the following error:

Failed to create the site. Failed to create the service 'System/CachingTools.GPServer'.

(log below)

  * server runs on a Linux VM on Mac OS
  * no underscore in hostname
  * completely disabled firewall in both Linux and Mac OS

  * is there a way to get more detailed error messages to figure out where it gets stuck?
  * is this a permission issue? network/port issue? config issue? licensing issue?


Any help appreciated




<Msg time="2012-10-17T19:43:20,166" type="VERBOSE" code="7711" source="Admin" process="4298" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">ArcGIS Server is using 0 file handles out of a total limit of 16,384.</Msg>
<Msg time="2012-10-17T19:43:25,729" type="INFO" code="9011" source="Rest" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Application Initialized.</Msg>
<Msg time="2012-10-17T19:43:28,253" type="INFO" code="7702" source="Admin" process="4298" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Web server started successfully.</Msg>
<Msg time="2012-10-17T19:43:43,136" type="INFO" code="6507" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Initializing the configuration store.</Msg>
<Msg time="2012-10-17T19:43:43,345" type="INFO" code="6624" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Initializing security configuration.</Msg>
<Msg time="2012-10-17T19:43:43,455" type="INFO" code="6513" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Initializing the server machine.</Msg>
<Msg time="2012-10-17T19:43:43,632" type="INFO" code="6514" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Creating the cluster 'default'.</Msg>
<Msg time="2012-10-17T19:43:56,184" type="INFO" code="6549" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Server machine 'ZRH-TEST' started successfully.</Msg>
<Msg time="2012-10-17T19:43:56,189" type="INFO" code="6517" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Cluster 'default' started successfully.</Msg>
<Msg time="2012-10-17T19:43:57,33" type="INFO" code="6694" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">SOAP handler reinitialized.</Msg>
<Msg time="2012-10-17T19:43:57,493" type="INFO" code="6693" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">REST handler reinitialized.</Msg>
<Msg time="2012-10-17T19:43:57,494" type="INFO" code="6515" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Cluster 'default' successfully created.</Msg>
<Msg time="2012-10-17T19:43:57,494" type="INFO" code="6534" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Site created successfully.</Msg>
<Msg time="2012-10-17T19:43:57,524" type="INFO" code="6532" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Creating the auto-deployed services.</Msg>
<Msg time="2012-10-17T19:44:04,233" type="SEVERE" code="6563" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Failed to create the service 'System/CachingTools.GPServer'.</Msg>
<Msg time="2012-10-17T19:44:04,237" type="SEVERE" code="6533" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Failed to create the site. Failed to create the service 'System/CachingTools.GPServer'.</Msg>
<Msg time="2012-10-17T19:44:06,613" type="INFO" code="6552" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Server machine 'ZRH-TEST' was stopped successfully .</Msg>
<Msg time="2012-10-17T19:44:06,618" type="INFO" code="6519" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Cluster 'default' stopped successfully.</Msg>
<Msg time="2012-10-17T19:44:06,660" type="INFO" code="6552" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Server machine 'ZRH-TEST' was stopped successfully .</Msg>
<Msg time="2012-10-17T19:44:06,691" type="INFO" code="6694" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">SOAP handler reinitialized.</Msg>
<Msg time="2012-10-17T19:44:06,762" type="INFO" code="6693" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">REST handler reinitialized.</Msg>
<Msg time="2012-10-17T19:44:06,792" type="INFO" code="6694" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">SOAP handler reinitialized.</Msg>
<Msg time="2012-10-17T19:44:06,840" type="INFO" code="6693" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">REST handler reinitialized.</Msg>
<Msg time="2012-10-17T19:44:06,840" type="INFO" code="6523" source="Admin" process="4412" thread="1" methodName="" machine="ZRH-TEST" user="" elapsed="">Cluster 'default' was deleted successfully. </Msg>
0 Kudos
4 Replies
Maral_CanEmre
New Contributor
Hi Andreas,

I don't have any idea about Linux but I've faced the same problem while creating site on my ArcGIS for Server 10.1 on Windows Server 2008 R2. In may case, it was about folder permissions. In Microsoft OS platforms, setup is creating folder "arcgisserver" and sub-folders "config-store" and "directories". I've solved the issue by creating these folders by myself, just before "create site" process, and granting sharing and security permissions to these folders for ArcGIS Server account.

Good luck!
0 Kudos
DawenXie
New Contributor III
Not sure whther this is helpful or not.

It seems that "Site created successfully" and you had problem in "Creating the auto-deployed services". This seems to be a persmission issue.

I would assume you are able to log in to the server manager and check information related to your site. Make sure the OS account that installed the software has all persmission for all directories listed there.

PS. you can find out your log location through ArcGIS Server Administrator API. The link is: YOURHOST:6080/arcgis/admin/
0 Kudos
AndreasUlmer
Esri Contributor
memre, dawenx

thanks for your feedback. I checked the permissions: all files in the installation dir are readable, writeable and exectuable by $USER, and arcgis server runs as the same $USER. So I think the arcgis server process should have all required permissions.
To make this aboslutely sure, I now changed all files within the installation dir (arcgis/server/) to be readable and writeable by ALL.
Still the same behaviour however (Failed to create the service 'System/CachingTools.GPServer'.)

I also tried to create the site via the (old) admin url SERVER:6080/arcgis/admin/, with the same result.

* are there other directories outside the installation dir that are accessed?
* other ideas?

thanks
Andreas
0 Kudos
DawenXie
New Contributor III
Just wanted to rule it out:  the server directories (cache/job/output/system) are specified when you created your site through server manager. If they are different from the installation directories, you need to make sure the permission for those directories are correct. You can find out your server directories under "Site" once you log in to server manager.
0 Kudos