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
vote
2answers
401 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 ...
1
vote
1answer
569 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
126 views

Run sshd in a non-root container along with rsyslog

I'm trying to build a deployment of an ssh server running sshd in a non-root container. Despite could sound quite smooth there are some caveats hidden. in order to print out auth.log file, an ...
0
votes
0answers
36 views

Supervisord launching a Python program in a virtual environment

A few months ago I was sure it's sufficient to write [program:hello] ... environment=PATH="/home/ubuntu/venv/bin:%(ENV_PATH)" ... so that a program (gunicorn, in case it matters) will start in a ...
0
votes
0answers
109 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
252 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
32 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/...
0
votes
0answers
744 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
160 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
169 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
596 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 ...
0
votes
2answers
2k 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
83 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
604 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
529 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
2k 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
328 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
144 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
45 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
978 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 ...
0
votes
1answer
3k 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
452 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
0answers
2k 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
1k 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
617 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 ...
0
votes
2answers
7k 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
499 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
1answer
3k 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
482 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
130 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
676 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 ...
0
votes
2answers
906 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
2k 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
629 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
4k 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
3k 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
1k 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
2k 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
10k 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
947 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 ...
2
votes
1answer
5k 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
4k 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 ...
0
votes
1answer
328 views

Crontab not picking up new conjob [duplicate]

When I build my server image, I write the following to a temporary file; * * * * * php /var/www/artisan schedule:run and then load it with crontab < /tmp/cron After deployment of the image, I ...
0
votes
1answer
174 views

Supervisord logs; how to separate log messages into a new file for each execution?

I am using supervisord to keep our application server service alive if it fails, and to auto-start the service on machine load. Currently all the logs go into the same long-running file, which is a ...
0
votes
2answers
2k views

apt-get upgrade - supervisor error

I have two Ubuntu 16.04.2 LTS servers on AWS. I wanted to patch them, but I'm getting an error that I can't figure out next steps. sudo apt-get upgrade gives me: Setting up supervisor (3.2.0-...
0
votes
0answers
371 views

Restart supervisord in every 30 mins ubuntu server 16.04

I need to restart my supervisor service in every 30 mins and I tried the following sudo crontab -e #restart supervisor in every 30 minutes to check if port are freezed 0,30 * * * * service ...
0
votes
1answer
7k views

how do i restart php7-fpm with supervisord?

I have a custom docker image for apache and php7-fpm but whenever i make changes to the php ini file and use supervisord to retsart php7-fpm after those changes during image building before running ...
2
votes
1answer
4k views

Supervisor doesn't start: couldn't chdir to … EACCES

I'm setting up an ec2 server to run a django project with ngnix & gunicorn. The server is running Amazon Linux. When I run the start gunicorn command from the command line, it starts up the ...
1
vote
1answer
882 views

Cannot use supervisor with Apache Kafka

I have an Ubuntu 16.04 machine where Apache Kafka is installed. Currently, I can make it work flawlessly by using a start_kafka.sh script with the following contents: JMX_PORT=17264 KAFKA_HEAP_OPTS="-...
1
vote
1answer
631 views

HTTPS Configuration for supervisord

I've been browsing the web for articles that describe how to do it, but I couldn't find anything. The develop documentation only makes mention of a HTTP server. Nothing about enabling or configuring ...

1
2 3 4 5