Hi Team,
After I installed starcluster to bring up a cluster using ami-a3d126c8. I can't successfully start the rstudio session on the master node, but I can on the worker nodes.
Using the web browser to connect to the Rstudio Server's login page on the master node, after log in with username 'ubuntu' and password 'bioc', i get the rstudio initialization error: unable to connect to service. I ssh into the master node, and do some checking. I ran command 'su rstudio-server verify-installation', and I got ERROR system error 13 (Permission denied).
After I google the error, only a little bit useful information returned and all pointed to potential missing home directory of the user. But I have checked my home directory for username 'ubuntu' exists with proper permission.
On the other hand however, if i connect to any of the worker nodes, i can successfully log in to R-studio server. I also try just bringing up one-node cluster which has only the master node, i can log in successfully too.
Can anyone help? This will be much appreciated.
thank you so much
Hao
Hello,
I had the same issue just now - being able to connect with RStudio on the worker nodes but not the master node of a cluster. I am using a customized Bioconductor AMI and Starcluster.
Dans instructions have solved my problem.
Thank you very much for the help,
Nikolai
Dan,
A quick question, i observed that when the cluster was brought up originally, the second line in
/etc/rstudio/rserver.conf
wasn't there in the beginning but was added sometime later in the cluster starting process. do you know when and how was the second line added to the rserver.conf?thanks
Hao
Ah yes, looking at this again I see that there is a script called
/usr/local/bin/restart-rss.sh
and it runs every minute via crontab. To disable it, typecrontab -e
And comment out (with a
#
character) the line that runs this script.If you don't do it, it will overwrite the change you made to
rserver.conf
.