Rstudio server fails to start

I have been trying to restart the Rstudio server on our group server machine. However, this fails with error messages such as this:

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&) src/cpp/server/ServerInit.cpp:103; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:635

and

PID 136193 read from file /var/run/rstudio-server.pid does not exist or is a zombie.

Can someone please help me with this? I am running the latest rstudio server with default settings (port 8787).

Here is the output of the status command:

● rstudio-server.service - RStudio Server
Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Mon 2020-08-24 16:28:21 CEST; 9min ago
Process: 136875 ExecStop=/usr/bin/killall -TERM rserver (code=exited, status=0/SUCCESS)
Process: 136873 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
Main PID: 136874 (code=exited, status=1/FAILURE)
CGroup: /system.slice/rstudio-server.service
├─ 20471 /usr/lib/rstudio-server/bin/rserver
├─ 20946 /usr/lib/rstudio-server/bin/rserver
├─ 24307 /usr/lib/rstudio-server/bin/rserver
├─ 60857 /usr/lib/rstudio-server/bin/rserver
├─ 60927 /usr/lib/rstudio-server/bin/rserver
├─ 85592 /usr/lib/rstudio-server/bin/rserver
├─111203 /usr/lib/rstudio-server/bin/rserver
├─112857 /usr/lib/rstudio-server/bin/rserver
├─117345 /usr/lib/rstudio-server/bin/rserver
├─162201 /usr/lib/rstudio-server/bin/rserver
└─167733 /usr/lib/rstudio-server/bin/rserver

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.