Skip to main content

Questions tagged [supervisord]

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.

Filter by
Sorted by
Tagged with
0 votes
1 answer
502 views

Supervisor ubuntu 20 error: Cannot open an HTTP server: socket.error reported errno.EADDRNOTAVAIL (99)

I am trying to run supervisor as following: azure@G01:~$ sudo supervisord -c /etc/supervisor/supervisord.conf I tried to trouble shoot as mucg as I could with no results. I do not know what the issue ...
Dev Dev's user avatar
  • 31
1 vote
0 answers
115 views

supervisor tool logs in different format. I need JSON format

I use the tool supervisor https://github.com/Supervisor/supervisor to build some app in a docker container. Processes controlled with the supervisor output logs in JSON format. But supervisor outputs ...
Roman Gelembjuk's user avatar
0 votes
0 answers
88 views

Make supervisord wait for mounting

How can I make a task wait till mounting point is ready in supervisord? systemd has this: After=big.mount I have a USB HDD and it takes ages to startup, there is no point starting tasks early that ...
Eva4684's user avatar
0 votes
1 answer
884 views

Delay between multiple Supervisor processes executions

I have multiple PHP workers and I need to set delay between startup each of them. How to handle it? Start 1 process / Wait 20 secs / Start 2nd process / Wait 20 secs ... Keep 50 proccesses alive at ...
wtfowned's user avatar
0 votes
1 answer
1k views

Running headless chrome via supervisor on a Docker container

For a quick run down, I'm trying to have headless chrome run via supervisor, which will then be used by another script that will use it via puppeteer to do some processing. There seems to be a lot of ...
Keith's user avatar
  • 1
0 votes
1 answer
360 views

How to wait for supervisorctl to finish reloading?

I started to use supervisorctl reload instead of supervisorctl restart myprocess because reload does not cause outage whereas restart does. However, calling supervisorctl status directly after ...
Barney Szabolcs's user avatar
0 votes
1 answer
410 views

modoboa on ubuntu 20.04 : supervisord exited: policyd (exit status 1; not expected)

New modoboa 2.o install on ubuntu 20.04 doesnt work and giving error in syslog. supervisord exited: policyd (exit status 1; not expected) Tried everything no clue
Shiv's user avatar
  • 116
-1 votes
1 answer
856 views

Can't start Mercure Hub on Debian 11 with supervisord, outh of Docker image

I'm trying to exec Mercure hub from supervisor, but is not possible for me. Mercure is in the same machine of webserver with the SSL virtualhost for pami54.local domain. [program:mercure] environment=...
Francisco's user avatar
  • 141
1 vote
1 answer
3k views

supervisord refuses to start when provided program config

I'm setting up supervisord to run a few scripts perpetually. If I start supervisord without any program (*.conf file in /etc/supervisor/conf.d), it runs perfectly fine root@networking:~# systemctl ...
YD8877's user avatar
  • 325
1 vote
1 answer
1k views

Supervisor not reloading Gunicorn properly with Django project

I am using Supervisor to reload Gunicorn when pushing Django project to production : Workflow : " && python manage.py migrate"\ " && python manage.py ...
Gaetan GR's user avatar
1 vote
1 answer
551 views

How can I setup multiple Django Apps using Supervisor (including Gunicorn and Nginx)? bind() to [::]:8090 failed (98: Address already in use)

I already deployed a Django/Wagtail App using Supervisor, Gunicorn and Nginx (on Debian Buster), so I can reach it with http://xx.xxx.xxx.xxx:8090. /etc/nginx/sites-available/cms server { ...
Paul's user avatar
  • 13
0 votes
0 answers
624 views

How do I configure uwsgi as a production WSGI server?

I have a flask app that I want to run using uwsgi. I am also managing the uwsgi with supervisor. here is the my supervisor.conf file [program:myapp] command=/opt/python_envs/apps/bin/uwsgi --ini /opt/...
Hussain Nagri's user avatar
1 vote
1 answer
1k views

Trouble installing Supervisor on Amazon Linux with easy_install

Our automated build process suddenly stopped functioning today with a fault installing "supervisor". I get the same fault after a complete rebuild. Does anybody have an alternative EB ...
Elric Pedder's user avatar
3 votes
1 answer
5k views

Supervisord services not outputting to docker-compose console

I have a docker container that runs several services inside it. I want each service to have it's output sent to the console. The is a development container so I want to see all output as I work. I ...
Guerrilla's user avatar
  • 263
1 vote
0 answers
2k views

Nginx stopped and failed to restart - open() “/run/nginx.pid” failed

I am running my django apis, deployed on Ubuntu 18, on Nginx and running via Supervisor. I am using Certbot for SSL certs and this is the only web service running on this webserver. No other websites ...
Deepak's user avatar
  • 111
1 vote
1 answer
401 views

Django Channels + Apache + Docker performance stuck to 10rq/s

Setup I have configured Django Channels inside a docker container on server Ubuntu 20.04 OVH VPS (8vCore, 16Go RAM). To run django-channels I used daphne. Versions: Django==3.1.4 channels==3.0.2 ...
pepeyoda46's user avatar
1 vote
1 answer
387 views

Where is crashmail installed on linux?

Long story short I'm trying to get notification from supervisord when job exists . I've been following this: Get notification from supervisord when a job exits. My problem is that I've install ...
user607883's user avatar
0 votes
1 answer
1k views

Conda, Django, Gunicorn and Supervisor bad interpreter: No such file or directory

I'm following this tutorial to deploy my Django app, but modified my executable /var/www/my_django_project/bin/gunicorn_start to use my conda env instead of virtualenv. CONDA_SRC=/home/justin/...
Soubriquet's user avatar
1 vote
1 answer
3k views

supervisord: Can you run two programs with the same name but on a different command path?

When I create two files: horizon-staging.conf [program:horizon] process_name=%(program_name)s command=php /var/www/staging/current/artisan horizon autostart=true autorestart=true user=forge ...
Philipp Mochine's user avatar
1 vote
2 answers
3k views

my bash scripts are not working when called through supervisord

I'm using the following systems: Ubuntu 18.04.2 LTS bash 4.4.19(1)-release supervisord 3.3.1-1.1 I have written two scripts that work pretty well from the CLI, but when I try to use supervisord ...
user3055756's user avatar
3 votes
1 answer
5k views

Disable nginx access log using supervisor in docker

I cannot seem to disable access logs from nginx outputting on docker stdout (showing in docker logs <container>) This is my Dockerfile FROM php:7.3.11-fpm-alpine as base WORKDIR /var/www # ...
Manse's user avatar
  • 101
1 vote
1 answer
2k views

Set up Supervisord Web Gui Dashboard to Be Accessible Remotely on Ubuntu AWS EC2 Instance with NGINX

My Objective: I am using an AWS EC2 Instance with Ubuntu running on it. I am using supervisord to start and monitor my long running processes and I want to use the built-in web GUI dashboard to ...
sitting-duck's user avatar
0 votes
1 answer
351 views

Permission error from Supervisor when full PHP path not specified

I've compiled PHP from source on Debian Stretch in a docker container. I have added this entry to my Supervisor config: command=/bin/sh -c 'QUEUE=orders/create APP_INCLUDE=/var/www/html/jobs/...
Asa Carter's user avatar
2 votes
0 answers
3k views

PHP-FPM doesn't create the socket when run as non root user

I am creating a Docker image that run NginX and PHP-FPM (with Supervisor). The container is run as www-data, but the PHP-FPM socket is not created. Here are my config files : www.conf [www] listen =...
M4kn4sh's user avatar
  • 121
2 votes
1 answer
686 views

Can runit be used to launch multiple instances of a single service?

My software runs on a single phusion-baseimage -based docker image. It consists of a couple of processes that are controlled by runit. For one of these processes/services (rqworker), I need to launch ...
Matti Mäki's user avatar
1 vote
1 answer
393 views

Deploy Vapor Project on macOS Server

I'm trying to deploy a vapor project on a Mac used as a server. For that, following this tutorial which I already did before, but on a Linux machine (which worked fine). I got to the point where I ...
LinusGeffarth's user avatar
0 votes
1 answer
3k views

Issue in setting env Variable for Supervisor debian

I am using supervisorctl for running a program and environment variables to store the common variables. For setting Environment Variable I am using /etc/environment. I have added the following as ...
Sharvin26's user avatar
  • 103
1 vote
2 answers
16k views

Error when adding supervisord to run via systemd

I am trying to run supervisor from systemd and I am following this tutorial here. Upon creating this file /etc/systemd/system/supervisord.service with the following contents: [Unit] Description=...
Newskooler's user avatar
0 votes
0 answers
839 views

Supervisor requires reload for flask application to work properly

When my server (centOS 7 hosted on a vagrant VM) reboots, my Python Flask application (served up by Gunicorn using nginx as a reverse proxy) throws internal server errors (according to the stack ...
codeAndStuff's user avatar
1 vote
1 answer
2k views

Address already in use: Why is Python listening on whatever port I specify for Supervisord?

Server side processes are not my strong point and I keep hitting a wall trying to get my Django Channels application on Digital Ocean on Ubuntu 16.04 using Nginx as the main webserver and supervisord ...
Trilla's user avatar
  • 121
0 votes
0 answers
1k views

Unable to get Django Channels Daphne Nginx Supervisor to run: 502 bad gateway

I'm trying to traceback through the errors to find the core problem as to why my domain is displaying a 502 bad Gateway error. There are basically no clear tutorials on how to do this except for on ...
Trilla's user avatar
  • 121
0 votes
1 answer
5k views

111: Connection refused while connecting to upstream: supervisord Django channels Nginx

I am a beginner on server side processes and the other questions that address this topic are running different stacks than I am so it's been quite hard to find useable answers. It's very possible I ...
Trilla's user avatar
  • 121
0 votes
0 answers
1k views

Running td-agent (fluentd) init.d script under Supervisor got (spawn error)

I have installed td-agent and they provide an init.d script that you can run it with, I have configured td-agent and I run it via the init.d script and it's running smoothly, but I want to move td-...
Iliyass Hamza's user avatar
0 votes
0 answers
361 views

Getting NodeJS to run on FreeBSD as a Supervisor-PCM process

What I'm trying to do: I'm trying to create a small webhooks_server using 3 technologies: a FreeBSD server a NodeJS server a process control syster (Supervisor) When I run my test code on the ...
Nactus's user avatar
  • 101
1 vote
0 answers
158 views

Sending different signals for system shutdown and manual stops in supervisord

I have a set of auto-scaled EC2 instances that run a daemon managed by supervisord on each instance. I want to differentiate the clean-up behavior for the following cases: when shutting down ...
Achimnol's user avatar
  • 109
0 votes
1 answer
5k views

Supervisor configuration does not work on my server

I am trying to run the command below in the background using supervisord: php /home/instacheeta/artisan queue:work --timeout=120 After installing the supervisor service on my server, defining its ...
DolDurma's user avatar
  • 103
5 votes
1 answer
15k views

supervisord sending SIGKILL instead of SIGTERM

I'm running supervisor 3.2.0-2ubuntu0.2 Ubuntu 16.04. I want to change the command that one of my processes uses, but I need to make sure that supervisor sends the correct signal to it so that the ...
Glen Solsberry's user avatar
0 votes
0 answers
2k views

managing a process with supervisord instead of sytemctl

I have a VPN service that I would like to manage through supervisord. When the VPN service installs itself, it makes an entry in /etc/systemd/system/pgateway.service. Contents below: [Unit] ...
Brian Leach's user avatar
1 vote
1 answer
9k views

Having trouble running supervisord using systemctl (systemd)

I am unable to get supervisor to successfully run via systemctl. I am running Centos 7.5 I install supervisor with sudo pip install supervisor $ supervisor -v: 3.3.4 $ which supervisord: /usr/bin/...
Brian Leach's user avatar
1 vote
1 answer
3k views

Supervisord - Supervisor exit status 255 not expected on A [duplicate]

I have no clue why this always happened. I tried to reload the supervisord process but still doesnt the same error appears The error show this.. FATAL Exited too quickly (process log may have ...
Snowbases's user avatar
  • 111
0 votes
1 answer
2k views

Supervisor package fails starting processes on Ubuntu 16.04

I have installed Supervisor package for Ubuntu as someone recommended me here on serverfault to keep all my processes always alive. But after two days of using it I saw by supervisorctl command: 4 ...
Gediminas's user avatar
  • 217
1 vote
3 answers
17k views

"/usr/bin/env node: No such file of directory" - only under Supervisor

When I try to run Node.js applications from under Supervisor I get following error: /usr/bin/env node: No such file of directory It is a machine running Ubuntu 16.04 and actually there is /usr/bin/...
Forseti's user avatar
  • 147
1 vote
1 answer
1k views

Unable to access supervisord web interface in aws server

I am using supervisord tool in AWS server to do run some scripts automatically.I am able to see the status of the process in AWS server directly by executing below commands in command line. ...
Abdulvakaf K's user avatar
2 votes
2 answers
10k views

Supervisor exit status 255 not expected

My working are failing with a spawn error: 2018-02-08 13:05:38,704 INFO exited: example-worker_00 (exit status 255; not expected) 2018-02-08 13:05:39,706 INFO gave up: example-worker_00 entered FATAL ...
eComEvo's user avatar
  • 1,041
0 votes
1 answer
1k views

How to reload httpd service on changes automatically using Supervisord?

I am working in a Docker container that so far have the following ready to go: CentOS 6 (latest, I think is 6.9) Apache 2.2.15 (latest on CentOS6 repositories) PHP 5.3.3 (latest on CentOS6 ...
ReynierPM's user avatar
  • 722
1 vote
2 answers
726 views

Supervisord: To not run any program while running supervisord

I am stuck in a weird situation. I have setup supervisord for around 50 tasks which are running on different servers according to the roles mentioned in the tags of the dynamic inventory. While ...
mohit's user avatar
  • 211
1 vote
0 answers
1k views

With supervisord, is it possible to run a process without intercepting stdout?

I have a docker image running supervisord in a kubernetes pod. I would like the output of processes running via supervisord to appear in the k8s logs. It seems that the simplest way to do that is to ...
William Pursell's user avatar
1 vote
2 answers
6k views

How to unset environment variables from script

if I need to unset an environment variable from script it used to be "sourced" like . ./myscript.sh or source ./myscript.sh But how do i make this work, if i launch this script from supervisord? [...
David's user avatar
  • 29
1 vote
2 answers
10k views

unix:////tmp/supervisor.sock refused connection

I apologize for my poor English as it's not my first language. I have a website for translating TV shows from English to Spanish. A friend installed a real-time translation system for us. He mentioned ...
Randy García's user avatar
0 votes
1 answer
6k views

Supervisor not detecting services

I almost read all questions about supervisor, nothing works OS : Centos 7 SuperVisor : 3.1.4 (Installed Via yum) [root@271-appdevelopment-box supervisord.d]# systemctl status supervisord ● ...
Rahul V Sharma's user avatar

1
2 3 4 5