Hi all,
I cannot get my luminous 12.2.11 mds servers to start on Debian 9(.8)
unless nscd is also installed.
Trying to start from command line:
# /usr/bin/ceph-mds -f --cluster ceph --id mds02.hep.wisc.edu --setuser
ceph --setgroup ceph unable to look up group 'ceph': (34) Numerical
result out of range
Can look up ceph fine with 'id'
# id ceph
uid=11(ceph) gid=11(ceph) groups=11(ceph)
If I strace, I notice that an nscd directory makes an appearance:
[...]
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=285846, ...}) = 0
mmap(NULL, 285846, PROT_READ, MAP_SHARED, 3, 0) = 0x7f5970ed2000
lseek(3, 285846, SEEK_SET) = 285846
munmap(0x7f5970ed2000, 285846) = 0
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/group", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=122355, ...}) = 0
mmap(NULL, 122355, PROT_READ, MAP_SHARED, 3, 0) = 0x7f5970efa000
lseek(3, 122355, SEEK_SET) = 122355
lseek(3, 7495, SEEK_SET) = 7495
munmap(0x7f5970efa000, 122355) = 0
close(3) = 0
write(2, "unable to look up group '", 25unable to look up group ') = 25
write(2, "ceph", 4ceph) = 4
write(2, "'", 1') = 1
write(2, ": ", 2: ) = 2
write(2, "(34) Numerical result out of ran"..., 34(34) Numerical result
out of range) = 34
write(2, "\n", 1
So I install nscd and mds starts!
Shouldn't ceph be agnostic in how the ceph group is looked up? Do I
have some kind of config problem?
My nsswitch.conf file is below. I've tried replacing 'compat' with
files, but there is no change.
# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Thanks!
Chad.
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com