On 12/05/2013 09:16 AM, Jan Kalcic wrote:
It seems ceph-mon does not exit with success, in fact: ceph-node1 # sudo /usr/bin/ceph-mon -i ceph-node1 --pid-file /var/run/ceph/mon.ceph-node1.pid -c /etc/ceph/ceph.conf -d 2013-12-05 10:06:27.429602 7fe06baf9780 0 ceph version 0.72.1 (4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 35662 IO error: lock /var/lib/ceph/mon/ceph-ceph-node1/store.db/LOCK: Resource temporarily unavailable IO error: lock /var/lib/ceph/mon/ceph-ceph-node1/store.db/LOCK: Resource temporarily unavailable 2013-12-05 10:06:27.436295 7fe06baf9780 -1 failed to create new leveldb store ceph@ceph-node1:/var/run/ceph> sudo /usr/bin/ceph-mon -i ceph-node1 --pid-file /var/run/ceph/mon.ceph-node1.pid -c /etc/ceph/ceph.conf -d IO error: lock /var/lib/ceph/mon/ceph-ceph-node1/store.db/LOCK: Resource temporarily unavailable IO error: lock /var/lib/ceph/mon/ceph-ceph-node1/store.db/LOCK: Resource temporarily unavailable 2013-12-05 10:06:43.961756 7fd71d27c780 0 ceph version 0.72.1 (4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 36216 2013-12-05 10:06:43.964079 7fd71d27c780 -1 failed to create new leveldb store
This is oftentime a symptom of another monitor running with the same id, and the monitor you're trying to start is unable to acquire the lock.
Make sure /var/lib/ceph/mon/ceph-ceph-node1 exists and is a directory. Make sure you don't have any other monitor with id 'ceph-node1' running. If this error persists, set 'debug mon = 10' on ceph.conf, restart the monitor and send us the resulting log.
-Joao
Thanks, Jan _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-- Joao Eduardo Luis Software Engineer | http://inktank.com | http://ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com