- root@backend-5d4bb8c4d8-95tp2:/var/www/html# cd /etc/
- root@backend-5d4bb8c4d8-95tp2:/etc# ls
- ImageMagick-6 apt binfmt.d cron.daily debian_version dictionaries-common environment gai.conf gshadow host.conf inputrc ld.so.cache libpaper.d machine-id mke2fs.conf netconfig pam.conf passwd- python3 rc2.d rc6.d security shells subgid terminfo ucf.conf
- X11 bash.bashrc ca-certificates dbus-1 default dpkg environment.d ghostscript gshadow- hostname issue ld.so.conf localtime magic modules-load.d nsswitch.conf pam.d perl python3.9 rc3.d rcS.d selinux skel subuid test.sh update-motd.d
- adduser.conf bash_completion.d ca-certificates.conf dconf deluser.conf e2scrub.conf fonts group gss hosts issue.net ld.so.conf.d login.defs magic.mime motd opt papersize profile rc0.d rc4.d resolv.conf shadow ssh sysctl.d timezone xattr.conf
- alternatives bindresvport.blacklist cron.d debconf.conf dhcp emacs fstab group- gtk-3.0 init.d kernel libaudit.conf logrotate.d mime.types mysql os-release passwd profile.d rc1.d rc5.d rmt shadow- ssl systemd tmpfiles.d xdg
- root@backend-5d4bb8c4d8-95tp2:/etc# cd sub
- subgid subuid
- root@backend-5d4bb8c4d8-95tp2:/etc# cd sub
- subgid subuid
- root@backend-5d4bb8c4d8-95tp2:/etc# cd sub
- subgid subuid
- root@backend-5d4bb8c4d8-95tp2:/etc# apt-get install supervisor
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- Suggested packages:
- supervisor-doc
- The following NEW packages will be installed:
- supervisor
- 0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
- Need to get 309 kB of archives.
- After this operation, 1738 kB of additional disk space will be used.
- Get:1 http://deb.debian.org/debian bullseye/main amd64 supervisor all 4.2.2-2 [309 kB]
- Fetched 309 kB in 0s (4024 kB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package supervisor.
- (Reading database ... 36005 files and directories currently installed.)
- Preparing to unpack .../supervisor_4.2.2-2_all.deb ...
- Unpacking supervisor (4.2.2-2) ...
- Setting up supervisor (4.2.2-2) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Created symlink /etc/systemd/system/multi-user.target.wants/supervisor.service → /lib/systemd/system/supervisor.service.
- root@backend-5d4bb8c4d8-95tp2:/etc# cd /etc/supervisor/
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# ls
- conf.d supervisord.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# nano supervisord.conf
- bash: nano: command not found
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# vim supervisord.conf
- bash: vim: command not found
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# apt-get install vim
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following additional packages will be installed:
- vim-common vim-runtime xxd
- Suggested packages:
- ctags vim-doc vim-scripts
- The following NEW packages will be installed:
- vim vim-common vim-runtime xxd
- 0 upgraded, 4 newly installed, 0 to remove and 33 not upgraded.
- Need to get 8138 kB of archives.
- After this operation, 36.9 MB of additional disk space will be used.
- Do you want to continue? [Y/n]
- Get:1 http://deb.debian.org/debian bullseye/main amd64 xxd amd64 2:8.2.2434-3+deb11u1 [192 kB]
- Get:2 http://deb.debian.org/debian bullseye/main amd64 vim-common all 2:8.2.2434-3+deb11u1 [226 kB]
- Get:3 http://deb.debian.org/debian bullseye/main amd64 vim-runtime all 2:8.2.2434-3+deb11u1 [6226 kB]
- Get:4 http://deb.debian.org/debian bullseye/main amd64 vim amd64 2:8.2.2434-3+deb11u1 [1494 kB]
- Fetched 8138 kB in 0s (36.2 MB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package xxd.
- (Reading database ... 36148 files and directories currently installed.)
- Preparing to unpack .../xxd_2:8.2.2434-3+deb11u1_amd64.deb ...
- Unpacking xxd (2:8.2.2434-3+deb11u1) ...
- Selecting previously unselected package vim-common.
- Preparing to unpack .../vim-common_2:8.2.2434-3+deb11u1_all.deb ...
- Unpacking vim-common (2:8.2.2434-3+deb11u1) ...
- Selecting previously unselected package vim-runtime.
- Preparing to unpack .../vim-runtime_2:8.2.2434-3+deb11u1_all.deb ...
- Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime'
- Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime'
- Unpacking vim-runtime (2:8.2.2434-3+deb11u1) ...
- Selecting previously unselected package vim.
- Preparing to unpack .../vim_2:8.2.2434-3+deb11u1_amd64.deb ...
- Unpacking vim (2:8.2.2434-3+deb11u1) ...
- Setting up xxd (2:8.2.2434-3+deb11u1) ...
- Setting up vim-common (2:8.2.2434-3+deb11u1) ...
- Setting up vim-runtime (2:8.2.2434-3+deb11u1) ...
- Setting up vim (2:8.2.2434-3+deb11u1) ...
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/da/man1/vi.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/de/man1/vi.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/fr/man1/vi.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/it/man1/vi.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ja/man1/vi.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/pl/man1/vi.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ru/man1/vi.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/vi.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group vi) doesn't exist
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/da/man1/view.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/de/man1/view.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ja/man1/view.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn't exist
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/da/man1/ex.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/de/man1/ex.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/fr/man1/ex.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/it/man1/ex.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ja/man1/ex.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/pl/man1/ex.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ru/man1/ex.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/ex.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group ex) doesn't exist
- update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/da/man1/editor.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/de/man1/editor.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/fr/man1/editor.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/it/man1/editor.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ja/man1/editor.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/pl/man1/editor.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/ru/man1/editor.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group editor) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group editor) doesn't exist
- Processing triggers for hicolor-icon-theme (0.17-2) ...
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# vim supervisord.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# cd conf.d/
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# '
- > exit
- > ^C
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# touch messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor reload
- Usage: /etc/init.d/supervisord {start|stop|restart|force-reload|status}
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor status
- supervisord is not running.
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor start
- Starting supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisor status
- bash: supervisor: command not found
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor status
- supervisord is running
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl messenger-consumer:start
- *** Unknown syntax: messenger-consumer:start
- (arg: 4) supervisorctl start messenger-^Cnsumer:
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consumer:*
- messenger-consumer: ERROR (no such group)
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
- messenger-consume:messenger-consume_00: ERROR (spawn error)
- messenger-consume:messenger-consume_01: ERROR (spawn error)
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# php /var/www/html/bin/console messenger:consume async --time-limit=3600
- [OK] Consuming messages from transport "async".
- // The worker will automatically exit once it has been running for 3600s or received a stop signal via the
- // messenger:stop-workers command.
- // Quit the worker with CONTROL-C.
- // Re-run the command with a -vv option to see logs about consumed messages.
- ^C
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
- messenger-consume:messenger-consume_00: ERROR (spawn error)
- messenger-consume:messenger-consume_01: ERROR (spawn error)
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor status
- supervisord is running
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
- messenger-consume:messenger-consume_00: ERROR (spawn error)
- messenger-consume:messenger-consume_01: ERROR (spawn error)
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor reload
- Usage: /etc/init.d/supervisord {start|stop|restart|force-reload|status}
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor stop
- Stopping supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor start
- Starting supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl status
- messenger-consume:messenger-consume_00 BACKOFF Exited too quickly (process log may have details)
- messenger-consume:messenger-consume_01 FATAL Exited too quickly (process log may have details)
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# ls
- messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# cd .//
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# ls
- messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -f messenger-consume
- Error: option -f not recognized
- For help, use /usr/bin/supervisorctl -h
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-consume
- ==> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -c /etc/supervisor/supervisord.conf
- messenger-consume:messenger-consume_00 STARTING
- messenger-consume:messenger-consume_01 FATAL Exited too quickly (process log may have details)
- supervisor>
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -c /etc/supervisor/supervisord.conf
- messenger-consume:messenger-consume_00 BACKOFF Exited too quickly (process log may have details)
- messenger-consume:messenger-consume_01 FATAL Exited too quickly (process log may have details)
- supervisor>
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-consume
- ==> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -c /etc/supervisor/supervisord.conf
- messenger-consume:messenger-consume_00 STARTING
- messenger-consume:messenger-consume_01 FATAL Exited too quickly (process log may have details)
- supervisor>
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-consume
- ==> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl reload
- Restarted supervisord
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor stop
- Stopping supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor start
- Starting supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
- messenger-consume:messenger-consume_00: ERROR (spawn error)
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
- unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
- root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# cd
- root@backend-5d4bb8c4d8-95tp2:~# ls
- root@backend-5d4bb8c4d8-95tp2:~# cd /
- root@backend-5d4bb8c4d8-95tp2:/# ls
- bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
- root@backend-5d4bb8c4d8-95tp2:/# cd /usr/
- root@backend-5d4bb8c4d8-95tp2:/usr# ls
- bin games include lib libexec local sbin share src
- root@backend-5d4bb8c4d8-95tp2:/usr# cd lib
- root@backend-5d4bb8c4d8-95tp2:/usr/lib# ls
- X11 apt aspell bfd-plugins binfmt.d compat-ld dbus-1.0 dpkg emacsen-common environment.d file gcc git-core gold-ld ispell kernel libnetpbm.so.10 libnetpbm.so.10.0 locale mime modules-load.d openssh os-release pam.d pkg-config.multiarch pkgconfig python3 python3.9 sasl2 ssl sysctl.d systemd sysusers.d tmpfiles.d udev valgrind x86_64-linux-gnu
- root@backend-5d4bb8c4d8-95tp2:/usr/lib# cd
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord
- /usr/lib/python3/dist-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
- self.warnings.warn(
- Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
- For help, use /usr/bin/supervisord -h
- root@backend-5d4bb8c4d8-95tp2:~# service supervisor stop
- Stopping supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord
- /usr/lib/python3/dist-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
- self.warnings.warn(
- Unlinking stale socket /var/run/supervisor.sock
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d/
- Error: could not read config file /etc/supervisor/conf.d/
- For help, use /usr/bin/supervisord -h
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d/messenger-consume.conf
- Error: .ini file does not include supervisord section
- For help, use /usr/bin/supervisord -h
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d
- Error: could not read config file /etc/supervisor/conf.d
- For help, use /usr/bin/supervisord -h
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
- Error: could not find config file /etc/supervisor/conf.d/supervisord.conf
- For help, use /usr/bin/supervisord -h
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
- Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
- For help, use /usr/bin/supervisord -h
- root@backend-5d4bb8c4d8-95tp2:~# service supervisor stop
- Stopping supervisor: supervisord.
- root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
- root@backend-5d4bb8c4d8-95tp2:~# supervisorctl start messenger-consume:*
- root@backend-5d4bb8c4d8-95tp2:~# supervisorctl status
- messenger-consume:messenger-consume_00 RUNNING pid 6745, uptime 0:00:31
- messenger-consume:messenger-consume_01 RUNNING pid 6746, uptime 0:00:31
- root@backend-5d4bb8c4d8-95tp2:~#