Did you previously edit the init scripts to look in your custom location?
Those could have been overwritten. As was mentioned, Jewel changed what
user the daemon runs as, but you said that you tested running the daemon
manually under the ceph user? Was this without sudo? It used to run as root
under Hammer and would have needed to be chown'd recursively to allow the
ceph user to run it.

On Thu, Jun 22, 2017, 4:39 AM 许雪寒 <[email protected]> wrote:

> 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
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to