Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. root@haproxy:/# ps aux | grep rsyslog
  2. root 420 0.0 0.1 8860 648 ? S+ 12:38 0:00 grep --color=auto rsyslog
  3.  
  4. root@haproxy:/# /usr/bin/supervisord
  5. /usr/lib/python2.7/dist-packages/supervisor/options.py:295: 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.
  6. 'Supervisord is running as root and it is searching '
  7. 2015-11-25 12:06:59,742 CRIT Supervisor running as root (no user in config file)
  8. 2015-11-25 12:06:59,743 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
  9. 2015-11-25 12:06:59,769 INFO RPC interface 'supervisor' initialized
  10. 2015-11-25 12:06:59,770 CRIT Server 'unix_http_server' running without any HTTP authentication checking
  11. 2015-11-25 12:06:59,770 INFO supervisord started with pid 211
  12. 2015-11-25 12:07:00,774 INFO spawned: 'rsyslog' with pid 214
  13. 2015-11-25 12:07:00,845 INFO exited: rsyslog (exit status 0; not expected)
  14. 2015-11-25 12:07:01,849 INFO spawned: 'rsyslog' with pid 232
  15. 2015-11-25 12:07:01,874 INFO exited: rsyslog (exit status 0; not expected)
  16. 2015-11-25 12:07:03,879 INFO spawned: 'rsyslog' with pid 243
  17. 2015-11-25 12:07:03,902 INFO exited: rsyslog (exit status 0; not expected)
  18. 2015-11-25 12:07:06,907 INFO spawned: 'rsyslog' with pid 254
  19. 2015-11-25 12:07:06,926 INFO exited: rsyslog (exit status 0; not expected)
  20. 2015-11-25 12:07:07,928 INFO gave up: rsyslog entered FATAL state, too many start retries too quickly
  21.  
  22. root@haproxy:/# ps aux | grep rsyslog
  23. syslog 435 0.1 0.2 116572 1208 ? Ssl 12:39 0:00 /usr/sbin/rsyslogd
  24. root 474 0.0 0.1 8860 648 ? S+ 12:39 0:00 grep --color=auto rsyslog
  25.  
  26. [supervisord]
  27. nodaemon=true
  28.  
  29. [program:rsyslog]
  30. command=service rsyslog start
  31. startsecs=5
  32.  
  33. service rsyslog start
  34.  
  35. [program:rsyslog]
  36. command=rsyslogd -n -c5
  37. autostart=true
  38. autorestart=true
  39. redirect_stderr=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement