edx mongodb error

303 views
Skip to first unread message

Avadhut Sonawane

unread,
Oct 25, 2016, 10:54:29 AM10/25/16
to General Open edX discussion
 Hi All,

I have install edx eucalyptus.2 release on AWS ec2 instance.

I am getting errors similar to below while performing any courseware save operation in CMS.

Below is o/p of the /edx/var/log/supervisor/cms-stderr.log


2016-10-25 10:41:24,889 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent pre_publish signal to <function on_pre_publish at 0x7fcf0af527d0> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: None
2016-10-25 10:41:40,537 INFO 28939 [openedx.core.lib.block_structure.cache] cache.py:120 - Deleted BlockStructure BlockUsageLocator(CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None), 'course', 'course') from the cache.
2016-10-25 10:42:27,452 INFO 28939 [openedx.core.djangoapps.content.course_overviews.models] models.py:121 - Creating course overview for course-v1:edX+DemoX+Demo_Course.
2016-10-25 10:42:43,099 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function listen_for_course_publish at 0x7fcf0af23488> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: [Errno 104] Connection reset by peer
2016-10-25 10:42:43,100 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function _listen_for_course_publish at 0x7fcf0af48578> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: [Errno 104] Connection reset by peer
2016-10-25 10:42:43,101 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function _listen_for_course_publish at 0x7fcf0aaf79b0> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: [Errno 104] Connection reset by peer
2016-10-25 10:42:43,101 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function _listen_for_course_publish at 0x7fcf0909b050> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: [Errno 104] Connection reset by peer
2016-10-25 10:42:43,101 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function listen_for_course_publish at 0x7fcf07b82140> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: None
2016-10-25 10:42:43,101 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function _listen_for_course_publish at 0x7fcf07b82488> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: None
2016-10-25 10:42:43,101 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function _listen_for_course_publish at 0x7fcf07b829b0> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: None
2016-10-25 10:42:43,101 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7fcf07b82b90> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: [Errno 104] Connection reset by peer
2016-10-25 10:42:43,102 INFO 28939 [xmodule.modulestore.django] django.py:116 - Sent course_published signal to <function _listen_for_course_publish at 0x7fcf07b82b18> with kwargs {'course_key': CourseLocator(u'edX', u'DemoX', u'Demo_Course', None, None)}. Response was: None

I have checked below:
mongodb is running.
certs service keeps restarting at some time interval (but no abnormal termination)

Thanks in advance!

Thanks
Avadhut

Vinayak Bhat

unread,
Oct 31, 2016, 1:13:30 AM10/31/16
to General Open edX discussion
I had this problem too. I see these logs/failure whenever I move to a new aws instance. I solve it by running the steps mentioned in this post https://groups.google.com/d/msg/openedx-ops/1SsdJ39IQRc/xx5Vsw9vJnIJ
To repeat the steps:
1)sudo rabbitmqctl add_user celery celery
2)sudo rabbitmqctl set_permissions celery ".*" ".*" ".*"
3)sudo service rabbitmq-server restart

Please go through the original link to get description of what the problem is about and what the steps are about. Also there is information about security tips on a production environment. 

Happy Diwali!
Reply all
Reply to author
Forward
0 new messages