Re: permission denied, unable to bind socket

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

 



Ok I fixed the address error. The service is able to start now. ceph -s hangs though.

gentooserver ~ # ceph -s
^CError EINTR: problem getting command descriptions from mon.

I'm not sure how to fix the permissions issue. /var/run/ceph is a temporary directory so I can't just chown it.

On Sat, Jan 6, 2018 at 7:40 PM, Nathan Dehnel <ncdehnel@xxxxxxxxx> wrote:
So I'm following the guide at http://docs.ceph.com/docs/master/install/manual-deployment/

ceph-mon@gentooserver.service fails.

Jan 06 19:12:40 gentooserver systemd[1]: Started Ceph cluster monitor daemon.
Jan 06 19:12:41 gentooserver ceph-mon[2674]: warning: unable to create /var/run/ceph: (13) Permission denied
Jan 06 19:12:41 gentooserver ceph-mon[2674]: 2018-01-06 19:12:41.000507 7f3163008f80 -1 asok(0x563d0f97d2c0) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-mon.gentooserver.asok': (2) No such file or directory
Jan 06 19:12:41 gentooserver ceph-mon[2674]: 2018-01-06 19:12:41.152781 7f3163008f80 -1  Processor -- bind unable to bind to [2001:1c:d64b:91c5:3a84:dfce:8546:998]:6789/0: (99) Cannot assign requested address
Jan 06 19:12:41 gentooserver ceph-mon[2674]: 2018-01-06 19:12:41.152789 7f3163008f80 -1  Processor -- bind was unable to bind. Trying again in 5 seconds
Jan 06 19:12:46 gentooserver ceph-mon[2674]: 2018-01-06 19:12:46.152982 7f3163008f80 -1  Processor -- bind unable to bind to [2001:1c:d64b:91c5:3a84:dfce:8546:998]:6789/0: (99) Cannot assign requested address
Jan 06 19:12:46 gentooserver ceph-mon[2674]: 2018-01-06 19:12:46.152996 7f3163008f80 -1  Processor -- bind was unable to bind. Trying again in 5 seconds
Jan 06 19:12:51 gentooserver ceph-mon[2674]: 2018-01-06 19:12:51.153218 7f3163008f80 -1  Processor -- bind unable to bind to [2001:1c:d64b:91c5:3a84:dfce:8546:998]:6789/0: (99) Cannot assign requested address
Jan 06 19:12:51 gentooserver ceph-mon[2674]: 2018-01-06 19:12:51.153244 7f3163008f80 -1  Processor -- bind was unable to bind after 3 attempts: (99) Cannot assign requested address
Jan 06 19:12:51 gentooserver ceph-mon[2674]: 2018-01-06 19:12:51.153250 7f3163008f80 -1 unable to bind monitor to [2001:1c:d64b:91c5:3a84:dfce:8546:998]:6789/0
Jan 06 19:12:51 gentooserver systemd[1]: ceph-mon@gentooserver.service: Main process exited, code=exited, status=1/FAILURE
Jan 06 19:12:51 gentooserver systemd[1]: ceph-mon@gentooserver.service: Unit entered failed state.
Jan 06 19:12:51 gentooserver systemd[1]: ceph-mon@gentooserver.service: Failed with result 'exit-code'.
Jan 06 19:13:01 gentooserver systemd[1]: ceph-mon@gentooserver.service: Service hold-off time over, scheduling restart.
Jan 06 19:13:01 gentooserver systemd[1]: Stopped Ceph cluster monitor daemon.
Jan 06 19:13:01 gentooserver systemd[1]: ceph-mon@gentooserver.service: Start request repeated too quickly.
Jan 06 19:13:01 gentooserver systemd[1]: Failed to start Ceph cluster monitor daemon.
Jan 06 19:13:01 gentooserver systemd[1]: ceph-mon@gentooserver.service: Unit entered failed state.
Jan 06 19:13:01 gentooserver systemd[1]: ceph-mon@gentooserver.service: Failed with result 'exit-code'.

cat /etc/ceph/ceph.conf
[global]
fsid = a736559a-92d1-483e-9289-d2c7feed510f
ms bind ipv6 = true
mon initial members = gentooserver

[mon.mona]
host = gentooserver
mon addr = [2001:1c:d64b:91c5:3a84:dfce:8546:9982]

[osd]
osd journal size = 10000

I'm not sure if the problem is the permissions error, or the IP address appearing to get truncated in the output, or both.

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux