Changes

From SME Server
Jump to navigationJump to search
419 bytes added ,  16:43, 5 March 2017
no edit summary
Line 220: Line 220:  
  /etc/rc.d/init.d/rh-mongodb26-mongos start
 
  /etc/rc.d/init.d/rh-mongodb26-mongos start
    +
==Mongod fails to start after reboot==
 +
 +
Sometimes it appears that mongo fails to start after a reboot.
 +
 +
This appears to be caused by a lock file
 +
 +
Remove the following files if they exist:
 +
 +
rm /var/opt/rh/rh-mongodb26/lib/mongodb/mongod.lock
 +
rm /var/opt/rh/rh-mongodb26/run/mongodb/mongod.pid
 +
 +
Restart the mongod service
 +
 +
service rh-mongodb26-mongod start
 +
 +
Restart the rocketchat service
 +
 +
service rocketchat restart
    
==Mongo DB examples==
 
==Mongo DB examples==

Navigation menu