[Debian-med-packaging] Help with systemd to start shiny-server needed
Andreas Tille
andreas at an3as.eu
Fri Mar 24 15:21:39 UTC 2017
Hi,
I intend to package shiny-server and have prepared some preliminary
packaging in Debian Med Git[1]. When trying to install the resulting
package I get:
$ sudo dpkg -i ./shiny-server_1.5.0.831+dfsg-1_amd64.deb
(Reading database ... 582729 files and directories currently installed.)
Preparing to unpack .../shiny-server_1.5.0.831+dfsg-1_amd64.deb ...
Unpacking shiny-server (1.5.0.831+dfsg-1) over (1.5.0.831+dfsg-1) ...
Setting up shiny-server (1.5.0.831+dfsg-1) ...
User 'shiny' already exists. Ensuring proper permissions on /home/shiny.
Job for shiny-server.service failed because of unavailable resources or another system error.
See "systemctl status shiny-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript shiny-server, action "start" failed.
● shiny-server.service - ShinyServer
Loaded: loaded (/lib/systemd/system/shiny-server.service; enabled; vendor preset: enabled)
Active: failed (Result: resources) since Fri 2017-03-24 16:20:31 CET; 18ms ago
Process: 22246 ExecStopPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Process: 22241 ExecStartPost=/bin/sleep 3 (code=exited, status=0/SUCCESS)
Process: 22239 ExecStart=/bin/bash -c /usr/bin/shiny-server --pidfile=/var/run/shiny-server.pid >> /var/log/shiny-server.log 2>&1 (code=exited, status=0/SUCCESS)
Main PID: 22239 (code=exited, status=0/SUCCESS)
CPU: 7ms
Mar 24 16:20:23 sputnik systemd[1]: Starting ShinyServer...
Mar 24 16:20:26 sputnik systemd[1]: shiny-server.service: PID file /var/run/shiny-server.pid not readable (yet?) after start-post: No such file or directory
Mar 24 16:20:31 sputnik systemd[1]: Failed to start ShinyServer.
Mar 24 16:20:31 sputnik systemd[1]: shiny-server.service: Unit entered failed state.
Mar 24 16:20:31 sputnik systemd[1]: shiny-server.service: Failed with result 'resources'.
dpkg: error processing package shiny-server (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (232-19) ...
Processing triggers for readahead-fedora (2:1.5.6-5.2) ...
Errors were encountered while processing:
shiny-server
Any idea what might be wrong here?
Kind regards
Andreas.
[1] https://anonscm.debian.org/git/debian-med/shiny-server.git
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list