Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

-bash: ambari-admin-password-reset: command not found

Solved Go to solution
Highlighted

-bash: ambari-admin-password-reset: command not found

New Contributor

I am using HDP 2.5 Sandbox (Virtualbox). I log on as root but I can't execute the following command.

-bash: ambari-admin-password-reset: command not found

I also tried ambari-agent restart or mysql. I always get "-bash: ... command not found"

Any help is appreciated.

Marco

1 ACCEPTED SOLUTION

Accepted Solutions

Re: -bash: ambari-admin-password-reset: command not found

Super Collaborator

@Marco Chou, make sure yo do ssh to docker container, not the VM. Do this:

ssh -p2222 root@127.0.0.1

and then try all the commands you want to.

6 REPLIES 6

Re: -bash: ambari-admin-password-reset: command not found

Mentor

@Marco Chou

If you are using the sandbox 2.5 I think the default username password is

root/hadoop

You can then change the root password

# passwd

Then thereafter you can

#su - hdfs 

25-screen2.png

Re: -bash: ambari-admin-password-reset: command not found

Super Collaborator

@Marco Chou, make sure yo do ssh to docker container, not the VM. Do this:

ssh -p2222 root@127.0.0.1

and then try all the commands you want to.

Re: -bash: ambari-admin-password-reset: command not found

Contributor

Mushtaq Rizvi - This isn't working for me, for HDP 2.5 Sandbox on Azure. See my other post 'Cannot log into Ambari Dashboard for HDP2.5 Azure Sandbox'. Any debugging tips?

I tried 'ssh -p2222 root@xx.xx.xx.xx' (where IP is that of my VM). Timed out.

Tried 'ssh -p2222 root@127.0.0.1'. Connection refused

Re: -bash: ambari-admin-password-reset: command not found

New Contributor

Thank you so much for your help. Have a nice weekend!

I do have another question if you don't mind. I can't connect thru any browsers (IE, Chrome, Firefox) using http://127.0.0.1:8888 Any suggestions?

Re: -bash: ambari-admin-password-reset: command not found

@Marco Chou: Use the ip allocated to the box (ip from ifconfig) instead of using 127.0.0.1 to connect through browser.

Re: -bash: ambari-admin-password-reset: command not found

New Contributor

try ssh -p2222 root@xx.xx.xx.xx' the allocated IP

then it will ask where you want to add

say yes

change unix password

then run command 'ambari-admin-password-reset'

it will allow you to change the password for ambari admin