Questions tagged [supervisord]
Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.
240
questions
0
votes
0
answers
38
views
cannot execute quota command on centos7 with supervisord service
I have a bash script where I use the quota command like quota -gl $USER which works fine.
But if I start the script as a service with supervisord I get the error:
quota: username (gid 1170): ...
0
votes
0
answers
245
views
Mercure 0.14 configuration behind Nginx reverse proxy with supervisor - server not responding
I need help configuring Mercure 0.14 to run on port 3000 on a production server, which nginx will proxy to behind the path /mercure/.
To install Mercure, I did the following:
Grabbed Mercure 0.14 ...
0
votes
1
answer
385
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 ...
0
votes
1
answer
872
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 ...
0
votes
1
answer
242
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 ...
0
votes
1
answer
294
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
-1
votes
1
answer
672
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=...
1
vote
0
answers
2k
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 ...
1
vote
1
answer
783
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 ...
1
vote
1
answer
478
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 {
...
0
votes
0
answers
476
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/...
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 ...
1
vote
1
answer
4k
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 ...
1
vote
0
answers
1k
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 ...
1
vote
1
answer
379
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
...
1
vote
1
answer
340
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 ...
0
votes
1
answer
887
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/...
1
vote
1
answer
2k
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
...
1
vote
2
answers
2k
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 ...
3
votes
1
answer
4k
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
# ...
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 ...
0
votes
1
answer
238
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/...
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 =...
2
votes
1
answer
569
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 ...
1
vote
1
answer
334
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 ...
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 ...
1
vote
2
answers
14k
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=...
0
votes
0
answers
657
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 ...
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 ...
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 ...
1
vote
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 ...
0
votes
0
answers
971
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-...
0
votes
0
answers
324
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 ...
1
vote
0
answers
119
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 ...
0
votes
1
answer
4k
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 ...
5
votes
1
answer
13k
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 ...
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]
...
1
vote
1
answer
8k
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/...
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 ...
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 ...
1
vote
3
answers
15k
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/...
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.
...
2
votes
2
answers
8k
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 ...
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 ...
0
votes
0
answers
526
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 ...
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 ...
1
vote
2
answers
4k
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?
[...
0
votes
1
answer
5k
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
● ...
-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 ...
2
votes
1
answer
8k
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 ...