Is rstudio-server in my server working?

Hi, all!

I am trying to check if rstudio-server is working correctly, so I entered following two commands.

$ rstudio-server verify-installation
Server is running and must be stopped before running verify-installation
$ sudo rstudio-server stop
[sudo] password for bio0: 
rsession: no process found

What I'm confused about is that it said 'server is running', but it didn't stop.
So, is the server running or not, and if it's running, how can I stop it?
Would anyone help me?

Thank you!

1 Like

Hello, and thanks for the very good question! The rsession: no process found message is a common one, and does not necessarily mean a whole lot about your installation and whether it is working or not, etc. (Sorry for the confusion!!).

Do you mind sharing which operating system / version you are using?

In any case, some other useful ways to check whether things are running properly:

# look for RStudio listening on the port you expect
sudo netstat -lntp

# look for the rserver process
sudo ps -aux
sudo ps -aux | grep 'rserver'

sudo rstudio-server status

More information is available here: https://docs.rstudio.com/ide/server-pro/server-management.html#stopping-and-starting

2 Likes

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.