Hi George,
Followed following steps:
1. rm -rf /var/lock/subsys/mongod
2.chown mongod:mongod /var/lib/mongo
3.service mongod stop
service mongod start
4.service mongod status
mongod dead but subsys locked
Still the same problem.Please check the attachment and let me know
the update.
Regards,
Kumaran T
George Niculae wrote:
On Mon, Mar 28, 2011 at 8:49 AM, Kumaran
<[email protected]> wrote:
Hi All,
In the build "sipXconfig (4.4.0- 2011-03-15EDT09:05:32 swift)"I
installed openACD for testing certain issue.Then I yum Updated to Latest
RPM.When I try to modify the user 200(Agent in Call Center line) setting
I got the warning message "Cannot connect to Call Center".I checked the
status and start the Mongo Db in Linux console and it shows the message
as below.
[root@stresstest ~]# service mongod status
mongod dead but subsys locked
Check /var/log/mongo/mongod.log for errors. As an workaround, change
permissions for /var/lib/mongodb to mongodb:
rm -rf /var/lock/subsys/mongod
chown mongodb:mongodb /var/lib/mongodb
service mongod stop
service mongod start
George
Mon Mar 28 12:13:11 sys info: Linux swift.hubler.us 2.6.35.10-72.fc14.x86_64 #1
SMP Mon Dec 20 21:14:22 UTC 2010 i686 BOOST_LIB_VERSION=1_39
**************
old lock file: /var/lib/mongo/mongod.lock. probably means unclean shutdown
recommend removing file and running --repair
see: http://dochub.mongodb.org/core/repair for more information
*************
Mon Mar 28 12:13:11 exception in initAndListen std::exception: old lock file,
terminating
Mon Mar 28 12:13:11 dbexit:
Mon Mar 28 12:13:11 shutdown: going to close listening sockets...
Mon Mar 28 12:13:11 shutdown: going to flush oplog...
Mon Mar 28 12:13:11 shutdown: going to close sockets...
Mon Mar 28 12:13:11 shutdown: waiting for fs preallocator...
Mon Mar 28 12:13:11 shutdown: closing all files...
Mon Mar 28 12:13:11 closeAllFiles() finished
Mon Mar 28 12:13:11 dbexit: really exiting now
Mon Mar 28 12:15:56 MongoDB starting : pid=8503 port=27017
dbpath=/var/lib/mongo 32-bit
** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
** see http://blog.mongodb.org/post/137788967/32-bit-limitations
Mon Mar 28 12:15:56 db version v1.6.3, pdfile version 4.5
Mon Mar 28 12:15:56 git version: nogitversion
Mon Mar 28 12:15:56 sys info: Linux swift.hubler.us 2.6.35.10-72.fc14.x86_64 #1
SMP Mon Dec 20 21:14:22 UTC 2010 i686 BOOST_LIB_VERSION=1_39
**************
old lock file: /var/lib/mongo/mongod.lock. probably means unclean shutdown
recommend removing file and running --repair
see: http://dochub.mongodb.org/core/repair for more information
*************
Mon Mar 28 12:15:56 exception in initAndListen std::exception: old lock file,
terminating
Mon Mar 28 12:15:56 dbexit:
Mon Mar 28 12:15:56 shutdown: going to close listening sockets...
Mon Mar 28 12:15:56 shutdown: going to flush oplog...
Mon Mar 28 12:15:56 shutdown: going to close sockets...
Mon Mar 28 12:15:56 shutdown: waiting for fs preallocator...
Mon Mar 28 12:15:56 shutdown: closing all files...
Mon Mar 28 12:15:56 closeAllFiles() finished
Mon Mar 28 12:15:56 dbexit: really exiting now
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/