[Gluster-users] Error while trying to start glusterd

Chitra Kalle crentala at gmail.com
Wed Oct 16 17:09:16 UTC 2013


Thank you Joe. I was able to resolve the issue. Ran glusterd --debug. It
was looking for python under /usr/local/bin. But on the target machine it
was located at /usr/bin. Once I set up the softlink, I was able to start
glusterd.

Thanks,
Chitra

./glusterd --debug
[2013-10-16 17:03:15.969304] I [glusterfsd.c:1670:main] 0-./glusterd:
Started running ./glusterd version 3.3.2
[2013-10-16 17:03:15.969409] D [glusterfsd.c:457:get_volfp] 0-glusterfsd:
loading volume file /usr/local/etc/glusterfs/glusterd.vol
[2013-10-16 17:03:15.969981] I [glusterd.c:807:init] 0-management: Using
/var/lib/glusterd as working directory
[2013-10-16 17:03:15.970016] D
[glusterd.c:243:glusterd_rpcsvc_options_build] 0-: listen-backlog value: 128
[2013-10-16 17:03:15.970097] D [rpcsvc.c:1872:rpcsvc_init] 0-rpc-service:
RPC service inited.
[2013-10-16 17:03:15.970107] D [rpcsvc.c:1636:rpcsvc_program_register]
0-rpc-service: New program registered: GF-DUMP, Num: 123451501, Ver: 1,
Port: 0
[2013-10-16 17:03:15.970127] D [rpc-transport.c:248:rpc_transport_load]
0-rpc-transport: attempt to load file
/usr/local/lib/glusterfs/3.3.2/rpc-transport/socket.so
[2013-10-16 17:03:15.970241] D [name.c:551:server_fill_address_family]
0-socket.management: option address-family not specified, defaulting to inet
[2013-10-16 17:03:15.970284] D [rpc-transport.c:248:rpc_transport_load]
0-rpc-transport: attempt to load file
/usr/local/lib/glusterfs/3.3.2/rpc-transport/rdma.so
[2013-10-16 17:03:15.970311] 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 17:03:15.970320] 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 17:03:15.970327] W [rpcsvc.c:1356:rpcsvc_transport_create]
0-rpc-service: cannot create listener, initing the transport failed
[2013-10-16 17:03:15.970336] D [rpcsvc.c:1636:rpcsvc_program_register]
0-rpc-service: New program registered: GlusterD svc peer, Num: 1238437,
Ver: 2, Port: 0
[2013-10-16 17:03:15.970344] D [rpcsvc.c:1636:rpcsvc_program_register]
0-rpc-service: New program registered: GlusterD svc cli, Num: 1238463, Ver:
2, Port: 0
[2013-10-16 17:03:15.970352] D [rpcsvc.c:1636:rpcsvc_program_register]
0-rpc-service: New program registered: GlusterD svc mgmt, Num: 1238433,
Ver: 2, Port: 0
[2013-10-16 17:03:15.970359] D [rpcsvc.c:1636:rpcsvc_program_register]
0-rpc-service: New program registered: Gluster Portmap, Num: 34123456, Ver:
1, Port: 0
[2013-10-16 17:03:15.970367] D [rpcsvc.c:1636:rpcsvc_program_register]
0-rpc-service: New program registered: GlusterFS Handshake, Num: 14398633,
Ver: 2, Port: 0
[2013-10-16 17:03:15.970385] D
[glusterd-utils.c:4671:glusterd_sm_tr_log_init] 0-: returning 0
[2013-10-16 17:03:15.970406] D
[glusterd-store.c:1308:glusterd_store_handle_new] 0-: Returning 0
[2013-10-16 17:03:15.970414] D
[glusterd-store.c:1326:glusterd_store_handle_retrieve] 0-: Returning 0
[2013-10-16 17:03:15.970438] D
[glusterd-store.c:1203:glusterd_store_retrieve_value] 0-: key UUID read
[2013-10-16 17:03:15.970446] D
[glusterd-store.c:1206:glusterd_store_retrieve_value] 0-: key UUID found
[2013-10-16 17:03:15.970457] D
[glusterd-store.c:1453:glusterd_retrieve_uuid] 0-: Returning 0
[2013-10-16 17:03:15.970469] I [glusterd.c:95:glusterd_uuid_init]
0-glusterd: retrieved UUID: 61e12746-3c62-4523-9b70-7b6489290c2c
exec of /usr/local/bin/python failed
[2013-10-16 17:03:15.971299] E
[glusterd.c:288:glusterd_check_gsync_present] 0-glusterd: geo-replication
module not working as desired
[2013-10-16 17:03:15.971344] D
[glusterd.c:298:glusterd_check_gsync_present] 0-glusterd: Returning -1


On Tue, Oct 15, 2013 at 8:14 PM, Chitra Gmail <crentala at gmail.com> wrote:

> 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 listGluster-users at gluster.orghttp://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/20131016/534b8e2d/attachment.html>


More information about the Gluster-users mailing list