WebFaction
Community site: login faq

Hey, I'm trying to install the MongoDB in mod_wsgi 3.4/Python 3.3 application. I was following the instructions here: http://docs.webfaction.com/software/mongodb.html but at the first time I had to interrupt the process using Ctrl + C. Now I'm trying to follow the instructions again but I'm getting this error message:

Fri Jan  3 16:46:15.528 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:19590
Fri Jan  3 16:46:15.528 [initandlisten] ERROR:   addr already in use

But there are no mongodb instances running, I've checked the processes:

[kamillahc@web330 mypersonalpage]$ ps wuax | grep mongo
953       894371  0.0  0.0 103248   884 pts/12   S+   16:53   0:00 grep mongo

I already tried:

  • delete the app and create a new one;
  • the command: mongo_path/bin/mongod --shutdown and I have this result:

    [kamillahc@web330 mypersonalpage]$ mongodb-linux-x86_64-2.4.8/bin/mongod --shutdown There doesn't seem to be a server running with dbpath: /data/db/

What should I do to install the MongoDB correctly?

Thank you!

asked 03 Jan '14, 10:57

Kamilla
122
accept rate: 0%


You have an Apache instance running on port 19590, so you can't use that port for MongoDB. Instead, create a 'custom app listening on port' application and use that port for mongo.

Hope that helps!

permanent link

answered 03 Jan '14, 11:59

seanf
12.2k41836
accept rate: 37%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×29

question asked: 03 Jan '14, 10:57

question was seen: 4,135 times

last updated: 03 Jan '14, 11:59

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM