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
0answers
16 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/...
0
votes
0answers
24 views

How to programmatically start new screens

I used to use a supervisor to start multiple processes and it worked just fine. But something has change and now my process doesn't work well if I start it using supervisor but surprisingly works fine ...
0
votes
0answers
9 views

How to escape spaces in supervisor config files?

See this related question for systemd: How to escape spaces in systemd unit files? I was unable to find documentation for something similar using supervisord, e.g., I'd like to have something like: ...
1
vote
1answer
158 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 ...
0
votes
1answer
230 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
0answers
204 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
1answer
205 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
1answer
73 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
1answer
254 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/...
0
votes
1answer
90 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
2answers
885 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 ...
2
votes
1answer
2k 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 # ...
0
votes
0answers
405 views

Supervisor keeps on exiting on a php script

I have added the following config for supervisor process in ubuntu in the folder /etc/supervisor/conf.d that is a file bspappqueues.conf [program:yii-queue-worker] command=/usr/bin/php /var/www/html/...
1
vote
1answer
838 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
1answer
41 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/...
1
vote
0answers
1k 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
1answer
302 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
1answer
241 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
1answer
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 ...
1
vote
2answers
6k 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
0answers
262 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
1answer
1k 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
0answers
701 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
1answer
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 ...
0
votes
0answers
520 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
0answers
213 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
0answers
64 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
1answer
2k 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 ...
1
vote
1answer
7k 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
0answers
941 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] ...
0
votes
1answer
4k 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/...
0
votes
1answer
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 ...
0
votes
1answer
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
3answers
11k 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
1answer
725 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. ...
0
votes
2answers
4k 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
1answer
722 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
0answers
177 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
0answers
835 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
2answers
2k 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
1answer
3k 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
1answer
834 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
1answer
6k 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 ...
0
votes
2answers
5k views

Running supervisord process as root

My goal is to run sudo inside one of the programs: [program:doStaff] command=sudo python manage.py doStaff autostart=true autorestart=true stderr_logfile=/var/log/doStaff.err.log stdout_logfile=/var/...
1
vote
1answer
2k views

nginx proxy pass to supervisord

I am trying to make the supervisord web interface available at http://example.com/supervisor After trying for many hours I got it to work properly with a trailing slash (http://example.com/supervisor/...
0
votes
1answer
3k views

Different stdout with supervisord using docker vs docker-compose

I have a service running inside docker using nginx and php-fpm. I have been beating my head against the wall to get all of the logs to redirect to stdout. The approach that I took was to use ...
3
votes
2answers
14k views

supervisorctl: command not found

as ec2-user: [ec2-user@stg etc]$ sudo supervisorctl status sudo: supervisorctl: command not found as root: [ec2-user@stg etc]$ sudo su - Last login: Tue Jun 6 03:02:55 UTC 2017 on pts/1 [root@stg ...
0
votes
1answer
1k views

supervisord - automatically kills its spwaned processes

I am a new bee with Supervisord. And I am on Ubuntu. My problem is, I have a script to spawn java process using "exec java -cp ....." as the only line in the script. This particular java process is ...
3
votes
1answer
6k views

Passing multiple environment variables a process managed by a supervisor

I need to proxy multiple environment variables from /etc/environment to a process managed by a supervisor. The following configuration worked for me with supervisor 3.0r1-1 but supervisor 3.2.0-2 ...
1
vote
1answer
5k views

How to setup supervisor 3.3.1 with node.js npm scripts

I'm running version 3.3.1. Apart of my /etc/supervisor/supervisord.conf file: [program:node] directory=/srv/www command=npm run demo autostart=true autorestart=true Apart of my package.json file ...

1
2 3 4 5