Received: by 10.50.214.38 with SMTP id nx6mr722370igc.2.1352938475300; Wed, 14 Nov 2012 16:14:35 -0800 (PST) X-BeenThere: mongodb-user@googlegroups.com Received: by 10.50.156.225 with SMTP id wh1ls139613igb.43.canary; Wed, 14 Nov 2012 16:14:19 -0800 (PST) Received: by 10.50.91.165 with SMTP id cf5mr625223igb.4.1352938459351; Wed, 14 Nov 2012 16:14:19 -0800 (PST) Date: Wed, 14 Nov 2012 16:14:18 -0800 (PST) From: Van To: mongodb-user@googlegroups.com Message-Id: <588f3a55-1f86-4ed6-97af-d27332e962f6@googlegroups.com> Subject: ERROR: trying to write to non-master : when import data back to mongo MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2_31728063.1352938458906" ------=_Part_2_31728063.1352938458906 Content-Type: multipart/alternative; boundary="----=_Part_3_6533825.1352938458906" ------=_Part_3_6533825.1352938458906 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Using mongorestore and mongoimport getting the same error, cmd similar below mongorestore -d pets /path/to/pets ERROR: trying to write to non-master :27017 isMaster info: { ismaster: false, secondary: false, info: "can't get local.system.replset config from self or any seed (EMPTYCONFIG)", isreplicaset: true, maxBsonObjectSize: 16777216, localTime: new Date(1352938132314), ok: 1.0 } Could you tell me how to import data successfully? similar error when I did mongoimport. thanks ------=_Part_3_6533825.1352938458906 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Using mongorestore and mongoimport getting the same error, cmd similar below

mongorestore -d pets /path/to/pets


ERROR: trying to write to non-master <ip>:27017
isMaster info: { ismaster: false, secondary: false, info: "can't get local.system.replset config from self or any seed (EMPTYCONFIG)", isreplicaset: true, maxBsonObjectSize: 16777216, localTime: new Date(1352938132314), ok: 1.0 }

Could you tell me how to import data successfully?
similar error when I did mongoimport.

thanks

------=_Part_3_6533825.1352938458906-- ------=_Part_2_31728063.1352938458906--