[sheepdog] [Sheepdog]Install Sheepdog problems

harryxiyou harryxiyou at gmail.com
Tue Jan 29 16:59:25 CET 2013


On Tue, Jan 29, 2013 at 11:53 PM, harryxiyou <harryxiyou at gmail.com> wrote:
> On Tue, Jan 29, 2013 at 11:38 PM, harryxiyou <harryxiyou at gmail.com> wrote:
>> Hi Morita,
>>
>> I have downloaded a sheepdog git tree, which i installed according
>> to https://github.com/collie/sheepdog/wiki/Getting-Started.
>> I installed Sheepdog like following steps.
>>
>> 1, $ git clone git://github.com/collie/sheepdog.git
>> 2, $ cd sheepdog
>> 3, $ ./autogen.sh
>> 4, $ ./configure
>> 5, $ make
>> 6, $ cd scripts
>> 7, $ sudo ./start-sheepdog
>> [sudo] password for jiawei:
>> killing all sheepdogs...
>>
>> sh: ./script/stop-sheepdog: not found
>> ./sheep/sheep --port 7000 /tmp/43.69042092739650 -d
>>
>> Why i cannot start sheepdog by this way?
>>
>> After i executed 'sudo make install' & 'sudo /etc/init.d/sheepdog start',
>> i got following right results.
>>
>> $ sudo make install
>> $ sudo /etc/init.d/sheepdog start
>> Starting Sheepdog QEMU/KVM Block Storage (sheep): [  OK  ]
>>
>> After 'sudo /etc/init.d/sheepdog start'  was executed, what Sheepdog did?
>>
>> Thanks for your help in advance ;-)
>>
>
> I searched /var/lib/sheepdog directory, and  my sheep.log like following.
>
> # cat sheep.log
> Jan 29 23:46:20 [main] corosync_init(777) failed to initialize cpg (6)
> - is corosync running?
> Jan 29 23:46:20 [main] main(596) failed to create sheepdog cluster
> Jan 29 23:46:20 [main] crash_handler(322) sheep pid 24017 exited unexpectedly.
> Jan 29 23:47:42 [main] jrnl_recover(230) opening the directory
> /var/lib/sheepdog/journal/
> Jan 29 23:47:42 [main] jrnl_recover(235) starting journal recovery
> Jan 29 23:47:42 [main] jrnl_recover(291) journal recovery complete
> Jan 29 23:47:44 [main] corosync_init(777) failed to initialize cpg (6)
> - is corosync running?
> Jan 29 23:47:44 [main] main(596) failed to create sheepdog cluster
> Jan 29 23:47:44 [main] crash_handler(322) sheep pid 24085 exited unexpectedly.
>
> After i executed 'sudo /etc/init.d/corosync start', i got the same
> errors like following.
>
> # /etc/init.d/corosync start
> # sheep /var/lib/sheepdog
> # cat sheep.log
> Jan 29 23:46:20 [main] corosync_init(777) failed to initialize cpg (6)
> - is corosync running?
> Jan 29 23:46:20 [main] main(596) failed to create sheepdog cluster
> Jan 29 23:46:20 [main] crash_handler(322) sheep pid 24017 exited unexpectedly.
> Jan 29 23:47:42 [main] jrnl_recover(230) opening the directory
> /var/lib/sheepdog/journal/
> Jan 29 23:47:42 [main] jrnl_recover(235) starting journal recovery
> Jan 29 23:47:42 [main] jrnl_recover(291) journal recovery complete
> Jan 29 23:47:44 [main] corosync_init(777) failed to initialize cpg (6)
> - is corosync running?
> Jan 29 23:47:44 [main] main(596) failed to create sheepdog cluster
> Jan 29 23:47:44 [main] crash_handler(322) sheep pid 24085 exited unexpectedly.
> Jan 29 23:51:09 [main] jrnl_recover(230) opening the directory
> /var/lib/sheepdog/journal/
> Jan 29 23:51:09 [main] jrnl_recover(235) starting journal recovery
> Jan 29 23:51:09 [main] jrnl_recover(291) journal recovery complete
> Jan 29 23:51:11 [main] corosync_init(777) failed to initialize cpg (6)
> - is corosync running?
> Jan 29 23:51:11 [main] main(596) failed to create sheepdog cluster
> Jan 29 23:51:11 [main] crash_handler(322) sheep pid 24124 exited unexpectedly.
>
> What should i do to let sheepdog works well?
>

I watched our https://github.com/collie/sheepdog/wiki/Getting-Started, it
says 'One or more x86-64 machines'. Therefore, my OS is 32bits
(Ubuntu desktop).

$ getconf LONG_BIT
32

Should i have to install x86-64 OS? Or should i must have a x86-64 machine?



-- 
Thanks
Harry Wei



More information about the sheepdog mailing list