2/25/2023 0 Comments Install supervisord centos 7![]() ![]() ![]() ├─2209 /usr/bin/python /usr/bin/supervisord -c /etc/nf Process: 2206 ExecStart=/usr/bin/supervisord -c /etc/nf (code=exited, status=0/SUCCESS)ĬGroup: /system.slice/rvice Loaded: loaded (/usr/lib/systemd/system/rvice disabled vendor preset: disabled)Īctive: active (running) since Thu 16:54:22 UTC 3s ago rvice - Process Monitoring and Control Daemon.So, run it as below ~]# systemctl start ~]# systemctl status supervisord The command ‘supervisorctl reread’ will run properly if the supervisor service is currently running. If it is not, just run the command for running the supervisor service. ![]() Just make sure the supervisor service is running. This is a simple mistake where the supervisor service is not active and triggering the error. But in order for supervisor to do that, the supervisor service must be active and running while in this case it is not. The error appear as soon as the installation of ‘supervisor’ is in a success as in the article in this link, changing the supervisor configuration file and execution the ‘supervisor reread’ command to instruct supervisor to read the changes exist in it. In this case, there is a command execution using ‘supervisor’. So, the problem which is causing the problem above is just a matter of command sequence execution. Well, it does not have any direct impact to the error appear, but the command ‘supervisorctl reread’ is a command useful to instruct supervisor to read again the changes exist in the supervisor configuration file. ![]() Stdout_logfile=/var/log/gunicorn/Įnvironment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8 It is a command execution after configuring or changing the supervisor configuration file exist by adding the following entries in the bottom part of the file with the ‘program:gunicorn’ block :Ĭommand=/home/django/project/env/bin/gunicorn -workers 3 -bind unix:/home/django/project/myapps/apps.sock gi:application Normally, that yum configuration file exist in /etc/yum.conf. Error:, No such file or directory: file: /usr/lib64/python2.7/socket.py line: etc]#Īfter the installation of the supervisor tool is a success, there is an additional step to change the supervisor configuration file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |