RStudio "Unable to connect to service" after R upgrade to Oracle Distribution R-3.4.4

Hi,

We are getting the following error on RStudio Server browser, after upgrading Oracle Distribution R in Oracle Red Hat Linux from R-3.3.0 to R-3.4.4 :
"Unable to connect to service"

On re-installing latest RStudio Server version rpm, got the following error :

useradd: user 'rstudio-server' already exists

groupadd: group 'rstudio-server' already exists

rstudio-server start/running, process [48350]

[root ~]# rstudio-server verify-installation

Server is running and must be stopped before running verify-installation

[root ~]# rstudio-server stop

rstudio-server stop/waiting

rsession: no process killed

[root ~]# rstudio-server verify-installation

/usr/lib/rstudio-server/bin/rsession: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

sessionInfo()

Oracle Distribution of R version 3.4.4 (--)

Platform: x86_64-pc-linux-gnu (64-bit)

Running under: Oracle Linux Server 6.9

Matrix products: default

BLAS/LAPACK: /usr/lib64/R/lib/libOrdBlasLoader.so

locale:

[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C

[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8

[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8

[7] LC_PAPER=en_US.UTF-8 LC_NAME=C

[9] LC_ADDRESS=C LC_TELEPHONE=C

[11] LC_MEASUREMENT=en_US.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.4.4

On executing 'which R' we get the output '/usr/bin/R', however the installation directory of R is /usr/lib64/R on our system.

We have tried setting the following option in .bashrc and .bash_profile files:
export RSTUDIO_WHICH_R=/usr/lib64/R
but that didn't help.

Please advise. It's a Production environment.

Thank you.

This error implies that the R session is requesting the library libpcre.so.1, but it is either not available or could not be found. Can you double-check that this library is installed?

We had copied it to the required directory and the issue got resolved. Thank you!

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.