Mongod is not stopping properly on Centos6.5

Just change the following line on function mongo_killproc() in mongod init script[line 94],
# vim /etc/init.d/mongod

local pid=`pidof ${procname}`

instead of

local pid=`pidofproc -p "${pid_file}" ${procname}`

Comments

Popular posts from this blog

Using a Linux server to route packets between two private networks

PHP Fatal error: Class 'JFactory' not found

KVM & Qemu