I am trying to install RStudio server on a server in my lab. I have installed R prior and here is the sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so
locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8
[5] LC_MONETARY=en_CA.UTF-8 LC_MESSAGES=en_CA.UTF-8
[7] LC_PAPER=en_CA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.2
I have installed apache and RStudio server and both status show it is running:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2019-03-27 07:51:19 EDT; 17h ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 45944 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 45953 (httpd)
Status: "Total requests: 103; Current requests/sec: 0; Current traffic: 0 B/sec"
Tasks: 13
CGroup: /system.slice/httpd.service
├─45953 /usr/sbin/httpd -DFOREGROUND
├─45954 /usr/sbin/httpd -DFOREGROUND
├─45955 /usr/sbin/httpd -DFOREGROUND
├─45956 /usr/sbin/httpd -DFOREGROUND
├─45957 /usr/sbin/httpd -DFOREGROUND
├─45958 /usr/sbin/httpd -DFOREGROUND
├─45959 /usr/sbin/httpd -DFOREGROUND
├─45968 /usr/sbin/httpd -DFOREGROUND
├─45970 /usr/sbin/httpd -DFOREGROUND
└─45971 /usr/sbin/httpd -DFOREGROUND
Mar 27 07:51:19 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
Mar 27 07:51:19 localhost.localdomain httpd[45953]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.local...is message
Mar 27 07:51:19 localhost.localdomain systemd[1]: Started The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.
● rstudio-server.service - RStudio Server
Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-03-27 14:32:32 EDT; 10h ago
Process: 5211 ExecStop=/usr/bin/killall -TERM rserver (code=exited, status=0/SUCCESS)
Process: 5259 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
Main PID: 5261 (rserver)
Tasks: 3
CGroup: /system.slice/rstudio-server.service
└─5261 /usr/lib/rstudio-server/bin/rserver
Mar 27 14:32:32 localhost.localdomain systemd[1]: Starting RStudio Server...
Mar 27 14:32:32 localhost.localdomain systemd[1]: Started RStudio Server.
However, when I do the following, there is no output:
sudo rstudio-server verify-installation
In error logs under /var/log/messages, I see
Mar 28 01:00:02 localhost systemd: Started Session 25163 of user root.
Mar 28 01:00:02 localhost systemd: Starting Session 25163 of user root.
Mar 28 01:01:01 localhost systemd: Started Session 25164 of user root.
Mar 28 01:01:01 localhost systemd: Starting Session 25164 of user root.
Mar 28 01:10:01 localhost systemd: Started Session 25165 of user root.
Mar 28 01:10:01 localhost systemd: Starting Session 25165 of user root.
Mar 28 01:20:01 localhost systemd: Started Session 25166 of user root.
Mar 28 01:20:01 localhost systemd: Starting Session 25166 of user root.
When I try to login to the RStudio session, it refuses the default username and password, which I believe are my login credentials on the server. I have also checked if the uid is below 500 and it is. Is there something else I should do to resolve the issue?
Thank you,
Asma