Questions tagged [runit]

runit is a collection of tools to provide system-wide service supervision and to manage services.

runit is a collection of tools to provide system-wide service supervision and to manage services. Contrary to sysv init, it not only cares about starting and stopping services, but also supervises the service daemons while they are running. Among other things, it provides a reliable interface to send signals to service daemons without the need for pid-files, and a log facility with automatic log file rotation and disk space limits.

runit service supervision can run under sysv init or replace the init system completely. Complete init replacement needs to be done by hand (see https://bugs.debian.org/861536).

14 questions
13
votes
2 answers

Failed to connect to socket /com/ubuntu/upstart: Connection refused: Errors were encountered while processing: runit

I'm using Ubuntu 15.04. Whenever I tried to install any package, I got the error message in the title. How can I get rid of this annoying error message? :~$ uname -a Linux LongerVision001 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015…
Pei JIA
  • 400
8
votes
1 answer

How to properly setup runit on Ubuntu 18.04

I've successfully installed runit via apt-get (at least I got no errors) Setting up runit (2.1.2-9.2ubuntu1) ... However, it seems runit isn't running itself, so to speak. Following command doesn't show anything. ps -ef | grep runsvdir I was able…
7
votes
1 answer

reliably restarting services using upstart or runit

I want to reliably restart my app and web server processes on crash. If I understand correctly, runit starts every service as a child process. If the child process crashes this sends a signal to the parent process which in turn respawns the service…
murtaza52
  • 173
  • 1
  • 5
3
votes
1 answer

error with runit and upstart

Yesterday i try to install some package and i get error about runit . So i search on Internet and a fix was to sudo dpkg --force runit i did it but as i tried today sudo apt-get update i got this errror E: dpkg was interrupted, you must manually…
3
votes
1 answer

Start script in /etc/service (runit) is not working with daemon

I am facing an issue with a script I have kicked off through /etc/service and is using runit. My script at /etc/service/myApp/run looks like: #!/bin/bash cd /src forever -l forever.log -o out.log -e err.log -a start bin/www What Forever does is…
3
votes
1 answer

Is init.d "safe" enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the system in general. I have never used any of those…
1
vote
1 answer

sudo apt-get --install-suggests install git fails

When I try to install git along with its suggested packages, I get errors indicating that git-daemon-run and runit failed to install properly. Looking up the error messages leads me to https://bugs.launchpad.net/ubuntu/+source/runit/+bug/1448164…
1
vote
1 answer

Git-All and Runit Problems in 16.04

When I am trying to install the git-all from the repositories sudo apt-get install git-all at the end of the installation process I get some errors: start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection…
garzanti
  • 201
1
vote
1 answer

While trying to install git, "errors were encountered while processing: runit, git-daemon-run"

I'm trying to install git using sudo apt-get install git-all but I'm getting an error message which ends as follows: Errors were encountered while processing: runit git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1) I've…
Kurt Peek
  • 409
1
vote
1 answer

Is it safe to remove runit package?

I just upgraded my ubuntu box from 12.04 LST to 14.04 LTS. Now apt-get tells me: The following package was automatically installed and is no longer required: runit Use 'apt-get autoremove' to remove it. Is it really safe to remove this…
1
vote
2 answers

Dev C++ Output Screen not coming

I installed Dev C++ using Wine on Ubuntu 18.04 and the program is compiling but it not showing any output screen.
0
votes
1 answer

I have a few versions of Python on ubuntu 16.04 LTS -> how to remove some and not to break down the system

I've installed a few version of Python on ubuntu 16.04 LTS, please see a screenshot. When I tried to delete/uninstall one (not 2.7.12)-> I broke my system, then recovered again. Is there any way to remove all versions of Python except core 2.7.12…
0
votes
1 answer

Runit: Effect of "Once" after reboot

A small question: does the once command for runit activate the run script once every startup / session; once, and then never again unless started manually; or once, and then kept alive by runit after every startup / session following the…
syvlorg
  • 101
0
votes
0 answers

Visual studio code can't run

I have problem with running a Visual studio code on my Ubuntu 18.04, xps, dell 15" 9560. I managed to install it from snap store and I remember it worked well until installed few plugins like lint,syntax highlighting, VSC its like start running in…