Created 11-14-2016 08:19 PM
Hello,
I try to run:
However, with (2), I get this error:
Running Transaction Installing : rstudio-server-0.99.893-1.x86_64 1/1 groupadd: group 'rstudio-server' already exists rsession: no process killed initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused Verifying : rstudio-server-0.99.893-1.x86_64 1/1
Installed: rstudio-server.x86_64 0:0.99.893-1
Complete!
----
Then when I try (3), I get this error: [root@sandbox ~]# sudo rstudio-server verify-installation Unable to find an installation of R on the system (which R didn't return valid output); Unable to locate R binary by scanning standard locations initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused [root@sandbox ~]#
---
Looking forward to your suggestions.
Thanks,
Marcia
Created 11-15-2016 07:16 PM
It's working now...
I used the following advice:
"I found this page because I had the exact same issue! Solved it by looking in /etc/init/rstudio-server.conf Within a centos docker you can start rstudio via:
exec /usr/lib/rstudio-server/bin/rserver
That will also close your docker shell, so you might want to put it in a supervisord script, or run as daemon, or .... Maybe look at some rstudio-server dockerfiles for the different approaches usually used."
Created 11-14-2016 08:30 PM
yum install R
Created 11-14-2016 08:36 PM
I did that: yum install R .
Now I try to do:
I get the errors:
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Created 11-14-2016 08:41 PM
@Marcia Hon you are installing Red Hat rpm packages and your command to install is yum but your error message is for Ubuntu, which OS are you using? Please make sure you're using the same packages as your OS requires.
Created 11-15-2016 12:11 AM
You mention that you installed R, but then your error point to rstudio-server. That is a different piece of software. I don't think that error is related to your R installation, but to your rstudio-server which points to R.
Created 11-14-2016 08:37 PM
How do I connect my browser to RStudio??
Created 11-14-2016 08:43 PM
Hello,
I am using the HDP 2.5 Sandbox from Hortonworks. My understanding is that it is Centos 7... How can I find out the OS?
Created 11-14-2016 08:43 PM
Hello,
I am using the HDP 2.5 Sandbox from Hortonworks. My understanding is that it is Centos 7... How can I find out the OS?
Created 11-14-2016 08:48 PM
okay, make sure you open port for the RStudio, find out what it is from their documentation and then go to your VM provider application (VirtualBox or VMWare) and open a port, usually in the port forward menu.
Created 11-14-2016 08:50 PM
[root@sandbox ~]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.8 (Final) Release: 6.8 Codename: Final
Created 11-15-2016 12:08 AM
Look at this question response:
Created 11-15-2016 01:44 PM
Thanks, but this does not solve my problem.
Created 11-15-2016 03:28 PM
Hello,
I did the following, and the installation of RStudio is loading:
Now, how do I login to rstudio-server?
I tried: http://127.0.0.1:8787 ... but it does not work...
I look forward to your suggestions.
Thanks,
Marcia
Created 11-15-2016 05:03 PM
Hi @Marcy, you are not able to access 8787 because it is not forwarded to this docker sandbox container. You have two options:
1. Edit the /etc/rstudio/rserver.conf to use a port which is opened for both VM and docker. 8090 and 8091 are two such ports which you can use. Go to that file and add an entry:
www-port = 8090
After this, restart the RStudio server by typing service rstudio-server restart
2. You can also open the default port 8787, just follow this tutorial about how to open the ports for Hortonworks Docker Sandbox.
Created 11-15-2016 05:09 PM
Hello,
I tried to do (1). I added the line, www-port = 8090, then I tried to use both http://127.0.0.1:8787 and http://127.0.0.1:8090 . None works...
Created 11-15-2016 05:12 PM
I tried to follow this article, but no luck:
https://www.r-bloggers.com/install-rstudio-server-on-centos6-5/
Created 11-15-2016 06:31 PM
I also tried (2)... no luck...
Created 11-15-2016 06:34 PM
make sure your rstudio-server is even running or not. Try rstudio-server status or ps -ef | grep rstudio-server.
If they do not show anything that means your RStudio is not running. Configuring ports step come after this.
Created 11-15-2016 06:47 PM
Also, my HDP 2.5 version is the VirtualBox version, not the docker version.
Created 11-15-2016 06:57 PM
Hi @Marcy , the VirtualBox and VmWare ones actually run a Docker container inside it to make it easier to setup and configure. So when you do ssh to 2222, it gets you to the docker container, which is inside the VM. You can also use third one which is the native docker version. That means all Sandbox versions are now docker containers.
Created 11-15-2016 06:59 PM
Thanks for the clarification.
Still, RStudio is not working by trying your two suggestions....