Wednesday 15 April 2015

cpanel - MongoDB won't start as service -



cpanel - MongoDB won't start as service -

this question has reply here:

unable start mongodb local server 18 answers

i installed mongodb on centos dedicated server. when seek start mongodb service give me next error.

starting mongod: [failed]

when execute mongod receive.

2014-10-27t03:54:46.184+0100 [initandlisten] mongodb starting : pid=2566 port=27017 dbpath=/data/db 64-bit host=sv.redswitches.com 2014-10-27t03:54:46.184+0100 [initandlisten] db version v2.6.5 2014-10-27t03:54:46.184+0100 [initandlisten] git version: e99d4fcb4279c0279796f237aa92fe3b64560bf6 2014-10-27t03:54:46.184+0100 [initandlisten] build info: linux build8.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 smp fri jan 3 21:39:27 utc 2014 x86_64 boost_lib_version=1_49 2014-10-27t03:54:46.184+0100 [initandlisten] allocator: tcmalloc 2014-10-27t03:54:46.184+0100 [initandlisten] options: {} 2014-10-27t03:54:46.195+0100 [initandlisten] journal dir=/data/db/journal 2014-10-27t03:54:46.196+0100 [initandlisten] recover : no journal files present, no recovery needed 2014-10-27t03:54:46.233+0100 [initandlisten] error: listen(): bind() failed errno:98 address in utilize socket: 0.0.0.0:27017 2014-10-27t03:54:46.233+0100 [initandlisten] error: addr in utilize 2014-10-27t03:54:46.234+0100 [initandlisten] exiting 2014-10-27t03:54:46.234+0100 [initandlisten] dbexit: 2014-10-27t03:54:46.234+0100 [initandlisten] shutdown: going close listening sockets... 2014-10-27t03:54:46.234+0100 [initandlisten] shutdown: going flush diaglog... 2014-10-27t03:54:46.234+0100 [initandlisten] shutdown: going close sockets... 2014-10-27t03:54:46.234+0100 [initandlisten] shutdown: waiting fs preallocator... 2014-10-27t03:54:46.234+0100 [initandlisten] shutdown: lock final commit... 2014-10-27t03:54:46.234+0100 [initandlisten] shutdown: final commit... 2014-10-27t03:54:46.244+0100 [initandlisten] shutdown: closing files... 2014-10-27t03:54:46.244+0100 [initandlisten] closeallfiles() finished 2014-10-27t03:54:46.244+0100 [initandlisten] journalcleanup... 2014-10-27t03:54:46.244+0100 [initandlisten] removejournalfiles 2014-10-27t03:54:46.254+0100 [initandlisten] shutdown: removing fs lock... 2014-10-27t03:54:46.254+0100 [initandlisten] dbexit: exiting

i have tried re-install twice still nothing. have cpanel installed on server.

appears running:

error: listen(): bind() failed errno:98 address in utilize socket: 0.0.0.0:27017 2014-10-27t03:54:46.233+0100 [initandlisten] error: addr in use

another process using port mongo instance. seek running

mongo

from command line prompt see if can connect using mongodb shell utility. alternatively try

sudo netstat -tlnp | grep 27017

and see process using port 27017. on scheme it's mongo:

tcp 0 0 127.0.0.1:27017 0.0.0.0:* hear 25480/mongod

mongodb cpanel centos6

No comments:

Post a Comment