Created 09-18-2017 05:26 PM
I have downloaded and imported HDP_Docker_Sandbox on VM, but soon after starting it, it got stuck at "Started cleanup of temporary directories". However, there are no errors coming, but the loading is not progressing. The Ambari view at port 8080 is running but ssh at port 4200 is not available. I have attached screenshots for quick references.
Please help.
Created 09-19-2017 02:27 AM
The following message is normal.
"Started cleanup of temporary directories"
.
When this message appears ... before that the ssh port would have already been opened so you can do SSH to the Sandbox as following (Note the port is 2222)
# ssh root@127.0.0.1 -p 2222
.
Once you are able to login to sandbox using ssh and then check if the following service is running or not? That is responsible for opening the port 4200
# service shellinaboxd start # systemctl enable shellinaboxd.service # netstat -nap | grep shellinabox
.
Created 09-18-2017 08:08 PM
i dont think the message is anything harmful or to be worried about. what happens when to ssh on port 2222? port 4200 is for the ssh web client as far as i know.
Created 09-19-2017 06:32 AM
Yes the port 2222 is working, and i am able to start ssh web client on 4200.
Created 09-19-2017 06:33 AM
also is there anything I can do to fully start my sandbox, as it is stuck at that particular message .
Created 09-19-2017 06:37 AM
What i see is... sometimes me too get the message and sandbox seems to be stuck there, But actually all it's functionality works well because most of its services like ssh and other are started till that point.
"Started cleanup of temporary directories"
.
So you can continue to work with Ambari and other services .. even if the sandbox seems to be stuck. Sometimes it happens due to lack of resources (like RAM). So i keep the unwanted services in Maintenance Mode (stopped + Maintenance Mode) .
Created 09-19-2017 07:05 AM
If all it's functionality works well till that point, then its great and not a problem.
.
I have allocated 10gb of RAM (out of 16) to the VM, the problem might not be related to memory. Anyways, thanks again 🙂
Created 09-19-2017 02:27 AM
The following message is normal.
"Started cleanup of temporary directories"
.
When this message appears ... before that the ssh port would have already been opened so you can do SSH to the Sandbox as following (Note the port is 2222)
# ssh root@127.0.0.1 -p 2222
.
Once you are able to login to sandbox using ssh and then check if the following service is running or not? That is responsible for opening the port 4200
# service shellinaboxd start # systemctl enable shellinaboxd.service # netstat -nap | grep shellinabox
.
Created 09-19-2017 06:30 AM
Thankyou @Jay SenSharma, i am now able to start ssh web client by following the steps mentioned.
Just wanted to know why the screen is stuck to that message, am I doing anything wrong ?
Created 06-21-2018 03:46 AM
I am also facing the same issue with my HDP VM Sandbox. It says "Started cleanup of temporary directories" for more than 2 hours and then the Login details appear. Testing patience.
I have allocated 12 GBs of RAM and host OS is Windows 10.
The HDP VM Sandbox is 2.6.4.
Can Hortonworks please help with Root Cause and Solution for it.
Any clues from Log Files ??
BJ