Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [supervisord]

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

0
votes
0answers
23 views

Grafana Indluxdb docker CRIT Server 'unix_http_server' running without any HTTP authentication checking

Hi i have successfully deployed this Dockerhub instance and was working fine last few months. When i retried to redeploy using docker start -i docker-influxdb-grafana I get the error CRIT ...
0
votes
0answers
31 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
28 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
124 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
237 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
37 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
284 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
0answers
197 views

nginx - gunicorn - supervisor 502 timeout

I have django app with nginx + gunicorn. Both of them are being started by supervisor. One of requests takes so long (about 14 minutes) but after ten minutes gunicorn workers disappears and I got ...
0
votes
1answer
498 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 ...
-1
votes
0answers
2k views

ERROR (spawn error) Access denied for user

Blessings, hope you're fine. First, sorry for my bad English, my first language is Spanish. Second, important to know that I just have basic skills on servers. I have a website for translations (TV ...
0
votes
0answers
617 views

pg_ctl another server might be running

Inside a CentOS7 based Docker container I am trying to start Postgres 9.6 with supervisor. I have had many issues, but have resolved most of them. This one though I am banging my head on. Everytime I ...
0
votes
0answers
148 views

Python & Django: supervisor numprocs vs uwsgi --processes

What is the difference in specifying numprocs in superivsor config and passing --processes option in uwsgi config? I'm using a m4.xlarge instance which has 4 CPU and 8Gig RAM. Not sure about the ...
0
votes
1answer
114 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
0answers
113 views

Supervisor unix:///tmp/supervisor.sock refused connection after running

I'm running supervisor in Cygwin on Windows. I use the tail -f command to see what my script is logging. After a while logging to screen stops and when checking status of supervisor it returns an ...
0
votes
0answers
42 views

block rapid restart of supervisord

I am using supervisord to monitor and control celery. Server is getting hanged some times while supervisord autorestart. Here is the logs when it hanged last time 2018-03-14 14:49:04,046 INFO exited:...
-1
votes
2answers
3k 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/...
0
votes
0answers
7 views

Permissioning Individual Service Control for supervisord's XML RPC API

I am working in an organisation where the maintenance of *NIX servers is managed by a dedicated system administration group. Users (like me) have no access to the root account -- quite rightly. I am ...
0
votes
1answer
192 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
0answers
731 views

Deploying Django Project with Supervisor and Gunicorn getting FATAL Exited too quickly (process log may have details) error

Im trying to launch my django project using this tutorial. I am currently setting up gunicorn and supervisor. These are the configs... Here is my Gunicorn config: #!/bin/bash NAME="smart_suvey" DIR=/...
0
votes
0answers
1k 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
207 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
60 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
269 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
votes
1answer
414 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
702 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
331 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
2k 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
958 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
659 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
1k 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 ...
1
vote
2answers
4k 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
478 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 ...
1
vote
1answer
2k 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
2k 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
147 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
83 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
946 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
227 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
5k 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
0answers
2k 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
624 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="-...
0
votes
1answer
348 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
vote
1answer
615 views

Setting up Django + nginx + uwsgi + supervisord: Difference between sockets in /run vs /tmp

I'm trying to set up 2 Django web apps on the same machine using uWSGI emperor and nginx and have supervisord manage the starting and restarting of the emperor process. I have finally after a lot of ...
-1
votes
1answer
393 views

MariaDB keeps quitting when I run it via Supervisord

I'm trying to set up a LEMP stack in rkt (with Docker files), so I'm using Supervisord to get everything running in the same container. When I build and start the Mariadb container separately, it ...
0
votes
0answers
798 views

Supervisor running daemons from /etc/init.d

Inside supervisord.conf is this [program:ElasticSearch] command=/etc/init.d/elasticsearch start user=root stdout_logfile=/var/log/ES-out.log stderr_logfile=/var/log/ES-err.log autostart=true ...
0
votes
1answer
8k views

Supervisor sock file missing

I installed Supervisor (v3.1.2) to manage ElastAlert but when I run supervisorctl it sometimes throws this error: unix:///var/run/supervisor.sock no such file and other times it throws this error: ...
-2
votes
1answer
157 views

How can I schedule supervisord to start and stop on regular intervals(for example to start at everyday 1:00 AM UTC and stop at 6AM UTC)

I did configured supervisor to process the jobs from AWS SQS queue(using laravel dispatch to AWS SQS), I have below command in /etc/supervisor.conf and I want to run this command on regular intervals: ...
0
votes
1answer
889 views

Docker, Nginx and Supervisor nginx bind fail

I am trying to mount a server ready for production using Nginx, Docker and Supervisor. The problem I'm facing is, even if it works and I can see index.html in my browser, this error is showing all ...
1
vote
1answer
694 views

Superlance crashmail doesn't send email with custom mail program

I have supervisor running a program and when the program crashes, I would like crashmail to send me an email. I've created my own binary which sends mail and I would like crashmail to use this. If I ...
1
vote
2answers
178 views

FreeBSD: Starting PostgreSQL before other services

I run a python application on FreeBSD that uses PostgreSQL, Nginx, and UWSGI. UWSGI I manage with SupervisorD. My /etc/rc.conf looks like this: ... postgresql_enable="YES" nginx_enable="YES" ...