Facebook
From mambns, 1 Month ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 145
  1. root@backend-5d4bb8c4d8-95tp2:/var/www/html# cd /etc/
  2. root@backend-5d4bb8c4d8-95tp2:/etc# ls
  3. 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
  4. 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
  5. 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
  6. 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
  7. root@backend-5d4bb8c4d8-95tp2:/etc# cd sub
  8. subgid  subuid  
  9. root@backend-5d4bb8c4d8-95tp2:/etc# cd sub
  10. subgid  subuid  
  11. root@backend-5d4bb8c4d8-95tp2:/etc# cd sub
  12. subgid  subuid  
  13. root@backend-5d4bb8c4d8-95tp2:/etc# apt-get install supervisor
  14. Reading package lists... Done
  15. Building dependency tree... Done
  16. Reading state information... Done
  17. Suggested packages:
  18.   supervisor-doc
  19. The following NEW packages will be installed:
  20.   supervisor
  21. 0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
  22. Need to get 309 kB of archives.
  23. After this operation, 1738 kB of additional disk space will be used.
  24. Get:1 http://deb.debian.org/debian bullseye/main amd64 supervisor all 4.2.2-2 [309 kB]
  25. Fetched 309 kB in 0s (4024 kB/s)  
  26. debconf: delaying package configuration, since apt-utils is not installed
  27. Selecting previously unselected package supervisor.
  28. (Reading database ... 36005 files and directories currently installed.)
  29. Preparing to unpack .../supervisor_4.2.2-2_all.deb ...
  30. Unpacking supervisor (4.2.2-2) ...
  31. Setting up supervisor (4.2.2-2) ...
  32. invoke-rc.d: could not determine current runlevel
  33. invoke-rc.d: policy-rc.d denied execution of start.
  34. Created symlink /etc/systemd/system/multi-user.target.wants/supervisor.service → /lib/systemd/system/supervisor.service.
  35. root@backend-5d4bb8c4d8-95tp2:/etc# cd /etc/supervisor/
  36. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# ls
  37. conf.d  supervisord.conf
  38. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# nano supervisord.conf
  39. bash: nano: command not found
  40. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# vim supervisord.conf
  41. bash: vim: command not found
  42. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# apt-get install vim
  43. Reading package lists... Done
  44. Building dependency tree... Done
  45. Reading state information... Done
  46. The following additional packages will be installed:
  47.   vim-common vim-runtime xxd
  48. Suggested packages:
  49.   ctags vim-doc vim-scripts
  50. The following NEW packages will be installed:
  51.   vim vim-common vim-runtime xxd
  52. 0 upgraded, 4 newly installed, 0 to remove and 33 not upgraded.
  53. Need to get 8138 kB of archives.
  54. After this operation, 36.9 MB of additional disk space will be used.
  55. Do you want to continue? [Y/n]
  56. Get:1 http://deb.debian.org/debian bullseye/main amd64 xxd amd64 2:8.2.2434-3+deb11u1 [192 kB]
  57. Get:2 http://deb.debian.org/debian bullseye/main amd64 vim-common all 2:8.2.2434-3+deb11u1 [226 kB]
  58. Get:3 http://deb.debian.org/debian bullseye/main amd64 vim-runtime all 2:8.2.2434-3+deb11u1 [6226 kB]
  59. Get:4 http://deb.debian.org/debian bullseye/main amd64 vim amd64 2:8.2.2434-3+deb11u1 [1494 kB]
  60. Fetched 8138 kB in 0s (36.2 MB/s)
  61. debconf: delaying package configuration, since apt-utils is not installed
  62. Selecting previously unselected package xxd.
  63. (Reading database ... 36148 files and directories currently installed.)
  64. Preparing to unpack .../xxd_2:8.2.2434-3+deb11u1_amd64.deb ...
  65. Unpacking xxd (2:8.2.2434-3+deb11u1) ...
  66. Selecting previously unselected package vim-common.
  67. Preparing to unpack .../vim-common_2:8.2.2434-3+deb11u1_all.deb ...
  68. Unpacking vim-common (2:8.2.2434-3+deb11u1) ...
  69. Selecting previously unselected package vim-runtime.
  70. Preparing to unpack .../vim-runtime_2:8.2.2434-3+deb11u1_all.deb ...
  71. Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime'
  72. Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime'
  73. Unpacking vim-runtime (2:8.2.2434-3+deb11u1) ...
  74. Selecting previously unselected package vim.
  75. Preparing to unpack .../vim_2:8.2.2434-3+deb11u1_amd64.deb ...
  76. Unpacking vim (2:8.2.2434-3+deb11u1) ...
  77. Setting up xxd (2:8.2.2434-3+deb11u1) ...
  78. Setting up vim-common (2:8.2.2434-3+deb11u1) ...
  79. Setting up vim-runtime (2:8.2.2434-3+deb11u1) ...
  80. Setting up vim (2:8.2.2434-3+deb11u1) ...
  81. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
  82. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
  83. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
  84. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
  85. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. Processing triggers for hicolor-icon-theme (0.17-2) ...
  122. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# vim supervisord.conf
  123. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor# cd conf.d/
  124. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# '
  125. > exit
  126. > ^C
  127. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# touch messenger-consume.conf
  128. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
  129. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor reload
  130. Usage: /etc/init.d/supervisord {start|stop|restart|force-reload|status}
  131. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor status
  132. supervisord is  not running.
  133. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor start
  134. Starting supervisor: supervisord.
  135. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisor status
  136. bash: supervisor: command not found
  137. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor status
  138. supervisord is running
  139. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl messenger-consumer:start
  140. *** Unknown syntax: messenger-consumer:start
  141. (arg: 4) supervisorctl start messenger-^Cnsumer:
  142. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consumer:*    
  143. messenger-consumer: ERROR (no such group)
  144. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
  145. messenger-consume:messenger-consume_00: ERROR (spawn error)
  146. messenger-consume:messenger-consume_01: ERROR (spawn error)
  147. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# php /var/www/html/bin/console messenger:consume async --time-limit=3600
  148.  
  149.                                                                                                                        
  150.  [OK] Consuming messages from transport "async".                                                                        
  151.                                                                                                                        
  152.  
  153.  // The worker will automatically exit once it has been running for 3600s or received a stop signal via the            
  154.  // messenger:stop-workers command.                                                                                    
  155.  
  156.  // Quit the worker with CONTROL-C.                                                                                    
  157.  
  158.  // Re-run the command with a -vv option to see logs about consumed messages.                                          
  159.  
  160. ^C
  161. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
  162. messenger-consume:messenger-consume_00: ERROR (spawn error)
  163. messenger-consume:messenger-consume_01: ERROR (spawn error)
  164. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor status
  165. supervisord is running
  166. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
  167. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
  168. messenger-consume:messenger-consume_00: ERROR (spawn error)
  169. messenger-consume:messenger-consume_01: ERROR (spawn error)
  170. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor reload
  171. Usage: /etc/init.d/supervisord {start|stop|restart|force-reload|status}
  172. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor stop  
  173. Stopping supervisor: supervisord.
  174. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor start
  175. Starting supervisor: supervisord.
  176. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
  177. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl status
  178. messenger-consume:messenger-consume_00   BACKOFF   Exited too quickly (process log may have details)
  179. messenger-consume:messenger-consume_01   FATAL     Exited too quickly (process log may have details)
  180. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# ls
  181. messenger-consume.conf
  182. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# cd .//
  183. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# ls
  184. messenger-consume.conf
  185. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -f messenger-consume
  186. Error: option -f not recognized
  187. For help, use /usr/bin/supervisorctl -h
  188. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-consume
  189. ==> Press Ctrl-C to exit <==
  190. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  191. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -c /etc/supervisor/supervisord.conf
  192. messenger-consume:messenger-consume_00   STARTING  
  193. messenger-consume:messenger-consume_01   FATAL     Exited too quickly (process log may have details)
  194. supervisor>
  195. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -c /etc/supervisor/supervisord.conf
  196. messenger-consume:messenger-consume_00   BACKOFF   Exited too quickly (process log may have details)
  197. messenger-consume:messenger-consume_01   FATAL     Exited too quickly (process log may have details)
  198. supervisor>
  199. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-consume
  200. ==> Press Ctrl-C to exit <==
  201. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  202. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
  203.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  204. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  205.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  206. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  207. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl -c /etc/supervisor/supervisord.conf
  208. messenger-consume:messenger-consume_00   STARTING  
  209. messenger-consume:messenger-consume_01   FATAL     Exited too quickly (process log may have details)
  210. supervisor>
  211. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-consume
  212. ==> Press Ctrl-C to exit <==
  213. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  214. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# vim messenger-consume.conf
  215.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  216. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  217.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  218. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  219. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl reload                  
  220. Restarted supervisord
  221.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  222. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  223.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  224. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  225. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor stop
  226. Stopping supervisor: supervisord.
  227. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# service supervisor start
  228. Starting supervisor: supervisord.
  229. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl start messenger-consume:*
  230. messenger-consume:messenger-consume_00: ERROR (spawn error)
  231.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  232. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  233.  root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# supervisorctl tail -f messenger-c> Press Ctrl-C to exit <==
  234. unix:///var/run/supervisor.sock/logtail/messenger-consume/stdout Cannot read, status code 404
  235. root@backend-5d4bb8c4d8-95tp2:/etc/supervisor/conf.d# cd
  236. root@backend-5d4bb8c4d8-95tp2:~# ls
  237. root@backend-5d4bb8c4d8-95tp2:~# cd /
  238. root@backend-5d4bb8c4d8-95tp2:/# ls
  239. bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
  240. root@backend-5d4bb8c4d8-95tp2:/# cd /usr/
  241. root@backend-5d4bb8c4d8-95tp2:/usr# ls
  242. bin  games  include  lib  libexec  local  sbin  share  src
  243. root@backend-5d4bb8c4d8-95tp2:/usr# cd lib
  244. root@backend-5d4bb8c4d8-95tp2:/usr/lib# ls
  245. 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
  246. root@backend-5d4bb8c4d8-95tp2:/usr/lib# cd
  247. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord
  248. /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.
  249.   self.warnings.warn(
  250. 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.
  251. For help, use /usr/bin/supervisord -h
  252. root@backend-5d4bb8c4d8-95tp2:~# service supervisor stop
  253. Stopping supervisor: supervisord.
  254. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord
  255. /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.
  256.   self.warnings.warn(
  257. Unlinking stale socket /var/run/supervisor.sock
  258. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d/
  259. Error: could not read config file /etc/supervisor/conf.d/
  260. For help, use /usr/bin/supervisord -h
  261. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d/messenger-consume.conf
  262. Error: .ini file does not include supervisord section
  263. For help, use /usr/bin/supervisord -h
  264. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d
  265. Error: could not read config file /etc/supervisor/conf.d
  266. For help, use /usr/bin/supervisord -h
  267. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
  268. Error: could not find config file /etc/supervisor/conf.d/supervisord.conf
  269. For help, use /usr/bin/supervisord -h
  270. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
  271. 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.
  272. For help, use /usr/bin/supervisord -h
  273. root@backend-5d4bb8c4d8-95tp2:~# service supervisor stop
  274. Stopping supervisor: supervisord.
  275. root@backend-5d4bb8c4d8-95tp2:~# /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
  276. root@backend-5d4bb8c4d8-95tp2:~# supervisorctl start messenger-consume:*
  277. root@backend-5d4bb8c4d8-95tp2:~# supervisorctl status
  278. messenger-consume:messenger-consume_00   RUNNING   pid 6745, uptime 0:00:31
  279. messenger-consume:messenger-consume_01   RUNNING   pid 6746, uptime 0:00:31
  280. root@backend-5d4bb8c4d8-95tp2:~#