NC Cloud启动卡在"start servers with domain configuraion"

症状启动nc后一直卡在start servers with domain configuration

[root@localhost nc_0824]# ./startup.sh

PLATFORM=Linux x86_64 .

JAVA_HOME=/usr/java/jdk1.8.0_221-amd64/ .

NC_HOME=/home/nc_0824 .

nohup: redirecting stderr to stdout

the server will start....

start servers with domain configuration

 


已邀请:

解决:

1、如果是windows服务器,请去掉sysconfig配置工具-服务器信息中的IP配置

2、如果是linux服务器,请确认sysconfig配置工具-服务器信息中填写的是机器IP或有效的机器名,且本机机器名已配置本地解析。


附:修改机器名并设置linux本地host解析

#查看本机机器名

hostname 

#修改机器名为nccloud001

hotsnamectl set-hostname nccloud001

#确认修改成功

hostname  


#设置机器名本地解析

vi /etc/hosts 

#添加下面一行

10.10.25.99 nccloud001   

#其中,IP为本机IP,

nccloud001  为前面设置的hostname,如果已存在机器名对应的本地解析,确保机器名对应的本地解析IP不可以是127.0.0.1


此外,默认一般第1-2行为localhost 对应的127.0.0.1解析,请将机器名添加到localhost行最后增加一个。

类似如下:

/uploads/answer/20200917/026e38deb97d00cee904a8539dbdac3b.png


要回复问题请先登录注册