Re: Unable to Start Ceph service

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

 



On Fri, 2 Nov 2012, Gary Lowell wrote:
> Hi Hemant -
> 
> You don't need to build and install from the deb packages.  The "make install" does put things under /usr/local by default, which is different from the packages.  That can be overridden when running configure.  configure --help will give you the options.
> 
> Someone who has done this recently can perhaps comment if there are any modifications to the standard documentation for a local build and install.  

One caveat with make install is that it does not install /etc/init.d/ceph 
for you, since it's target dependent.  You'll need to copy init-ceph 
yourself and run update-rc.d.

sage

> 
> Cheers,
> Gary
> 
> On Nov 2, 2012, at 9:15 PM, hemant surale wrote:
> 
> > The G++ internal compilation error was observed due to insufficient
> > RAM. So I increased it then everything is running fine.
> > 
> > One more doubt regarding GIt Cloned Dir and Tarball setup.
> > 
> > While building ceph from source code (tarball file) . I extract them
> > into some folder and perform
> > "./autogen.sh
> > ./configure
> > make
> > sudo make install " .
> > What more should I do in order to have ceph service running on that machine?
> > Does It necessary to clone the git dir & then build .deb packages ,
> > even after I installed ceph from tarball ?
> > 
> > 
> > -
> > Hemant Surale.
> > 
> > 
> > On Sat, Nov 3, 2012 at 12:10 AM, Tyler Brekke <tyler.brekke@xxxxxxxxxxx> wrote:
> >> Can you check dmesg? It looks like you ran out of memory on your VM
> >> while building.
> >> 
> >> On Thu, Nov 1, 2012 at 11:59 PM, hemant surale <hemant.surale@xxxxxxxxx> wrote:
> >>> ---------- Forwarded message ----------
> >>> From: hemant surale <hemant.surale@xxxxxxxxx>
> >>> Date: Fri, Nov 2, 2012 at 12:10 PM
> >>> Subject: Re: Unable to Start Ceph service
> >>> To: Dan Mick <dan.mick@xxxxxxxxxxx>, "ceph-devel@xxxxxxxxxxxxxxx"
> >>> <ceph-devel@xxxxxxxxxxxxxxx>
> >>> 
> >>> 
> >>> 
> >>> Initially I installed ceph directly by following 5minute guide from
> >>> official site , So before building ceph from source code I installed
> >>> ceph as well as removed it using "sudo apt-get remove ceph" ,But It
> >>> seems that some directories left undeleted.
> >>> 
> >>> Now I tried to Build ceph again on fresh VM and again I have some
> >>> issues to resolve .
> >>> 
> >>> As proceeding to building step when I came across "make" cmd following
> >>> error is observed
> >>> ---------------------------------------------------------//Error---------------------------------------------------------------------
> >>>  CXX    MDS.o
> >>> g++: internal compiler error: Killed (program cc1plus)
> >>> Please submit a full bug report,
> >>> with preprocessed source if appropriate.
> >>> See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
> >>> make[3]: *** [MDS.o] Error 4
> >>> make[3]: Leaving directory `/home/hemant/ceph/ceph/src'
> >>> make[2]: *** [all-recursive] Error 1
> >>> make[2]: Leaving directory `/home/hemant/ceph/ceph/src'
> >>> make[1]: *** [all] Error 2
> >>> make[1]: Leaving directory `/home/hemant/ceph/ceph/src'
> >>> make: *** [all-recursive] Error 1
> >>> ---------------------------_---------------------------_---------------------------_---------------------------
> >>> 
> >>> 
> >>> - Hemant Surale
> >>> 
> >>> 
> >>> On Thu, Nov 1, 2012 at 4:05 AM, Dan Mick <dan.mick@xxxxxxxxxxx> wrote:
> >>>> 
> >>>> I've had a long private thread with Hemant, and I believe he's past this problem (in case anyone scans archives looking for open questions).
> >>>> Hemant, it would be best to keep the thread on ceph-devel; you get more people looking and answering.
> >>>> 
> >>>> It's a mystery, still, how /usr/bin/ceph-osd ended up being a directory.
> >>>> 
> >>>> 
> >>>> On 10/30/2012 05:59 AM, hemant surale wrote:
> >>>>> 
> >>>>> Hi All,
> >>>>>    I am building ceph from sourcecode availavle from site. I executeed
> >>>>> all steps for building it , executed "mkcephfs" as well the only
> >>>>> problem is as shown below.
> >>>>> 
> >>>>> 
> >>>>> ------------------------------------------------------------------------------------------------------------
> >>>>> root@atish-virtual-machine:~/ceph# service ceph start
> >>>>> === mon.alpha ===
> >>>>> Starting Ceph mon.alpha on atish-virtual-machine...
> >>>>> bash: /usr/bin/ceph-mon: Is a directory
> >>>>> failed: ' /usr/bin/ceph-mon -i alpha --pid-file
> >>>>> /var/run/ceph/mon.alpha.pid -c /etc/ceph/ceph.conf '
> >>>>> -----------------------------------------------------------------------------------------------------------------------
> >>> --
> >>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> >>> the body of a message to majordomo@xxxxxxxxxxxxxxx
> >>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > --
> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux