这是不同的问题。没有“权限被拒绝”任何建议thx!!!这是amabri接口
server112中的ambari服务器和server112、server111都报告了相同的错误
ambari-server.log文件
15 Jan 2021 22:21:18,082 INFO [ambari-client-thread-23] BootStrapImpl:108 - BootStrapping hosts server112:server111:
15 Jan 2021 22:21:18,083 INFO [Thread-32] BSRunner:189 - Kicking off the scheduler for polling on logs in /var/run/ambari-server/bootstrap/2
15 Jan 2021 22:21:18,084 INFO [Thread-32] BSRunner:258 - Host= server112,server111 bs=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py requestDir=/var/run/ambari-server/bootstrap/2 user=root sshPort=22 keyfile=/var/run/ambari-server/bootstrap/2/sshKey passwordFile null server=server112 version=2.6.1.0 serverPort=8080 userRunAs=root timeout=300
15 Jan 2021 22:21:18,084 INFO [pool-20-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
15 Jan 2021 22:21:18,084 INFO [pool-20-thread-1] BSHostStatusCollector:62 - HostList for polling on [server112, server111]
15 Jan 2021 22:21:18,087 INFO [Thread-32] BSRunner:286 - Bootstrap output, log=/var/run/ambari-server/bootstrap/2/bootstrap.err /var/run/ambari-server/bootstrap/2/bootstrap.out at server112
15 Jan 2021 22:21:23,087 INFO [Thread-32] BSRunner:310 - Script log Mesg
INFO:root:BootStrapping hosts ['server112', 'server111'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat6 with user 'root'with ssh Port '22' sshKey File /var/run/ambari-server/bootstrap/2/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/2 ambari: server112; server_port: 8080; ambari version: 2.6.1.0; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host server112 fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to server112 closed.
STDOUT:
tcgetattr: Invalid argument
Connection to server112 closed.
ERROR:root:ERROR: Bootstrap of host server111 fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to server111 closed.
STDOUT:
tcgetattr: Invalid argument
Connection to server111 closed.
INFO:root:Finished parallel bootstrap
15 Jan 2021 22:21:23,088 INFO [pool-20-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
15 Jan 2021 22:21:23,088 INFO [pool-20-thread-1] BSHostStatusCollector:62 - HostList for polling on [server112, server111]
15 Jan 2021 22:21:38,479 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
15 Jan 2021 22:21:38,480 INFO [pool-18-thread-1] MetricsServiceImpl:81 -*********Configuring Metric Sink**********
15 Jan 2021 22:21:38,480 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
15 Jan 2021 22:26:38,481 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
15 Jan 2021 22:26:38,481 INFO [pool-18-thread-1] MetricsServiceImpl:81 -*********Configuring Metric Sink**********
15 Jan 2021 22:26:38,481 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
15 Jan 2021 22:31:38,481 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
15 Jan 2021 22:31:38,481 INFO [pool-18-thread-1] MetricsServiceImpl:81 -*********Configuring Metric Sink**********
15 Jan 2021 22:31:38,481 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
15 Jan 2021 22:36:38,482 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
15 Jan 2021 22:36:38,482 INFO [pool-18-thread-1] MetricsServiceImpl:81 -*********Configuring Metric Sink**********
15 Jan 2021 22:36:38,482 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
暂无答案!
目前还没有任何答案,快来回答吧!