Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Peculiar sandbox behavior

avatar
New Contributor

Hello - I've installed the sandbox on VirtualBox 5.1.x, running Windows 10, and changed the default password. I am experiencing the following behavior. - Can log into sandbox only via VirtualBox. - I cannot log into sandbox using SSH. I was able prior to changing password - Following commands are not recognized while logged in via VirtualBox: command not found

sandbox-version
-bash: sandbox-version: command not found

service-start-ambari
-bash: service-start-ambari: command not found

- Cannot access ambari console: Unable to sign in. Invalid username/password combination.

Am I doing something wrong with the sandbox? Any helpful suggestions are appreciated.

1 ACCEPTED SOLUTION

avatar
Guru

@Murray S

The sandbox-version command should definitely work if you are SSHd into the correct environment using port 2222 and logged in as root. I think your command to start Ambari is invalid though, I believe it should be as follows:

service ambari-server [status|start|stop|restart]

The other way in is to use the web SSH tool: http://127.0.0.1:4200/ I find this a bit more convenient than using the direct access on VirtualBox. If you can login there with root, you can try changing the Ambari admin password again: ambari-admin-password-reset

Once you change the Ambari admin password, try logging in as the admin via: http://127.0.0.1:8080

Otherwise you always have the option of deleting the Virtual Box VM and re-importing the appliance to start over again

12906-screen-shot-2017-02-23-at-42622-pm.png

View solution in original post

5 REPLIES 5

avatar
Guru

Hi @Murray S

Can you confirm the port you were using to ssh into the Sandbox? I'm wondering if you were perhaps ssh'ing into the container environment instead.

You should be using port 2222 to access the hadoop ecosystem related components, including changing the Ambari admin password via CLI, and stopping/starting components. So for example:

ssh -l root -p 2222 127.0.0.1

avatar
New Contributor

Hi Sonu - I am attempting to connect through port 2222 with Bitvise.

I changed the password directly on VirtualBox.

avatar
New Contributor

Not sure what I was messing up, nonetheless the issue is resolved.

Started from scratch and re-imported the VM.

Instead of changing the password on VM, this time I changed it using the SSH connection and I'm able to proceed. Thank you Sonu for the tips.

avatar
Guru

You are welcome, glad to hear you're on your way!

avatar
Guru

@Murray S

The sandbox-version command should definitely work if you are SSHd into the correct environment using port 2222 and logged in as root. I think your command to start Ambari is invalid though, I believe it should be as follows:

service ambari-server [status|start|stop|restart]

The other way in is to use the web SSH tool: http://127.0.0.1:4200/ I find this a bit more convenient than using the direct access on VirtualBox. If you can login there with root, you can try changing the Ambari admin password again: ambari-admin-password-reset

Once you change the Ambari admin password, try logging in as the admin via: http://127.0.0.1:8080

Otherwise you always have the option of deleting the Virtual Box VM and re-importing the appliance to start over again

12906-screen-shot-2017-02-23-at-42622-pm.png