krlmlr
November 17, 2017, 4:25pm
1
I've installed Shiny server on SLES 12 SP2 according to instructions . However, after installation, no process named shiny
is active, and when trying to start it, I'm seeing:
# systemctl start shiny-server
Failed to start shiny-server.service: Unit shiny-server.service failed to load: No such file or directory.
What am I missing?
1 Like
Hi Kirill ! I believe the Admin guide has some more things to verify, have you been able to take a look at it? http://docs.rstudio.com/shiny-server/#suse-linux-enterprise-server-11
Hi @krlmlr ,
I had a similar problem on CentOS last year, this is what I did:
open the service conf file:
sudo nano /etc/systemd/system/shiny-server.service
comment the line:
"PIDFile=/var/run/shiny-server.pid"
reload the services units:
systemctl daemon-reload
start the service:
sudo service shiny-server restart
You should also restart the system to check the above tweak is actually working
Hope this helps,
Luca
krlmlr
November 20, 2017, 1:28pm
4
Thanks.
@edgararuiz : The tweaks refer to Shiny Server Pro, I'm installing the open-source version.
@datamaps : I don't have /etc/systemd/system/shiny-server.service
.
Rebooting seems to have resolved the issue. I'd expect the installer to work without a reboot, but it's not a major priority for me anymore
Ah! the old but reliable "have you turn it off and on again" did the trick. I should have led with that one
I'm curious, why did you choose SLES 12 over something like Ubuntu?
krlmlr
November 29, 2017, 9:17pm
6
Yeah, should have tried that first.
SLES was IT department's choice, don't know why.
allas
January 26, 2018, 6:02am
7
I have the same problem. After reboot the shiny-server.service file is not there. I have SLES12 SP3.