Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 514 Vote(s) - 3.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mongodb: Failed to connect to 127.0.0.1:27017, reason: errno:10061

#11
I started mongod in cmd,It threw error like C:\data\db\ not found.
Created folder then typed mongod
opened another cmd typed mongo it worked.
Reply

#12
I was also faced the same issue with mongodb 2.6.

What solved my problem was I just run **`mongod --repair`** command

and then start `mongod.exe`

It's worked for me
Reply

#13
Here are the steps to solve this issue:

1. Just go to your MongoDB bin folder and run the mongod.exe file.
2. Navigate to your mongodb bin folder via Command prompt and start mongo by typing "mongo"
Reply

#14
This is how I solved it, You can follow step by step here:


MongoDB Steps:

- Download the latest 64-bit MSI version of [MongoDB][1] for Windows.

- Run the installer (.msi file)

- Add it to your **PATH** of environment variables. it Should be from:
`C:\Program Files\MongoDB\Server\3.0\bin`


now Create a “\data\db” folder in **C:/** which is used by *mongodb* to store all data. You should have this folder:

C:\data\db

> Note: This is the default directory location expected by mongoDB,
> don’t create anywhere else

.

Finally, open command prompt and type:

>> mongod

You should see it asking for permissions (allow it) and then listen to a port.
After that is done, open another command prompt, leaving the previous one running the server.

Type in the new command prompt

>> mongo

You should see it display the version and connect to a test database.

This proves successful install!=)


[Reference link ][2]


[1]:

[To see links please register here]

[2]:
Reply

#15
Change file permission to 755 for the file:

/var/lib/mongodb/mongod.lock
Reply

#16
just create a folder

C:\data\db

Run below commands in command prompt

C:\Program Files\MongoDB\Server\3.4\bin>mongod

Open another command prompt

C:\Program Files\MongoDB\Server\3.4\bin>mongo







Reply

#17
first you run the command mongod and check weather the port 27017 has started or not if yes then hit the command mongo....and database will start.
Reply

#18
Under normal conditions, at least 3379 MB of disk space is needed. If you do not have that much space, to lower this requirement;

mongod.exe --smallfiles

This is not the only requirement. But this may be your problem.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through