Created 11-01-2016 08:49 PM
I am trying to install R-studio on Hortonworks sandbox 2.5, downloaded this rpm:
rstudio-server-rhel-0.99.893-x86_64.rpm
After installing this package, when I am running rstudio-server verify-installation, it shows me the following message:
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
I have tried starting, stopping rstudio server, it shows the same message. Has anyone experienced this before? Please help.
PS: Since it is a docker container, 8787 port is not opened so I have configured /etc/rstudio/rserver.conf to use port 8090.
Created 11-15-2016 07:32 PM
It is working now, please follow the below steps:
Please change the default port from 8787 to 8090 as this port is not opened in the docker sandbox
Go to file /etc/rstudio/rserver.conf and add this entry : www-port = 8090
Restart the server by typing exec /usr/lib/rstudio-server/bin/rserver. It will take you out from the docker shell but you can relogin. Go to browser anyway and access RStudio by typing 127.0.0.1:8090. The login page will appear, use user credentials maria_dev/maria_dev
Created 11-03-2016 05:53 AM
I the same problem
03 Nov 2016 07:08:50 [rsession-rstudio-server] ERROR r error 4 (R code execution error) [errormsg=Error in tools:::httpdPort > 0L : comparison (6) is possible only for atomic and list types ]; OCCURRED AT: core::Error r::exec::<unnamed>::evaluateExpressionsUnsafe(SEXPREC*, SEXPREC*, SEXPREC**, r::sexp::Protect*) /root/rstudio/src/cpp/r/RExec.cpp:148; LOGGED FROM: core::Error session::modules::help::initialize() /root/rstudio/src/cpp/session/modules/SessionHelp.cpp:892 initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Created 11-15-2016 07:32 PM
It is working now, please follow the below steps:
Please change the default port from 8787 to 8090 as this port is not opened in the docker sandbox
Go to file /etc/rstudio/rserver.conf and add this entry : www-port = 8090
Restart the server by typing exec /usr/lib/rstudio-server/bin/rserver. It will take you out from the docker shell but you can relogin. Go to browser anyway and access RStudio by typing 127.0.0.1:8090. The login page will appear, use user credentials maria_dev/maria_dev
Created 11-16-2016 01:15 AM
HI,I install it success!
but when I login the rstudio server with maria_dev,it apears an error shows me "unable to connect service"
is there any setting I didn't done well?
Created 11-16-2016 01:30 AM
also when I close hortonworks sandbox, it cannot connect to port 9080
Created 11-16-2016 05:56 PM
@WeiHsiang Tseng, Firstly, try with 8090, not 9080. When you say close, what you are referring to? Have you logout from the shell or power off the image from VirtualBox. In the latter case, if your Sandbox is not up and running, you will not be able to access 8090 port