系统崩溃或服务器意外宕机导致portal配置文件被置空

电脑系统崩溃强制关机后,再启动服务器发现portal启动不了,经过排查发现三个配置文件被置空
Portal\framework\etc\arcgis-logsettings.json、Portal\framework\runtime\tomcat\conf\server.xml、geosceneportal\content\items\portal\properties.json
 
已邀请:

王卡

赞同来自:

找同版本的文件替换并修改可特定环境相关的配置后,启动正常了。
portal容易被置空的文件
1, server.xml文件,位于portal安装磁盘:\Program Files\ArcGIS\Portal\framework\runtime\tomcat\conf 找到相同版本的server拷贝一份正常的文件,覆盖问题文件。 
2, gw_config.properties, 位于portal安装磁盘:\Program Files\ArcGIS\Portal\framework\webapps\arcgis#sharing\WEB-INF\classes\resources 找到相同版本的server拷贝一份正常的文件,需要根据现有环境进行参数修改,需要修改的参数主要是三个路径参数(必改): content.dir , tmp.dir , config.pkgreader.7zip-exec 
3、usr\arcgisportal\content\items\portal下的portal-config.properties 
4、content items portal下的properties.json 
5、Portal\framework\runtime\indexservice\WEB-INF下的indexserver.properties

要回复问题请先登录注册