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}`
# vim /etc/init.d/mongod
local pid=`pidof ${procname}`
instead of
local pid=`pidofproc -p "${pid_file}" ${procname}`
Comments
Post a Comment