# Detect R server (localhost:8085)

**URL:** <https://datashield.discourse.group/t/detect-r-server-localhost-8085/600>\
**Category:** Beginner Support\
**Created:** [16 August 2022 05:04 UTC](https://datashield.discourse.group/t/detect-r-server-localhost-8085/600 "2022-08-16T05:04:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilmar.igl](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Post date:** [16 August 2022 05:04 UTC](https://datashield.discourse.group/t/detect-r-server-localhost-8085/600/1 "2022-08-16T05:04:22Z")

</div>

Hi,

I have installed OPAL and R on [srv2.stats-con.com](http://srv2.stats-con.com), but get this error:

“No R server is running. Some functionalities will not work properly: data import/export using R, data and resource assignment to R server session, reporting etc. Administrate R server”

When I click on Administrate R server, I get to the Administration \> R page which endlessly keeps checking for an R server, but cannot find one although an Rserve process is running and Portd 6311 (Rserve) and 8085 (rock) are open, ie localhost:8085 is not found.

On another server ([srv1.stats-con.com](http://srv1.stats-con.com)) I have already successfully installed, Opal, mysql, mangodb, and R and the R server on localhost:8085 was found. However, I cannot remember, what I did differently (mysql, mangodb are optional, arent they?). Any advice is welcome!

Best, Wilmar

---

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/yannick/32/19_2.png) [@yannick](https://datashield.discourse.group/u/yannick)\
**Post date:** [16 August 2022 07:39 UTC](https://datashield.discourse.group/t/detect-r-server-localhost-8085/600/2 "2022-08-16T07:39:35Z")

</div>

Hi,

Does Opal at srv2 connects to the Rock process (at localhost:8085) with the correct credentials?

Regards  
Yannick

---

<div class="post-metadata">

**Author:** ![wilmar.igl](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Post date:** [16 August 2022 08:22 UTC](https://datashield.discourse.group/t/detect-r-server-localhost-8085/600/3 "2022-08-16T08:22:26Z")

</div>

Hi,

No, OPAL WebGUI does not connect with Rock on Administration \> R. How can I test the connection between OPAL and Rock on the commandline?

Where am I supposed ot specify the correct ROCK credentials on srv2?

1. OPAL: opal-config.properties
2. OPAL: shiro.ini
3. ROCK: Rserv.conf
4. ROCK: application.yml

Can the passwords be given unencrypted as text or encrypted (as in shiro.ini)?

Best, Wilmar

---

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/yannick/32/19_2.png) [@yannick](https://datashield.discourse.group/u/yannick)\
**Post date:** [17 August 2022 09:00 UTC](https://datashield.discourse.group/t/detect-r-server-localhost-8085/600/4 "2022-08-17T09:00:04Z")

</div>

1. See [opal-config.properties R server configuration documentation](https://opaldoc.obiba.org/en/latest/admin/configuration.html#r-server-configuration).
2. See [Opal’s shiro.ini documentation](https://opaldoc.obiba.org/en/latest/admin/configuration.html#user-directories)
3. Rserv.conf is the [Rserve](https://www.rforge.net/Rserve/) configuration file and it is not recommended to modify it
4. See the [Rock’s application.yml users configuration documentation](https://rockdoc.obiba.org/en/latest/admin/configuration.html#users-configuration), the [default values](https://github.com/obiba/rock/blob/master/src/dist/conf/application.yml#L36-L49) should be self explanatory. Yes, the Rock’s passwords can be encrypted (bcrypt or scrypt) in this file, but this has not been documented yet.

Regards  
Yannick
