-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rserver] ERROR system error 98 (Address already in use):RStudio in a container #2
Comments
Hi,
To test this hypothesis, can you try with another container?
|
Also, can you share the outputs of these two commands:
|
Okay. I have tried all those commands. Singularity set up looks fine to me. $ singularity shell docker://ubuntu:20.04 ...... (base) basu@darwin:~$ cat /etc/os-release .............. (base) basu@darwin:~$ singularity --version |
Thanks. Finally, what happens with the following:
|
(base) basu@darwin:~$ singularity shell docker://rocker/tidyverse:3.6.1 (base) basu@darwin:~$ singularity shell docker://rocker/tidyverse:4.2.2 |
Ok, I suggest the following (see example file https://github.com/PawseySC/singularity-containers/blob/gh-pages/demos/rstudio/run_session.sh):
Feel free to let me know how this goes. |
I tried all the suggestions. After all this, at port 8797 there was no error but still i could not connect with I tried with different version of rocker image. This time with
I got the following error. INFO: Converting SIF file to temporary sandbox... 2023-01-23T11:13:30.665675Z [rserver] ERROR Attempt to run server as user 'rstudio-server' (uid 999) from account 'basu' (uid 1009) without privilege, which is required to run as a different uid; LOGGED FROM: virtual rstudio::core::ProgramStatus rstudio::server::Options::read(int, char* const*, std::ostream&) src/cpp/server/ServerOptions.cpp:318 |
Hi, is this your laptop?
The message suggests that you need This issue normally does not appear on HPC centres nor cloud VMs, nor personal computer. I suspect you have an institutional (academia/company) computer, with restrictions on the user privileges. |
I am using conda environment. I want to install rstudio-server in this conda environment. So I tried pulling the container using
(base) basu@darwin:~$ singularity pull docker://rocker/tidyverse:3.6.1
But when I am running the rserver container, it is showing the following error.
(base) basu@darwin:~$ singularity exec tidyverse_3.6.1.sif rserver
INFO: Converting SIF file to temporary sandbox...
08 Jan 2023 06:32:51 [rserver] ERROR system error 98 (Address already in use); OCCURRED AT: rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(rstudio::core::http::SocketAcceptorService<rstudio_boost::asio::ip::tcp>&, const string&, const string&) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:103; LOGGED FROM: int main(int, char* const*) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/server/ServerMain.cpp:502
INFO: Cleaning up image...
(base) basu@darwin:~$ singularity exec -C -B$(pwd):/home/rstudio -B $ (pwd):$HOME tidyverse_3.6.1.sif rserver --www-port 8787 --www-address 0.0.0.0 --auth-none=0 --auth-pam-helper-path=pam-helper
INFO: Converting SIF file to temporary sandbox...
08 Jan 2023 06:35:13 [rserver] ERROR system error 98 (Address already in use); OCCURRED AT: rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(rstudio::core::http::SocketAcceptorService<rstudio_boost::asio::ip::tcp>&, const string&, const string&) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:103; LOGGED FROM: int main(int, char* const*) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/server/ServerMain.cpp:502
rserver[14]: ERROR system error 98 (Address already in use); OCCURRED AT: rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(rstudio::core::http::SocketAcceptorService<rstudio_boost::asio::ip::tcp>&, const string&, const string&) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:103; LOGGED FROM: int main(int, char* const*) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/server/ServerMain.cpp:502
INFO: Cleaning up image...
Please help.
The text was updated successfully, but these errors were encountered: