You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by jin tao <to...@outlook.com> on 2016/05/11 15:46:38 UTC

Fwd: ERROR:tcgetattr: Invalid argument

hi  friends,

I'm install HDP 2.4.2.0 on centos 6with ambari 2.2.2.0.

I had 4 nodes,and a local hdp repository installed on the master node.

Now there 3 node could install agent successfully.From the log I couldnt 
found out what the problem.

Many thanks!

here is the screenshot:

and the log is:

==========================
Creating target directory...
==========================

Command start time 2016-05-11 22:32:19

Connection to m2.fengji.com closed.
SSH command execution finished
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:19

==========================
Copying common functions script...
==========================

Command start time 2016-05-11 22:32:19

scp /usr/lib/python2.6/site-packages/ambari_commons
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:20

==========================
Copying OS type check script...
==========================

Command start time 2016-05-11 22:32:20

scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:20

==========================
Running OS type check...
==========================

Command start time 2016-05-11 22:32:20
Cluster primary/cluster OS family is redhat6 and local/current OS family 
is redhat6

Connection to m2.fengji.com closed.
SSH command execution finished
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:21

==========================
Checking 'sudo' package on remote host...
==========================

Command start time 2016-05-11 22:32:21
sudo-1.8.6p3-20.el6_7.x86_64

Connection to m2.fengji.com closed.
SSH command execution finished
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:22

==========================
Copying repo file to 'tmp' folder...
==========================

Command start time 2016-05-11 22:32:22

scp /etc/yum.repos.d/ambari.repo
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:22

==========================
Moving file to repo dir...
==========================

Command start time 2016-05-11 22:32:22

Connection to m2.fengji.com closed.
SSH command execution finished
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:22

==========================
Changing permissions for ambari.repo...
==========================

Command start time 2016-05-11 22:32:22

Connection to m2.fengji.com closed.
SSH command execution finished
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:23

==========================
Copying setup script file...
==========================

Command start time 2016-05-11 22:32:23

scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=m2.fengji.com, exitcode=0
Command end time 2016-05-11 22:32:23

==========================
Running setup agent script...
==========================

Command start time 2016-05-11 22:32:23
('', None)
('', None)

Connection to m2.fengji.com closed.
SSH command execution finished
host=m2.fengji.com, exitcode=255
Command end time 2016-05-11 22:32:34

ERROR: Bootstrap of host m2.fengji.com fails because previous action 
finished with non-zero exit code (255)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to m2.fengji.com closed.

STDOUT: ('', None)
('', None)

Connection to m2.fengji.com closed.



Re: ERROR:tcgetattr: Invalid argument

Posted by jin tao <to...@outlook.com>.
could anyone  help me to slove this issue?

On 05/11/2016 11:46 PM, jin tao wrote:
>
> hi  friends,
>
> I'm install HDP 2.4.2.0 on centos 6with ambari 2.2.2.0.
>
> I had 4 nodes,and a local hdp repository installed on the master node.
>
> Now there 3 node could install agent successfully.From the log I 
> couldnt found out what the problem.
>
> Many thanks!s issue
>
> here is the screenshot:
>
> and the log is:
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2016-05-11 22:32:19
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:19
>
> ==========================
> Copying common functions script...
> ==========================
>
> Command start time 2016-05-11 22:32:19
>
> scp /usr/lib/python2.6/site-packages/ambari_commons
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:20
>
> ==========================
> Copying OS type check script...
> ==========================
>
> Command start time 2016-05-11 22:32:20
>
> scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:20
>
> ==========================
> Running OS type check...
> ==========================
>
> Command start time 2016-05-11 22:32:20
> Cluster primary/cluster OS family is redhat6 and local/current OS 
> family is redhat6
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:21
>
> ==========================
> Checking 'sudo' package on remote host...
> ==========================
>
> Command start time 2016-05-11 22:32:21
> sudo-1.8.6p3-20.el6_7.x86_64
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:22
>
> ==========================
> Copying repo file to 'tmp' folder...
> ==========================
>
> Command start time 2016-05-11 22:32:22
>
> scp /etc/yum.repos.d/ambari.repo
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:22
>
> ==========================
> Moving file to repo dir...
> ==========================
>
> Command start time 2016-05-11 22:32:22
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:22
>
> ==========================
> Changing permissions for ambari.repo...
> ==========================
>
> Command start time 2016-05-11 22:32:22
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:23
>
> ==========================
> Copying setup script file...
> ==========================
>
> Command start time 2016-05-11 22:32:23
>
> scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:23
>
> ==========================
> Running setup agent script...
> ==========================
>
> Command start time 2016-05-11 22:32:23
> ('', None)
> ('', None)
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=255
> Command end time 2016-05-11 22:32:34
>
> ERROR: Bootstrap of host m2.fengji.com fails because previous action 
> finished with non-zero exit code (255)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to m2.fengji.com closed.
>
> STDOUT: ('', None)
> ('', None)
>
> Connection to m2.fengji.com closed.
>
>


Re: ERROR:tcgetattr: Invalid argument

Posted by jin tao <to...@outlook.com>.
could anyone  help me to slove this issue?

On 05/11/2016 11:46 PM, jin tao wrote:
>
> hi  friends,
>
> I'm install HDP 2.4.2.0 on centos 6with ambari 2.2.2.0.
>
> I had 4 nodes,and a local hdp repository installed on the master node.
>
> Now there 3 node could install agent successfully.From the log I 
> couldnt found out what the problem.
>
> Many thanks!s issue
>
> here is the screenshot:
>
> and the log is:
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2016-05-11 22:32:19
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:19
>
> ==========================
> Copying common functions script...
> ==========================
>
> Command start time 2016-05-11 22:32:19
>
> scp /usr/lib/python2.6/site-packages/ambari_commons
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:20
>
> ==========================
> Copying OS type check script...
> ==========================
>
> Command start time 2016-05-11 22:32:20
>
> scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:20
>
> ==========================
> Running OS type check...
> ==========================
>
> Command start time 2016-05-11 22:32:20
> Cluster primary/cluster OS family is redhat6 and local/current OS 
> family is redhat6
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:21
>
> ==========================
> Checking 'sudo' package on remote host...
> ==========================
>
> Command start time 2016-05-11 22:32:21
> sudo-1.8.6p3-20.el6_7.x86_64
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:22
>
> ==========================
> Copying repo file to 'tmp' folder...
> ==========================
>
> Command start time 2016-05-11 22:32:22
>
> scp /etc/yum.repos.d/ambari.repo
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:22
>
> ==========================
> Moving file to repo dir...
> ==========================
>
> Command start time 2016-05-11 22:32:22
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:22
>
> ==========================
> Changing permissions for ambari.repo...
> ==========================
>
> Command start time 2016-05-11 22:32:22
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:23
>
> ==========================
> Copying setup script file...
> ==========================
>
> Command start time 2016-05-11 22:32:23
>
> scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
> host=m2.fengji.com, exitcode=0
> Command end time 2016-05-11 22:32:23
>
> ==========================
> Running setup agent script...
> ==========================
>
> Command start time 2016-05-11 22:32:23
> ('', None)
> ('', None)
>
> Connection to m2.fengji.com closed.
> SSH command execution finished
> host=m2.fengji.com, exitcode=255
> Command end time 2016-05-11 22:32:34
>
> ERROR: Bootstrap of host m2.fengji.com fails because previous action 
> finished with non-zero exit code (255)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to m2.fengji.com closed.
>
> STDOUT: ('', None)
> ('', None)
>
> Connection to m2.fengji.com closed.
>
>