Yep, you can't connect to your monitors so nothing else is going to work either. There's a wealth of conversations about debugging monitor connection issues in the mailing list and irc archives (and I think some in the docs), but as a quick start list: 1) make sure the monitor processes are actually running in top 2) connect to them using the admin socket and see what state they think they're in 3) see if you can connect to them from their host instead of a different one (different keys might be present). -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Sun, Jun 16, 2013 at 11:48 PM, Sreejith Keeriyattil <sreejith.keeriyattil@xxxxxxxxxxxxxxxxx> wrote: > Hi > The issue it hangs when I type any ceph commands.. :( > =============================================== > root@xtream:~# ceph -s > ^C > root@xtream:~# service ceph start > === mds.a === > Starting Ceph mds.a on xtream...already running > === osd.0 === > Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0 > ^C > root@xtream:~# > > ========================================== > Thanks and regards > Sreejith KJ > > -----Original Message----- > From: Gregory Farnum [mailto:greg@xxxxxxxxxxx] > Sent: Friday, June 14, 2013 9:07 PM > To: Sreejith Keeriyattil > Cc: ceph-users@xxxxxxxx > Subject: Re: Need help with Ceph error > > On Fri, Jun 14, 2013 at 12:20 AM, Sreejith Keeriyattil <sreejith.keeriyattil@xxxxxxxxxxxxxxxxx> wrote: >> Hi >> >> To keep it simple I disabled cephx authentication but after that am >> getting the below error. >> >> ====================================================================== >> ================== >> >> root@xtream:/etc/ceph# service ceph -v start >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mon.a "user" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "user" >> >> === mds.a === >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "pid file" >> >> --- xtream# mkdir -p /var/run/ceph >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "log dir" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "auto start" >> >> --- xtream# [ -e /var/run/ceph/mds.a.pid ] || exit 1 # no pid, presumably >> not >> >> pid=`cat /var/run/ceph/mds.a.pid` >> >> [ -e /proc/$pid ] && grep -q ceph-mds /proc/$pid/cmdline && >> grep -qwe -i >> >> exit 1 # pid is something else >> >> Starting Ceph mds.a on xtream...already running >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "user" >> >> === osd.0 === >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "pid file" >> >> --- xtream# mkdir -p /var/run/ceph >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "log dir" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "auto start" >> >> --- xtream# [ -e /var/run/ceph/osd.0.pid ] || exit 1 # no pid, presumably >> not >> >> pid=`cat /var/run/ceph/osd.0.pid` >> >> [ -e /proc/$pid ] && grep -q ceph-osd /proc/$pid/cmdline && >> grep -qwe -i >> >> exit 1 # pid is something else >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "copy executable to" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd data" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "fs path" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "devs" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "lock file" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "admin socket" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "max open files" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "restart on core dump" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "valgrind" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "pre mount command" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd mkfs type" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd mount options xfs" >> >> --- xtream# true >> >> Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0 >> >> --- xtream# modprobe xfs ; egrep -q '^[^ ]+ /var/lib/ceph/osd/ceph-0' >> /proc/moun >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd crush update >> on start" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd crush location" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd crush initial >> weight" >> >> /usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "keyring" >> >> >> >> It hangs after this >> >> My ceph.conf file looks like this > > I think you're still having issues connecting to your monitors. Can you run "ceph -s" and provide the output? > -Greg > Software Engineer #42 @ http://inktank.com | http://ceph.com > > ________________________________ > Happiest Minds Disclaimer > > This message is for the sole use of the intended recipient(s) and may contain confidential, proprietary or legally privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the original intended recipient of the message, please contact the sender by reply email and destroy all copies of the original message. > > Happiest Minds Technologies <http://www.happiestminds.com> > > ________________________________ > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com