I got an error when try to start ceph monitor,the start command is :
and the error message is blow:
here is my ceph configuration (/etc/ceph/ceph.conf):
service ceph start
and the error message is blow:
Code:
=== mon.nas ===
Starting Ceph mon.nas on nas...
2019-07-18 07:26:43.465 1410480 -1 open: failed to open pid file '/var/run/ceph/mon.nas.pid': (13) Permission denied
failed: 'ulimit -n 32768; /usr/local/bin/ceph-mon -i nas --pid-file /var/run/ceph/mon.nas.pid -c /usr/local/etc/ceph/ceph.conf --cluster ceph --setuser ceph --setgroup ceph '
/usr/local/lib/python2.7/site-packages/ceph_disk/main.py:5689: UserWarning:
Code:
[global]
fsid = bcc107da-a2f7-11e9-82e0-00e0b41c4980
public network = 192.168.122.0/24
osd pool default size = 1
osd pool default min size = 1
osd pool default pg num = 128
osd pool default pgp num = 128
osd journal size = 2048 ; journal size, in megabytes
[mon]
mon initial members = nas
mon host = nas
mon addr = 192.168.122.12
[mon.nas]
host = nas
mon addr = 192.168.122.12