I am using CentOS 8. My Rstudio-Server stopped working after a reboot. So I ran the following:
sudo rstudio-server verify-installation
And it showed that "no version information available". I tried many things to fix it, including removing version 10 of postgressql, installing verison 13, and un-installing and re-installing rstudio-server.
It still shows the same problem:
usd1sapp101 opt]$ sudo rstudio-server verify-installation
/usr/lib/rstudio-server/bin/rserver: /usr/pgsql-13/lib/libpq.so.5: no version information available (required by /usr/lib/rstudio-server/bin/rserver)
/usr/lib/rstudio-server/bin/rsession: /usr/pgsql-13/lib/libpq.so.5: no version information available (required by /usr/lib/rstudio-server/bin/rsession)
I know postfres sql is installed properly via this command:
[bosr opt]$ psql --version
psql (PostgreSQL) 13.3
I used this link this link to configure postgres sql for rstudio-server.
What else can I try?
Also, why did the uninstall and re-install of rstudio server not fix the issue? If I wanted to uninstall rstudio server and start from scratch, what would be the best method? Thanks in advance.
Hey @rogerjbos! Can you share the output of yum list installed? Specifically those that are postgres related?
I haven't seen this issue before, but it looks like you may be missing a system library (like yum install postgresql-devel, perhaps?).
It surprises me that this issue would surface on a reboot though, unless an upgrade was included in the process recently. Have you recently upgraded RStudio Server Pro? What is the output of rstudio-server version?
If we don't make headway here quickly, it might be worth reaching out to our support team at support@rstudio.com and sending a diagnostic bundle to help us get a head start on the resolution!
Also, I'm not super optimistic that a complete reinstallation will help, since it may be related to a requirement on the newest version of the product.
I noticed that postgresql version 10.6 was the latest version on my app stream, so I removed version 13 and re-install 10.6. At you suggestion, I installed devel as well, so now here are the three that are installed:
Checking the version still shows the missing information, but it does show version 10.6 as well:
[bosr rstudio]$ psql --version
psql: /lib64/libpq.so.5: no version information available (required by psql)
psql: /lib64/libpq.so.5: no version information available (required by psql)
psql (PostgreSQL) 10.6
I am using the open source version BTW, and my version is:
1.4.1717 (Juliet Rose) for CentOS 8
If I check the status of rstudio-server, it is running, but it still complains about the missing version information:
β rstudio-server.service - RStudio Server
Loaded: loaded (/usr/lib/systemd/system/rstudio-server.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2021-06-22 14:13:39 EDT; 8min ago
Process: 108234 ExecStop=/usr/bin/killall -TERM rserver (code=exited, status=0/SUCCESS)
Process: 108236 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
Main PID: 108237 (rserver)
Tasks: 3 (limit: 49630)
Memory: 8.8M
CGroup: /system.slice/rstudio-server.service
ββ108237 /usr/lib/rstudio-server/bin/rserver
Jun 22 14:13:39 usd1sapp101.rth.ad.rothschild.com systemd[1]: Starting RStudio Server...
Jun 22 14:13:39 usd1sapp101.rth.ad.rothschild.com rserver[108236]: /usr/lib/rstudio-server/bin/rserver: /lib64/libpq.so.5: no version information available (required by /usr/lib/rstudio-server>
Jun 22 14:13:39 usd1sapp101.rth.ad.rothschild.com systemd[1]: Started RStudio Server.
and of course I still get the error message "Could not connect to the rsession on Rstudio server."
Ohh sorry about that! I missed that you were using the open source version This is definitely the right place to be asking then!!
It does look like some type of sysdep issue. I am not super familiar with the centos8 package names, but it looks like libpq is the one that RStudio needs, and is the one that is having trouble in your system.
On a docker container I just started:
[root@90e8d9b8b2fa /]# yum list installed | grep pq
Failed to set locale, defaulting to C.UTF-8
libpq.x86_64 13.3-1.el8_4 @appstream
[root@90e8d9b8b2fa /]# find / -name libpq.so.5
/usr/lib64/libpq.so.5
It may be worth starting a new shell / checking your LD_LIBRARY_PATH to see what is getting picked up? You could also look at the /lib64/libpq.so.5 file - it looks like something weird is going on with it.
Glad to hear!! Well done resolving, and thanks for coming back here to share!!
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Hereβs how to do it: