答复: Can't start ceph-mon through systemctl start ceph-mon@.service after upgrading from Hammer to Jewel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:vul@xxxxxxxxxxxxxx] 
发送时间: 2017年6月22日 14:26
收件人: 许雪寒; ceph-users@xxxxxxxxxxxxxx
主题: Re:  Can't start ceph-mon through systemctl start ceph-mon@.service 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 <ceph-users-bounces@xxxxxxxxxxxxxx> on behalf of 许雪寒 <xuxuehan@xxxxxx>
Sent: Thursday, 22 June 2017 3:32:45 PM
To: ceph-users@xxxxxxxxxxxxxx
Subject:  Can't start ceph-mon through systemctl start ceph-mon@.service 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
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux