Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Mongo with Bash Script

Hi,

I'm trying to generate mongodb data as json file into s3 bucket using bash script.

but i have some connection issue in scripting.

Error :

MongoDB shell version: 2.6.12
connecting to: localhost/test
2019-02-27T13:19:55.832+0000 DBClientCursor::init call() failed
2019-02-27T13:19:55.833+0000 Error: DBClientBase::findN: transport error: localhost:27017 ns: admin.$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo.js:148
exception: connect failed

Any Possible way to recover this error.

Thanks,

Mathan

1 Community Answers

Matillion Agent  

Kalyan Arangam —

Hi Mathan,

Where is this mongodb server located? is that on another server in AWS?

What command have you used?

If its a general mongodb question, you may post it in a mongodb forum for a quicker resolution.

Best
Kalyan

Post Your Community Answer

To add an answer please login