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
-1 votes
0 answers
16 views

How to monitor your Laravel queues on Centos/SELinux

As per the Laravel documentation we should be using Supervisor to launch and manage our queues. That is exactly what I am doing but i miss the visual feedback of seeing my jobs being labeled as "...
user avatar
0 votes
1 answer
15 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 ...
user avatar
0 votes
0 answers
11 views

How to prevent supervisor from sending SIGKILL to celery workers on service restart?

I need the way to deploy new code without killing long running processes. I would like them to keep running until they finish. Right now Supervisor sends SIGTERM first, waits and then SIGKILLs all ...
user avatar
  • 1
0 votes
1 answer
48 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
user avatar
  • 116
-1 votes
1 answer
183 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=...
user avatar
0 votes
0 answers
440 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 ...
user avatar
  • 275
0 votes
0 answers
24 views

crashmail location won't update in supervisord

I am trying to get notified when Django celery exits so I installed superlance and added this to the supervisord config file: /home/scheduler/bin/crashmail [eventlistener:crashmail] command=/usr/local/...
user avatar
  • 101
0 votes
0 answers
13 views

Supervisor Foreground Enters Mangled Arrow Keys

When I run a rails app with byebug enabled I am able to enter commands and navigate up and down my byebug command history with the arrow keys. When I run the same rails app under supervisor and then ...
user avatar
  • 357
1 vote
1 answer
261 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 ...
user avatar
1 vote
1 answer
187 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 { ...
user avatar
  • 13
0 votes
0 answers
160 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/...
user avatar
1 vote
1 answer
615 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 193
1 vote
0 answers
683 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 ...
user avatar
  • 111
1 vote
1 answer
285 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 ...
user avatar
1 vote
1 answer
197 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 ...
user avatar
0 votes
1 answer
516 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/...
user avatar
0 votes
1 answer
588 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 ...
user avatar
1 vote
2 answers
1k 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 ...
user avatar
2 votes
1 answer
3k 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 # ...
user avatar
  • 81
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
66 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/...
user avatar
1 vote
0 answers
2k 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 =...
user avatar
  • 111
2 votes
1 answer
422 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 ...
user avatar
1 vote
1 answer
290 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 103
1 vote
2 answers
10k 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=...
user avatar
0 votes
0 answers
478 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 ...
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 ...
user avatar
  • 141
0 votes
0 answers
808 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 ...
user avatar
  • 141
1 vote
1 answer
4k 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 ...
user avatar
  • 141
0 votes
0 answers
741 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-...
user avatar
0 votes
0 answers
265 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 ...
user avatar
  • 101
1 vote
0 answers
77 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 ...
user avatar
  • 109
0 votes
1 answer
3k 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 ...
user avatar
  • 103
3 votes
1 answer
10k 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 ...
user avatar
0 votes
0 answers
1k 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] ...
user avatar
0 votes
1 answer
6k 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/...
user avatar
1 vote
1 answer
2k 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 ...
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 ...
user avatar
  • 217
1 vote
3 answers
13k 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/...
user avatar
  • 147
1 vote
1 answer
920 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. ...
user avatar
1 vote
2 answers
6k 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 ...
user avatar
  • 961
0 votes
1 answer
960 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 ...
user avatar
  • 690
0 votes
0 answers
286 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 ...
user avatar
  • 181
1 vote
0 answers
952 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 ...
user avatar
1 vote
2 answers
3k 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? [...
user avatar
  • 29
0 votes
1 answer
4k 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 ● ...
user avatar
-1 votes
1 answer
1k views

django+gunicorn+supervisord+nginx redirect happening

I have django application, hosted using gunicorn,supervisord and nginx. Following are the config files nginx.conf upstream app_server { server unix:/home/jfraixedes/run/gunicorn.sock ...
user avatar
2 votes
1 answer
7k views

Unable to connect to supervisord web interface

I installed and configured supervisord on a linux server running Fedora26, and it's configured to run the supervisor web interface on port 9001. However, when typing the IP and port of the linux ...
user avatar
  • 153

1
2 3 4 5