[CollEc] RePEc Visual

Thomas Krichel krichel at openlib.org
Thu Jun 4 06:31:43 UTC 2020


  Thomas Krichel writes

> root at darni ~ # sudo systemctl restart docker
> Failed to restart docker.service: Unit docker.service not found.

  Well it turns out I had to get docker.io

root at darni ~ # apt install docker.io

  ...

root at darni ~ # systemctl start docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

root at darni ~ # systemctl status docker.service
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/docker.service.d
             └─override.conf
     Active: failed (Result: exit-code) since Thu 2020-06-04 06:17:12 UTC; 57s ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
    Process: 3288749 ExecStart=/usr/bin/dockerd -H unix:// -D -H tcp://127.0.0.1:2375 (code=exi>
   Main PID: 3288749 (code=exited, status=203/EXEC)

Jun 04 06:17:12 darni systemd[1]: docker.service: Scheduled restart job, restart counter is at >
Jun 04 06:17:12 darni systemd[1]: Stopped Docker Application Container Engine.
Jun 04 06:17:12 darni systemd[1]: docker.service: Start request repeated too quickly.
Jun 04 06:17:12 darni systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 04 06:17:12 darni systemd[1]: Failed to start Docker Application Container Engine.
Jun 04 06:18:06 darni systemd[1]: docker.service: Start request repeated too quickly.
Jun 04 06:18:06 darni systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 04 06:18:06 darni systemd[1]: Failed to start Docker Application Container Engine.

  overwrite.conf looks for docker in /usr/bin/dockerd, but

root at darni ~ # which dockerd
/usr/sbin/dockerd

  says it's in another place. I needed to add the 's' in

/etc/systemd/system/docker.service.d/override.conf

  Then

root at darni ~ # systemctl daemon-reload
root at darni ~ # systemctl start docker

  and it's up and running.

  I suspect the shiny app should be run as an unpriviledged user. Let me know
  if you want to keep icanis or want a different one. We can then
  accumulate the sudo instructions for that user 

  It would also be good to have the mysql database with the same name?

-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel



More information about the CollEc-run mailing list