Hi
==================================================================================================
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
2013-06-18 04:26:16.373075 7f30ffd2d700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x1136490 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:26:19.373812 7f3106459700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x7f30f4000c00 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:26:22.374725 7f30ffd2d700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x7f30f4003010 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:26:25.375248 7f3106459700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x7f30f4003ad0 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
^C
root@xtream:~# ceph -s
2013-06-18 04:27:24.288603 7f0ead78e700  0 -- :/27292 >> 10.16.23.44:6789/0 
pipe(0x2df7460 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:27:27.289759 7f0eb3eba700  0 -- :/27292 >> 10.16.23.44:6789/0 
pipe(0x7f0ea4000c00 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
^C
=========================================================================================================

I did some research and tweaks and now am running into this error .Is there any 
command to check connectivity  to monitor?.

Thanks and Regards
Sreejith KJ

-----Original Message-----
From: Gregory Farnum [mailto:g...@inktank.com]
Sent: Monday, June 17, 2013 11:38 PM
To: Sreejith Keeriyattil
Cc: ceph-us...@ceph.com
Subject: Re: [ceph-users] Need help with Ceph error

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.keeriyat...@happiestminds.com> 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:g...@inktank.com]
> Sent: Friday, June 14, 2013 9:07 PM
> To: Sreejith Keeriyattil
> Cc: ceph-us...@ceph.com
> Subject: Re: [ceph-users] Need help with Ceph error
>
> On Fri, Jun 14, 2013 at 12:20 AM, Sreejith Keeriyattil 
> <sreejith.keeriyat...@happiestminds.com> 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>
>
> ________________________________
>

________________________________
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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to