讨论区 » AAS-V10企业版 »
管控界面新建独立实例失败
版本:20230401
日志异常提示:
[2023-06-29T17:22:49] [] [INFO] [] [] [tid: _ThreadID=177 _ThreadName=ApusicLogManager] [timeMillis: 1688030569727] [levelValue: 800] [[
管理控制台: 正在初始化会话属性...]]
[2023-06-29T17:23:08] [] [INFO] [] [] [tid: _ThreadID=213 _ThreadName=ApusicLogManager] [timeMillis: 1688030588413] [levelValue: 800] [[
Command _validate-das-options executed successfully.]]
[2023-06-29T17:23:08] [] [INFO] [] [] [tid: _ThreadID=71 _ThreadName=ApusicLogManager] [timeMillis: 1688030588418] [levelValue: 800] [[
Command _validate-das-options executed successfully.]]
[2023-06-29T17:23:08] [] [INFO] [] [] [tid: _ThreadID=214 _ThreadName=ApusicLogManager] [timeMillis: 1688030588978] [levelValue: 800] [[
Could not contact the domain administration server running at 0.0.0.1:6848. This could be because a firewall is blocking the connection back to the domain administration server or because the domain administration server host is known by a different name on the instance host 0001. To change the hostname that the domain administration server uses to identify itself please update the domain administration server admin HTTP listener address.]]
[2023-06-29T17:23:08] [] [INFO] [] [] [tid: _ThreadID=215 _ThreadName=ApusicLogManager] [timeMillis: 1688030588978] [levelValue: 800] [[
Command _create-instance-filesystem failed.]]
[2023-06-29T17:23:08] [] [WARNING] [] [] [tid: _ThreadID=71 _ThreadName=ApusicLogManager] [timeMillis: 1688030588993] [levelValue: 900] [[
Successfully created instance oss in the domain administration server configuration, but failed to create the instance files on node localhost-mydomain (localhost).: Command ' /opt/AAS/ApusicAS/aas/lib/nadmin --_auxinput - --interactive=false --host 0.0.0.1 --port 6848 _create-instance-filesystem --node localhost-mydomain oss' failed on node localhost-mydomain (localhost): Command _create-instance-filesystem failed.
Could not contact the domain administration server running at 0.0.0.1:6848. This could be because a firewall is blocking the connection back to the domain administration server or because the domain administration server host is known by a different name on the instance host 0001. To change the hostname that the domain administration server uses to identify itself please update the domain administration server admin HTTP listener address.: To complete this operation run the following command locally on host localhost from the AAS install location /opt/AAS/ApusicAS:
lib/nadmin --host 0.0.0.1 --port 6848 create-local-instance --node localhost-mydomain oss]]
分析处理:
日志异常出现了0.0.0.1的ip信息,服务器本身没有这个ip信息,lib/nadmin --host 0.0.0.1 --port 6848 create-local-instance --node localhost-mydomain oss
执行后仍然是失败的
处理方案:
添加jvm参数:Dapusic.admin.useIp.ip=真实ip 和 -Dapusic.admin.useIp.enabled=true,并重启中间件,可以进行创建