Rstudio Server system errors 2, 111, and 98

I'm using Rstudio Server (free version, version 1.1.463) on a CentOS 7 server, with R 3.5.1. Last night I tried to restart a R session that has used over 30GB of memory from RStudio. Usually RStudio backs up the R session and restarts it smoothly, though it takes a while to save and load all the stuff from the global environment. However, this time, the session did not restart; I got the error "unable to connect to service" and when I tried to fire up RStudio in the browser, the process rsession does not start.

I asked the administrator to restart Rstudio Server, and check status with sudo rstudio-server status, but he got this error:

May 09 21:06:17 dator rserver[437019]: ERROR system error 98 (Address already in use); OCCURRED AT: rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(rstudio::co...
Hint: Some lines were ellipsized, use -l to show in full.

Using fuser -k 8787/tcp did not help, and the next time he tried to start Rstudio Server, the same error occurred.

I checked /var/logs/messages, and saw these, up to the first attempt of the administrator of starting Rstudio Server. Any idea what might have been wrong?

May 9 20:47:08 localhost rsession-lambda[423956]: ERROR system error 2 (No such file or directory) [path=/usr/share/doc/R-3.5.1]; OCCURRED AT: rstudio::core::Error rstudio::r::session::discoverR(rstudio::r::session::RLocations*) /root/rstudio/src/cpp/r/session/RDiscovery.cpp:69; LOGGED FROM: int main(int, char* const*) /root/rstudio/src/cpp/session/SessionMain.cpp:1841
May 9 20:47:09 localhost rsession-lambda[423959]: ERROR system error 2 (No such file or directory) [path=/usr/share/doc/R-3.5.1]; OCCURRED AT: rstudio::core::Error rstudio::r::session::discoverR(rstudio::r::session::RLocations*) /root/rstudio/src/cpp/r/session/RDiscovery.cpp:69; LOGGED FROM: int main(int, char* const*) /root/rstudio/src/cpp/session/SessionMain.cpp:1841
May 9 20:47:19 localhost rserver[2409]: ERROR system error 111 (Connection refused) [request-uri=/rpc/client_init]; OCCURRED AT: void rstudio::core::http::LocalStreamAsyncClient::handleConnect(const rstudio_boost::system::error_code&) /root/rstudio/src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp:119; LOGGED FROM: void rstudio::server::session_proxy::::logIfNotConnectionTerminated(const rstudio::core::Error&, const rstudio::core::http::Request&) /root/rstudio/src/cpp/server/ServerSessionProxy.cpp:370
May 9 20:50:01 localhost systemd: Created slice User Slice of root.
May 9 20:50:01 localhost systemd: Started Session 1483 of user root.
May 9 20:50:01 localhost systemd: Removed slice User Slice of root.
May 9 20:55:35 localhost dbus[2130]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
May 9 20:55:35 localhost systemd: Starting Fingerprint Authentication Daemon...
May 9 20:55:35 localhost dbus[2130]: [system] Successfully activated service 'net.reactivated.Fprint'
May 9 20:55:35 localhost systemd: Started Fingerprint Authentication Daemon.
May 9 20:55:37 localhost systemd: Stopping RStudio Server...
May 9 20:55:38 localhost systemd: Stopped RStudio Server.
May 9 20:55:38 localhost systemd: Starting RStudio Server...
May 9 20:55:38 localhost systemd: Started RStudio Server.
May 9 20:55:38 localhost rserver[430087]: 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 std::string&, const std::string&) /root/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:103; LOGGED FROM: int main(int, char* const*) /root/rstudio/src/cpp/server/ServerMain.cpp:445
May 9 20:56:08 localhost systemd: Stopping RStudio Server...
May 9 20:56:08 localhost systemd: Stopped RStudio Server.

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