I set mon_data to “/home/ceph/software/ceph/var/lib/ceph/mon”, and its owner 
has always been “ceph” since we were running Hammer.
And I also tried to set the permission to “777”, it also didn’t work.


发件人: Linh Vu [mailto:[email protected]] 
发送时间: 2017年6月22日 14:26
收件人: 许雪寒; [email protected]
主题: Re: [ceph-users] Can't start ceph-mon through systemctl start 
[email protected] after upgrading from Hammer to Jewel

Permissions of your mon data directory under /var/lib/ceph/mon/ might have 
changed as part of Hammer -> Jewel upgrade. Have you had a look there?
________________________________________
From: ceph-users <[email protected]> on behalf of 许雪寒 
<[email protected]>
Sent: Thursday, 22 June 2017 3:32:45 PM
To: [email protected]
Subject: [ceph-users] Can't start ceph-mon through systemctl start 
[email protected] after upgrading from Hammer to Jewel 
 
Hi, everyone.

I upgraded one of our ceph clusters from Hammer to Jewel. After upgrading, I 
can’t start ceph-mon through “systemctl start ceph-mon@ceph1”, while, on the 
other hand, I can start ceph-mon, either as user ceph or root, if I directly 
call “/usr/bin/ceph-mon –cluster ceph –id ceph1 –setuser ceph –setgroup ceph”. 
I looked “/var/log/messages”, and find that the reason systemctl can’t start 
ceph-mon is that ceph-mon can’t access its configured data directory. Why 
ceph-mon can’t access its data directory when its called by systemctl?
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to