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
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.
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:
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."
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
@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.
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.
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.
[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