SHARE
TWEET

Untitled

a guest Jan 5th, 2015 220 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. login as: ec2-user
  2. Authenticating with public key "imported-openssh-key"
  3. Last login: Mon Jan  5 18:18:29 2015 from 177.206.167.186.dynamic.adsl.gvt.net.b                                                                                        r
  4.  
  5.        __|  __|_  )
  6.        _|  (     /   Amazon Linux AMI
  7.       ___|\___|___|
  8.  
  9. https://aws.amazon.com/amazon-linux-ami/2013.03-release-notes/
  10. There are 86 security update(s) out of 319 total update(s) available
  11. Run "sudo yum update" to apply all updates.
  12. Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&ar                                                                                        ch=i386 error was
  13. 14: problem making ssl connection
  14. Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-debu                                                                                        g-6&arch=i386 error was
  15. 14: problem making ssl connection
  16. Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-sour                                                                                        ce-6&arch=i386 error was
  17. 14: problem making ssl connection
  18. Amazon Linux version 2014.09 is available.
  19. [ec2-user@ip-10-32-177-89 ~]$ sudo /etc/init.d/redis status
  20. redis-server dead but pid file exists
  21. [ec2-user@ip-10-32-177-89 ~]$ sudo /etc/init.d/redis stop
  22. [ec2-user@ip-10-32-177-89 ~]$ sudo /etc/init.d/redis start
  23. Starting redis-server:                                     [  OK  ]
  24. [ec2-user@ip-10-32-177-89 ~]$ sudo /etc/init.d/redis status
  25. redis-server dead but pid file exists
  26. [ec2-user@ip-10-32-177-89 ~]$ sudo /etc/init.d/redis help
  27. Usage: /etc/init.d/redis {start|stop|status|restart|condrestart|try-restart}
  28. [ec2-user@ip-10-32-177-89 ~]$ workon panfleteria
  29. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/supervisord restart
  30. Stopping supervisord:                                      [  OK  ]
  31. Starting supervisord: Unlinking stale socket /var/tmp/supervisor.sock
  32.                                                            [  OK  ]
  33. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/supervisord status
  34. supervisord (pid  8939) is running...
  35. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/supervisord
  36. Usage: /etc/init.d/supervisord {start|stop|status|restart|reload|force-reload|condrestart}
  37. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo supervisorctl
  38. celery_panf    RUNNING    pid 8946, uptime 0:00:41
  39. celery_salada  RUNNING    pid 8941, uptime 0:00:41
  40. celery_senhas  RUNNING    pid 8944, uptime 0:00:41
  41. celerycam      RUNNING    pid 8942, uptime 0:00:41
  42. gunicornpanf   RUNNING    pid 8943, uptime 0:00:41
  43. gunicornsalada RUNNING    pid 8945, uptime 0:00:41
  44. supervisor> restart
  45. Error: restart requires a process name
  46. restart <processname>                   Restart a process.
  47. restart <processname> <processname>     Restart multiple processes
  48. restart all                             Restart all processes
  49.   When all processes are restarted, they are started in
  50.   priority order (see config file)
  51. supervisor> restart all
  52.  
  53.  
  54.  
  55.  
  56.  
  57. ^C
  58. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo supervisorctl
  59. celery_panf    STOPPED    Jan 05 06:44 PM
  60. celery_salada  RUNNING    pid 8941, uptime 0:04:43
  61. celery_senhas  RUNNING    pid 8944, uptime 0:04:43
  62. celerycam      RUNNING    pid 8942, uptime 0:04:43
  63. gunicornpanf   RUNNING    pid 8943, uptime 0:04:43
  64. gunicornsalada RUNNING    pid 8945, uptime 0:04:43
  65. supervisor> start celery_panf
  66. ^C
  67. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo supervisorctl
  68. celery_panf    RUNNING    pid 9141, uptime 0:00:51
  69. celery_salada  RUNNING    pid 8941, uptime 0:05:46
  70. celery_senhas  RUNNING    pid 8944, uptime 0:05:46
  71. celerycam      RUNNING    pid 8942, uptime 0:05:46
  72. gunicornpanf   RUNNING    pid 8943, uptime 0:05:46
  73. gunicornsalada RUNNING    pid 8945, uptime 0:05:46
  74. supervisor> status
  75. celery_panf    RUNNING    pid 9141, uptime 0:01:07
  76. celery_salada  RUNNING    pid 8941, uptime 0:06:02
  77. celery_senhas  RUNNING    pid 8944, uptime 0:06:02
  78. celerycam      RUNNING    pid 8942, uptime 0:06:02
  79. gunicornpanf   RUNNING    pid 8943, uptime 0:06:02
  80. gunicornsalada RUNNING    pid 8945, uptime 0:06:02
  81. supervisor> exit
  82. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis status
  83. redis-server dead but pid file exists
  84. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis restart
  85. Stopping redis-server:                                     [FAILED]
  86. Starting redis-server:                                     [  OK  ]
  87. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis restart
  88. Stopping redis-server:                                     [  OK  ]
  89. Starting redis-server:                                     [  OK  ]
  90. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis restart
  91. Stopping redis-server:                                     [  OK  ]
  92. Starting redis-server:                                     [  OK  ]
  93. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis status
  94. redis-server (pid  9205) is running...
  95. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis status
  96. redis-server (pid  9205) is running...
  97. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis status
  98. redis-server (pid  9205) is running...
  99. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis status
  100. redis-server (pid  9205) is running...
  101. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/supervisord status
  102. supervisord (pid  8939) is running...
  103. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo /etc/init.d/redis status
  104. redis-server (pid  9205) is running...
  105. (panfleteria)[ec2-user@ip-10-32-177-89 panfleteria]$ sudo supervisorctl
  106. celery_panf    RUNNING    pid 9141, uptime 0:05:50
  107. celery_salada  RUNNING    pid 8941, uptime 0:10:45
  108. celery_senhas  RUNNING    pid 8944, uptime 0:10:45
  109. celerycam      RUNNING    pid 8942, uptime 0:10:45
  110. gunicornpanf   RUNNING    pid 8943, uptime 0:10:45
  111. gunicornsalada RUNNING    pid 8945, uptime 0:10:45
  112. supervisor>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top