You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Farrukh Naveed Anjum <an...@gmail.com> on 2017/12/19 10:42:05 UTC
Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Hi,
I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
coming up
==========================
Creating target directory...
==========================
Command start time 2017-12-19 15:33:31
bash: mkdir: command not found
bash: chown: command not found
bash: chmod: command not found
bash: chmod: command not found
bash: chmod: command not found
Connection to node1 closed.
SSH command execution finished
host=node1, exitcode=127
Command end time 2017-12-19 15:33:31
ERROR: Bootstrap of host node1 fails because previous action finished
with non-zero exit code (127)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to node1 closed.
STDOUT: bash: mkdir: command not found
bash: chown: command not found
bash: chmod: command not found
bash: chmod: command not found
bash: chmod: command not found
Connection to node1 closed.
--
With Regards
Farrukh Naveed Anjum
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Gaurav Bapat <ga...@gmail.com>.
I am getting connection failed and error no 111, is this because of python
2.7.5 ??
Do i upgrade python or downgrade it??
On 19 December 2017 at 16:18, Farrukh Naveed Anjum <an...@gmail.com>
wrote:
> I am using Bare Metal Installation with 2 Servers (128 GB and 32 GB) ram.
> I am trying to install on cluster. node1 is having above problem.
>
> No Vagrant (Its Bare Metal Installation)
>
> On Tue, Dec 19, 2017 at 3:46 PM, Zeolla@GMail.com <ze...@gmail.com>
> wrote:
>
>> Sorry, just to clarify, are you running CentOS 6 as your OS and
>> attempting to spin up full-dev via vagrant? Why are you trying 0.4.0? I
>> would suggest something newer like 0.4.1 or master.
>>
>> Jon
>>
>> On Tue, Dec 19, 2017, 05:42 Farrukh Naveed Anjum <an...@gmail.com>
>> wrote:
>>
>>> Hi,
>>> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
>>> coming up
>>>
>>> ==========================
>>> Creating target directory...
>>> ==========================
>>>
>>> Command start time 2017-12-19 15:33:31
>>> bash: mkdir: command not found
>>> bash: chown: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>>
>>> Connection to node1 closed.
>>> SSH command execution finished
>>> host=node1, exitcode=127
>>> Command end time 2017-12-19 15:33:31
>>>
>>> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
>>> ERROR MESSAGE: tcgetattr: Invalid argument
>>> Connection to node1 closed.
>>>
>>> STDOUT: bash: mkdir: command not found
>>> bash: chown: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>>
>>> Connection to node1 closed.
>>>
>>>
>>>
>>> --
>>> With Regards
>>> Farrukh Naveed Anjum
>>>
>> --
>>
>> Jon
>>
>
>
>
> --
> With Regards
> Farrukh Naveed Anjum
>
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Farrukh Naveed Anjum <an...@gmail.com>.
I am using Bare Metal Installation with 2 Servers (128 GB and 32 GB) ram. I
am trying to install on cluster. node1 is having above problem.
No Vagrant (Its Bare Metal Installation)
On Tue, Dec 19, 2017 at 3:46 PM, Zeolla@GMail.com <ze...@gmail.com> wrote:
> Sorry, just to clarify, are you running CentOS 6 as your OS and attempting
> to spin up full-dev via vagrant? Why are you trying 0.4.0? I would
> suggest something newer like 0.4.1 or master.
>
> Jon
>
> On Tue, Dec 19, 2017, 05:42 Farrukh Naveed Anjum <an...@gmail.com>
> wrote:
>
>> Hi,
>> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
>> coming up
>>
>> ==========================
>> Creating target directory...
>> ==========================
>>
>> Command start time 2017-12-19 15:33:31
>> bash: mkdir: command not found
>> bash: chown: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>>
>> Connection to node1 closed.
>> SSH command execution finished
>> host=node1, exitcode=127
>> Command end time 2017-12-19 15:33:31
>>
>> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
>> ERROR MESSAGE: tcgetattr: Invalid argument
>> Connection to node1 closed.
>>
>> STDOUT: bash: mkdir: command not found
>> bash: chown: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>>
>> Connection to node1 closed.
>>
>>
>>
>> --
>> With Regards
>> Farrukh Naveed Anjum
>>
> --
>
> Jon
>
--
With Regards
Farrukh Naveed Anjum
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by "Zeolla@GMail.com" <ze...@gmail.com>.
Sorry, just to clarify, are you running CentOS 6 as your OS and attempting
to spin up full-dev via vagrant? Why are you trying 0.4.0? I would
suggest something newer like 0.4.1 or master.
Jon
On Tue, Dec 19, 2017, 05:42 Farrukh Naveed Anjum <an...@gmail.com>
wrote:
> Hi,
> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
> coming up
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2017-12-19 15:33:31
> bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
> SSH command execution finished
> host=node1, exitcode=127
> Command end time 2017-12-19 15:33:31
>
> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to node1 closed.
>
> STDOUT: bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
>
>
>
> --
> With Regards
> Farrukh Naveed Anjum
>
--
Jon
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Laurens Vets <la...@daemon.be>.
I'm sorry, I have no idea how upgrading Node & NPM would either remove
or make those commands inaccessible...
On 2017-12-19 09:01, Farrukh Naveed Anjum wrote:
> NodeJS and NPM needed for the metron-config is using tough-cookie which somewhat forced me updating node from 0.10 to 4.x which i did. Now, Its caught up in this problem.
>
> On Tue, Dec 19, 2017 at 10:00 PM, Farrukh Naveed Anjum <an...@gmail.com> wrote:
>
> I am doing bare metal (manual) install. I am using system as root user so ideally it should have every permission. Do ambari create its own user ?
>
> On Tue, Dec 19, 2017 at 9:58 PM, Laurens Vets <la...@daemon.be> wrote:
>
> Something strange is going on...
>
> How are you doing the install exactly? Everything manual? Or with an Ansible playbook?
>
> Is it possible you created a user which is not allowed to run mkdir etc?
>
> On 2017-12-19 08:55, Farrukh Naveed Anjum wrote:
> It is strange and odd. I installed NodeJS and NPM which resulted in removal of clear command. Any suggestion how can get it fixed up.
>
> On the contrary, when i use mkdir, chown and chmod on node1 it is working.
>
> On Tue, Dec 19, 2017 at 9:50 PM, Laurens Vets <la...@daemon.be> wrote:
>
> Hi Farrukh,
>
> How come you don't have the commands 'mkdir', 'chown' & 'chmod' on node1?
>
> On 2017-12-19 02:42, Farrukh Naveed Anjum wrote:
> Hi,
> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is coming up
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2017-12-19 15:33:31
> bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
> SSH command execution finished
> host=node1, exitcode=127
> Command end time 2017-12-19 15:33:31
>
> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to node1 closed.
>
> STDOUT: bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
--
With Regards
Farrukh Naveed Anjum
--
With Regards
Farrukh Naveed Anjum
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Farrukh Naveed Anjum <an...@gmail.com>.
NodeJS and NPM needed for the metron-config is using tough-cookie which
somewhat forced me updating node from 0.10 to 4.x which i did. Now, Its
caught up in this problem.
On Tue, Dec 19, 2017 at 10:00 PM, Farrukh Naveed Anjum <
anjum.farrukh@gmail.com> wrote:
> I am doing bare metal (manual) install. I am using system as root user so
> ideally it should have every permission. Do ambari create its own user ?
>
> On Tue, Dec 19, 2017 at 9:58 PM, Laurens Vets <la...@daemon.be> wrote:
>
>> Something strange is going on...
>>
>> How are you doing the install exactly? Everything manual? Or with an
>> Ansible playbook?
>>
>> Is it possible you created a user which is not allowed to run mkdir etc?
>>
>> On 2017-12-19 08:55, Farrukh Naveed Anjum wrote:
>>
>> It is strange and odd. I installed NodeJS and NPM which resulted in
>> removal of clear command. Any suggestion how can get it fixed up.
>>
>> On the contrary, when i use mkdir, chown and chmod on node1 it is working.
>>
>> On Tue, Dec 19, 2017 at 9:50 PM, Laurens Vets <la...@daemon.be> wrote:
>>
>>> Hi Farrukh,
>>>
>>> How come you don't have the commands 'mkdir', 'chown' & 'chmod' on node1?
>>>
>>> On 2017-12-19 02:42, Farrukh Naveed Anjum wrote:
>>>
>>> Hi,
>>> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
>>> coming up
>>>
>>>
>>> ==========================
>>> Creating target directory...
>>> ==========================
>>>
>>> Command start time 2017-12-19 15:33:31
>>> bash: mkdir: command not found
>>> bash: chown: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>>
>>> Connection to node1 closed.
>>> SSH command execution finished
>>> host=node1, exitcode=127
>>> Command end time 2017-12-19 15:33:31
>>>
>>> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
>>> ERROR MESSAGE: tcgetattr: Invalid argument
>>> Connection to node1 closed.
>>>
>>> STDOUT: bash: mkdir: command not found
>>> bash: chown: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>> bash: chmod: command not found
>>>
>>> Connection to node1 closed.
>>>
>>>
>>>
>>>
>
>
> --
> With Regards
> Farrukh Naveed Anjum
>
--
With Regards
Farrukh Naveed Anjum
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Farrukh Naveed Anjum <an...@gmail.com>.
I am doing bare metal (manual) install. I am using system as root user so
ideally it should have every permission. Do ambari create its own user ?
On Tue, Dec 19, 2017 at 9:58 PM, Laurens Vets <la...@daemon.be> wrote:
> Something strange is going on...
>
> How are you doing the install exactly? Everything manual? Or with an
> Ansible playbook?
>
> Is it possible you created a user which is not allowed to run mkdir etc?
>
> On 2017-12-19 08:55, Farrukh Naveed Anjum wrote:
>
> It is strange and odd. I installed NodeJS and NPM which resulted in
> removal of clear command. Any suggestion how can get it fixed up.
>
> On the contrary, when i use mkdir, chown and chmod on node1 it is working.
>
> On Tue, Dec 19, 2017 at 9:50 PM, Laurens Vets <la...@daemon.be> wrote:
>
>> Hi Farrukh,
>>
>> How come you don't have the commands 'mkdir', 'chown' & 'chmod' on node1?
>>
>> On 2017-12-19 02:42, Farrukh Naveed Anjum wrote:
>>
>> Hi,
>> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
>> coming up
>>
>>
>> ==========================
>> Creating target directory...
>> ==========================
>>
>> Command start time 2017-12-19 15:33:31
>> bash: mkdir: command not found
>> bash: chown: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>>
>> Connection to node1 closed.
>> SSH command execution finished
>> host=node1, exitcode=127
>> Command end time 2017-12-19 15:33:31
>>
>> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
>> ERROR MESSAGE: tcgetattr: Invalid argument
>> Connection to node1 closed.
>>
>> STDOUT: bash: mkdir: command not found
>> bash: chown: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>> bash: chmod: command not found
>>
>> Connection to node1 closed.
>>
>>
>>
>>
--
With Regards
Farrukh Naveed Anjum
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Laurens Vets <la...@daemon.be>.
Something strange is going on...
How are you doing the install exactly? Everything manual? Or with an
Ansible playbook?
Is it possible you created a user which is not allowed to run mkdir etc?
On 2017-12-19 08:55, Farrukh Naveed Anjum wrote:
> It is strange and odd. I installed NodeJS and NPM which resulted in removal of clear command. Any suggestion how can get it fixed up.
>
> On the contrary, when i use mkdir, chown and chmod on node1 it is working.
>
> On Tue, Dec 19, 2017 at 9:50 PM, Laurens Vets <la...@daemon.be> wrote:
>
> Hi Farrukh,
>
> How come you don't have the commands 'mkdir', 'chown' & 'chmod' on node1?
>
> On 2017-12-19 02:42, Farrukh Naveed Anjum wrote:
> Hi,
> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is coming up
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2017-12-19 15:33:31
> bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
> SSH command execution finished
> host=node1, exitcode=127
> Command end time 2017-12-19 15:33:31
>
> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to node1 closed.
>
> STDOUT: bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Farrukh Naveed Anjum <an...@gmail.com>.
It is strange and odd. I installed NodeJS and NPM which resulted in removal
of clear command. Any suggestion how can get it fixed up.
On the contrary, when i use mkdir, chown and chmod on node1 it is working.
On Tue, Dec 19, 2017 at 9:50 PM, Laurens Vets <la...@daemon.be> wrote:
> Hi Farrukh,
>
> How come you don't have the commands 'mkdir', 'chown' & 'chmod' on node1?
>
> On 2017-12-19 02:42, Farrukh Naveed Anjum wrote:
>
> Hi,
> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is
> coming up
>
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2017-12-19 15:33:31
> bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
> SSH command execution finished
> host=node1, exitcode=127
> Command end time 2017-12-19 15:33:31
>
> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to node1 closed.
>
> STDOUT: bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
>
>
>
> --
> With Regards
> Farrukh Naveed Anjum
>
>
>
--
With Regards
Farrukh Naveed Anjum
Re: Metron 0.4.0 on CentOS (Ambari Host Regisration Problem)
Posted by Laurens Vets <la...@daemon.be>.
Hi Farrukh,
How come you don't have the commands 'mkdir', 'chown' & 'chmod' on
node1?
On 2017-12-19 02:42, Farrukh Naveed Anjum wrote:
> Hi,
> I am trying to install the Metron 0.4.0 ( Cent OS 6) following error is coming up
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2017-12-19 15:33:31
> bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
> SSH command execution finished
> host=node1, exitcode=127
> Command end time 2017-12-19 15:33:31
>
> ERROR: Bootstrap of host node1 fails because previous action finished with non-zero exit code (127)
> ERROR MESSAGE: tcgetattr: Invalid argument
> Connection to node1 closed.
>
> STDOUT: bash: mkdir: command not found
> bash: chown: command not found
> bash: chmod: command not found
> bash: chmod: command not found
> bash: chmod: command not found
>
> Connection to node1 closed.
>
> --
> With Regards
> Farrukh Naveed Anjum