All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Raible <c.raible@science-computing.de>
To: ceph-devel@vger.kernel.org
Subject: Can't start Ceph with CentOS 5.6
Date: Thu, 14 Apr 2011 08:56:54 +0200	[thread overview]
Message-ID: <4DA69AB6.9050508@science-computing.de> (raw)

Hi @all,

I compilied & configured ceph 0.26 today  and now i want to start ceph 
with  /etc/init.d/ceph -a start  oder service ceph -a start   but the 
service is unknown and in /etc/init.d  there is noch such file!

I compiled ceph with following commands:



######################

   ./autogen.sh

   CXXFLAGS="-g -O2" ./configure --prefix=/usr --sbindir=/sbin
   --localstatedir=/var --sysconfdir=/etc

   make

   make install


########################




My ceph.conf in /etc/ceph/ looks like this:


#######################

; global
[global]
	; enable secure authentication
	auth supported = cephx

; monitors
;  You need at least one.  You need at least three if you want to
;  tolerate any node failures.  Always create an odd number.
[mon]
	mon data = /data/mon$id

	; some minimal logging (just message traffic) to aid debugging
	debug ms = 1

[mon0]
	host = ceph0
	mon addr = 10.1.9.45:6789

[mon1]
	host = ceph1
	mon addr = 10.1.9.46:6789

....

; mds
;  You need at least one.  Define two to get a standby.
[mds]
	; where the mds keeps its secret encryption keys
	keyring = /data/keyring.$name

[mds.0]
	host = ceph0
         mds standby replay = true
         mds standby for name = ceph1
[mds.1]
	host = ceph1
         mds standby replay = true
         mds standby for name = ceph2
....



; osd
;  You need at least one.  Two if you want data to be replicated.
;  Define as many as you like.
[osd]
	; This is where the btrfs volume will be mounted.
	osd data = /data/osd$id

	; Ideally, make this a separate disk or partition.  A few GB
  	; is usually enough; more if you have fast disks.  You can use
  	; a file under the osd data dir if need be
  	; (e.g. /data/osd$id/journal), but it will be slower than a
  	; separate disk or partition.
	osd journal = /data/osd$id/journal

         ; If the OSD journal is a file, you need to specify the size. 
This is specified in MB.
         osd journal size = 512



[osd0]
; if 'btrfs devs' is not specified, you're responsible for
	; setting up the 'osd data' dir.  if it is not btrfs, things
	; will behave up until you try to recover from a crash (which
	; usually fine for basic testing).
	host = ceph0
	btrfs devs = /dev/sdb1

[osd1]
	host = ceph1
	btrfs devs = /dev/sdb1

....

#######################


When I want to start ceph with ceph -c /etc/ceph/ceph.conf  I got 
following messages:

#######################


2011-04-14 08:59:59.236688 4049d940 -- :/10014 >> 10.1.9.45:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:02.237107 41190940 -- :/10014 >> 10.1.9.48:6789/0 
pipe(0x7f1ff4001570 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:05.237271 4049d940 -- :/10014 >> 10.1.9.47:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:08.237502 41190940 -- :/10014 >> 10.1.9.48:6789/0 
pipe(0x7f1ff4001570 sd=4 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:11.237709 4049d940 -- :/10014 >> 10.1.9.47:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:14.237554 41190940 -- :/10014 >> 10.1.9.46:6789/0 
pipe(0x7f1ff4001570 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:17.238122 4049d940 -- :/10014 >> 10.1.9.47:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:20.238162 41190940 -- :/10014 >> 10.1.9.46:6789/0 
pipe(0x7f1ff4001570 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:23.238641 4049d940 -- :/10014 >> 10.1.9.45:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:26.238939 41190940 -- :/10014 >> 10.1.9.48:6789/0 
pipe(0x7f1ff4001570 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:29.239232 4049d940 -- :/10014 >> 10.1.9.45:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:32.239554 41190940 -- :/10014 >> 10.1.9.47:6789/0 
pipe(0x7f1ff4001570 sd=3 pgs=0 cs=0 l=0).fault first fault
2011-04-14 09:00:35.239555 4049d940 -- :/10014 >> 10.1.9.46:6789/0 
pipe(0x7f1ff4000ad0 sd=3 pgs=0 cs=0 l=0).fault first fault


#######################



I realy hope someone can help me....


Best regards,

Christoph Raible
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 



             reply	other threads:[~2011-04-14  7:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14  6:56 Christoph Raible [this message]
2011-04-14 10:24 ` Can't start Ceph with CentOS 5.6 Zenon Panoussis
2011-04-14 17:41 ` Colin McCabe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA69AB6.9050508@science-computing.de \
    --to=c.raible@science-computing.de \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.