Re: [mongodb-user] Version 2.2 - Unable to bring up mongo as a linux service, but starting mongod using the same option works

39 views
Skip to first unread message

Sam Millman

unread,
Nov 16, 2012, 3:42:28 AM11/16/12
to mongod...@googlegroups.com
What is in your service script, on centos I think you can find it under: /etc/init.d/mongod however you might need to do a little searching since I am not a centos user.


On 16 November 2012 00:40, Prakash Bala <praka...@gmail.com> wrote:

[root@tpmdb2 data]# cat /etc/issue

CentOS release 5.8 (Final)

Kernel \r on an \m

[root@tpmdb2 yum.repos.d]# service mongod start

Starting mongod: all output going to: /var/lib/mongo/mongod.log

forked process: 21105

 

 

Session terminated, killing shell... ...killed.

                                                           [FAILED]


Here are the lines I have in /etc/mongod.conf:

smallfiles=true                                                                                           

journal=true                                                                                              

auth=true                                                                                                 

#replSet=keymart/tpmdb1:27017,tpmdb2:27017,tpmdb3:27017

keyFile=/var/lib/mongo/keymart.key                                                                        

rest=true                                                                                                 

dbpath=/var/lib/mongo/data                                                                                


Has anybody faced a similar issue?


Thanks in advance,

Prakash


--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb

Reply all
Reply to author
Forward
0 new messages