MongoDB thinks it's running a replica? -


i'm running mongodb (version 2.4) behind django application served apache.

in past few days, i'm seeing following error come many times hour in apache logs, on sorts of different requests:

autoreconnect: not master , slaveok=false 

i did not explicitly create replica, , best of knowledge not running one. rs.status() says not running --replset.

mongo run with:

'mongod --dbpath /srv/db/mongodb/ --fork --logpath /var/log/mongodb.log --logappend --auth' 

there 1 mongod process running on server.

what's going on here?


edit - here's tail end of stack trace, requested.

file "/var/www/sefaria_dev/sefaria/texts.py", line 916, in parse_ref   shorthand = db.index.find_one({"maps": {"$elemmatch": {"from": pref["book"]}}}) file "/usr/local/lib/python2.7/dist-packages/pymongo/collection.py", line 604, in find_one   result in self.find(spec_or_id, *args, **kwargs).limit(-1): file "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 904, in next   if len(self.__data) or self._refresh(): file "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 848, in _refresh   self.__uuid_subtype)) file "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 800, in __send_message   self.__uuid_subtype) file "/usr/local/lib/python2.7/dist-packages/pymongo/helpers.py", line 98, in _unpack_response   raise autoreconnect(error_object["$err"]) autoreconnect: not master , slaveok=false  

rs.status() returns:

{    "ok" : 0,    "errmsg" : "not running --replset" } 

rs.conf() returns null.

i haven't seen indication of error in mongodb.log corresponds 1 of apache.log errors.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -