[Gluster-users] Error while trying to start glusterd
Chitra Gmail
crentala at gmail.com
Wed Oct 16 03:14:49 UTC 2013
I will try your steps Joe!
Thank you,
Chitra
> On Oct 15, 2013, at 7:30 PM, Joe Julian <joe at julianfamily.org> wrote:
>
> Try running "glusterd --debug" and see if that offers any better help. If that doesn't, perhaps using strace could give you some better clues.
>
>> On 10/15/2013 7:07 PM, Chitra Gmail wrote:
>> We have a build machine and the target machines are limited in their capabilities. Hence cannot use packages.
>>
>> Thank you,
>> Chitra
>>
>> On Oct 15, 2013, at 6:16 PM, Joe Julian <joe at julianfamily.org> wrote:
>>
>>> Looks like maybe something's not where it's expected to be? Any reason why you're not just using the packages?
>>>
>>>> On 10/15/2013 5:48 PM, Chitra Kalle wrote:
>>>> Please help!
>>>>
>>>> Not able to start glusterd.
>>>>
>>>> Here is the log file from /usr/local/var/log/glusterfs/usr-local-etc-glusterfs-glusterd.vol.log
>>>>
>>>>
>>>> [2013-10-16 00:43:04.823318] I [glusterfsd.c:1670:main] 0-/usr/local/sbin/glusterd: Started running /usr/local/sbin/glusterd version 3.3.2
>>>> [2013-10-16 00:43:04.824295] I [glusterd.c:807:init] 0-management: Using /var/lib/glusterd as working directory
>>>> [2013-10-16 00:43:04.824563] E [rpc-transport.c:252:rpc_transport_load] 0-rpc-transport: /usr/local/lib/glusterfs/3.3.2/rpc-transport/rdma.so: cannot open shared object file: No such file or directory
>>>> [2013-10-16 00:43:04.824573] E [rpc-transport.c:256:rpc_transport_load] 0-rpc-transport: volume 'rdma.management': transport-type 'rdma' is not valid or not found on this machine
>>>> [2013-10-16 00:43:04.824579] W [rpcsvc.c:1356:rpcsvc_transport_create] 0-rpc-service: cannot create listener, initing the transport failed
>>>> [2013-10-16 00:43:04.824616] I [glusterd.c:103:glusterd_uuid_init] 0-glusterd: generated UUID: 61e12746-3c62-4523-9b70-7b6489290c2c
>>>> [2013-10-16 00:43:04.825538] E [glusterd.c:288:glusterd_check_gsync_present] 0-glusterd: geo-replication module not working as desired
>>>> [2013-10-16 00:43:04.825575] E [xlator.c:385:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again
>>>> [2013-10-16 00:43:04.825582] E [graph.c:291:glusterfs_graph_init] 0-management: initializing translator failed
>>>> [2013-10-16 00:43:04.825587] E [graph.c:478:glusterfs_graph_activate] 0-graph: init failed
>>>> [2013-10-16 00:43:04.825670] W [glusterfsd.c:838:cleanup_and_exit] (-->/usr/local/sbin/glusterd(main+0x605) [0x804e265] (-->/usr/local/sbin/glusterd(glusterfs_volumes_init+0x1bc) [0x804c73c] (-->/usr/local/sbin/glusterd(glusterfs_process_volfp+0x1bd) [0x804c56d]))) 0-: received signum (0), shutting down
>>>>
>>>>
>>>> --------------
>>>>
>>>> My vol file is located at /usr/local/etc/glusterfs/glusterd.vol
>>>>
>>>> ----------------------------
>>>> volume management
>>>> type mgmt/glusterd
>>>> option working-directory /var/lib/glusterd
>>>> option transport-type socket,rdma
>>>> option transport.socket.keepalive-time 10
>>>> option transport.socket.keepalive-interval 2
>>>> option transport.socket.read-fail-log off
>>>> end-volume
>>>>
>>>>
>>>> Thanks,
>>>> Chitra
>>>>
>>>>
>>>>
>>>>> On Tue, Oct 15, 2013 at 1:32 PM, Chitra Kalle <crentala at gmail.com> wrote:
>>>>> Hi,
>>>>>
>>>>> Ubuntu machines running Linux 2.6. Glusterfs version 3.3.2
>>>>>
>>>>> I built glusterfs on one machine with --prefix, --with-mountutildir --with-utildir --localstatedir options for configure.
>>>>> Ran make and make install.
>>>>>
>>>>> Then I copied the respective files/folders into the target machine's /usr/local /etc/init.d and /sbin accordingly.
>>>>>
>>>>> glusterfs runs fine on the build machine.
>>>>>
>>>>> However, I get this error when I run it on the target machine using /etc/init.d/glusterd start.
>>>>>
>>>>> C [glusterfsd.c:1224:parse_cmdline] 0-glusterfs: ERROR: parsing the volfile failed (No such file or directory)
>>>>>
>>>>> /etc/init.d/glusterd status
>>>>> * glusterd service is not running.
>>>>>
>>>>> Additional steps taken before I tried to start glusterd on the target machine:
>>>>> I modified the /etc/init.d/glusterd script to point to /usr/local
>>>>> Added /usr/local/lib to /etc/ld.so.conf and ran ldconfig.
>>>>>
>>>>>
>>>>> Any pointers appreciated. I am a newbie!
>>>>>
>>>>> Thanks,
>>>>> Chitra
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Gluster-users mailing list
>>>> Gluster-users at gluster.org
>>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131015/faa5271e/attachment.html>
More information about the Gluster-users
mailing list