Centos安裝ArcGIS Server後第一次訪問Manager頁面不成功(提示DIAG026)

1、問題描述

  • centos7安裝ArcGIS Servre後,不能訪問到Server的Manager頁面
  • 使用server/tools/serverdiag/serverdiag工具監測,提示如下信息:
*** DIAG026: One or more core services was not started.  Start ArcGIS
Server by running the startserver.sh script or restart ArcGIS Server
if it is already started.

2、問題排查

  • 查看server日誌信息,日誌位置/server/framework/etc/service/logs/service-0.log,日誌內容如下:
Thu Feb 13 22:08:36.634 EST 2020 Start invoked
Thu Feb 13 22:08:36.734 EST 2020 Start NodeAgent.start().
Thu Feb 13 22:08:36.740 EST 2020 Loading all observers.
Thu Feb 13 22:08:36.854 EST 2020 arcgis_cloud_platform=null
Thu Feb 13 22:08:36.855 EST 2020 arcgis_cloud_platform=null
Thu Feb 13 22:08:36.857 EST 2020 NodeAgent loaded observer 'HostnameObserver'.
Thu Feb 13 22:08:36.858 EST 2020 NodeAgent loaded observer 'LogServiceObserver'.
Thu Feb 13 22:08:36.863 EST 2020 NodeAgent loaded observer 'ServerUninstallObserver'.
Thu Feb 13 22:08:36.871 EST 2020 NodeAgent loaded observer 'ServerConfigObserver'.
Thu Feb 13 22:08:36.873 EST 2020 NodeAgent loaded observer 'AutomaticMachineRenameObserver'.
Thu Feb 13 22:08:36.874 EST 2020 NodeAgent loaded observer 'VerifyMachineRegistrationObserver'.
Thu Feb 13 22:08:36.876 EST 2020 NodeAgent loaded observer 'Server upgrader'.
Thu Feb 13 22:08:36.878 EST 2020 NodeAgent loaded observer 'PlatformServicesPluginObserver'.
Thu Feb 13 22:08:36.879 EST 2020 NodeAgent loaded observer 'RelationalDatastoreObserver'.
Thu Feb 13 22:08:36.880 EST 2020 Regular startup of Server.
Thu Feb 13 22:08:36.880 EST 2020 Starting RMI connector for NodeAgent.
Thu Feb 13 22:08:51.643 EST 2020 ERROR: Unable to start the RMI connector for NodeAgent

3、解決問題

  • 使用ifconfig命令查看網卡信息,如果出現inet6 fe80::20c:29ff:fed0:3514說明機器打開了IPV6
  • 編輯/etc/sysctl.conf配置,增加net.ipv6.conf.all.disable_ipv6=1
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).

net.ipv6.conf.all.disable_ipv6=1
  • 編輯/etc/sysconfig/network配置,增加NETWORKING_IPV6=no
# Created by anaconda
NETWORKING_IPV6=no
  • 編輯/etc/sysconfig/network-scripts/ifcfg-eno*,修改IPV6INITno
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="no"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="ens32"
  • 關閉防火請並取消防火牆自啓動
  • 再次使用ifconfig命令檢查網卡信息
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章