<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 22, 2015 at 12:09 PM, Atin Mukherjee <span dir="ltr">&lt;<a href="mailto:amukherj@redhat.com" target="_blank">amukherj@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 07/22/2015 11:47 AM, Raghavendra Bhat wrote:<br>
&gt; On 07/22/2015 09:50 AM, Atin Mukherjee wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 07/22/2015 12:50 AM, Anand Nekkunti wrote:<br>
&gt;&gt;&gt; Hi All<br>
&gt;&gt;&gt;     &quot;gluster vol start&quot; is failing when glusterfs is compiled with debug<br>
&gt;&gt;&gt; enable .<br>
&gt;&gt;&gt; Link: :<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1245331" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1245331</a><br>
&gt;&gt;&gt;<br>
</span><div><div class="h5">&gt;&gt;&gt; *brick start is failing with fallowing error:*<br>
&gt;&gt;&gt; 2015-07-21 19:01:59.408729] I [MSGID: 100030] [glusterfsd.c:2296:main]<br>
&gt;&gt;&gt; 0-/usr/local/sbin/glusterfsd: Started running /usr/local/sbin/glusterfsd<br>
&gt;&gt;&gt; version 3.8dev (args: /usr/local/sbin/glusterfsd -s 192.168.0.4<br>
&gt;&gt;&gt; --volfile-id VOL.192.168.0.4.tmp-BRICK1 -p<br>
&gt;&gt;&gt; /var/lib/glusterd/vols/VOL/run/192.168.0.4-tmp-BRICK1.pid -S<br>
&gt;&gt;&gt; /var/run/gluster/0a4faf3d8d782840484629176ecf307a.socket --brick-name<br>
&gt;&gt;&gt; /tmp/BRICK1 -l /var/log/glusterfs/bricks/tmp-BRICK1.log --xlator-option<br>
&gt;&gt;&gt; *-posix.glusterd-uuid=4ec09b0c-6043-40f0-bc1a-5cc312d49a78 --brick-port<br>
&gt;&gt;&gt; 49152 --xlator-option VOL-server.listen-port=49152)<br>
&gt;&gt;&gt; [2015-07-21 19:02:00.075574] I [MSGID: 101190]<br>
&gt;&gt;&gt; [event-epoll.c:627:event_dispatch_epoll_worker] 0-epoll: Started thread<br>
&gt;&gt;&gt; with index 1<br>
&gt;&gt;&gt; [2015-07-21 19:02:00.078905] W [MSGID: 101095]<br>
&gt;&gt;&gt; [xlator.c:189:xlator_dynload] 0-xlator: /usr/local/lib/libgfdb.so.0:<br>
&gt;&gt;&gt; undefined symbol: gf_sql_str2sync_t<br>
&gt;&gt;&gt; [2015-07-21 19:02:00.078947] E [MSGID: 101002] [graph.y:211:volume_type]<br>
&gt;&gt;&gt; 0-parser: Volume &#39;VOL-changetimerecorder&#39;, line 16: type<br>
&gt;&gt;&gt; &#39;features/changetimerecorder&#39; is not valid or not found on this machine<br>
&gt;&gt;&gt; [2015-07-21 19:02:00.079020] E [MSGID: 101019] [graph.y:319:volume_end]<br>
&gt;&gt;&gt; 0-parser: &quot;type&quot; not specified for volume VOL-changetimerecorder<br>
&gt;&gt;&gt; [2015-07-21 19:02:00.079150] E [MSGID: 100026]<br>
&gt;&gt;&gt; [glusterfsd.c:2151:glusterfs_process_volfp] 0-: failed to construct the<br>
&gt;&gt;&gt; graph<br>
&gt;&gt;&gt; [2015-07-21 19:02:00.079399] W [glusterfsd.c:1214:cleanup_and_exit]<br>
&gt;&gt;&gt; (--&gt;/usr/local/sbin/glusterfsd(mgmt_getspec_cbk+0x343) [0x40df64]<br>
&gt;&gt;&gt; --&gt;/usr/local/sbin/glusterfsd(glusterfs_process_volfp+0x1a2) [0x409b58]<br>
&gt;&gt;&gt; --&gt;/usr/local/sbin/glusterfsd(cleanup_and_exit+0x77) [0x407a6f] ) 0-:<br>
&gt;&gt;&gt; received signum (0), shutting down<br>
&gt;&gt; I am not able to hit this though.<br>
&gt;<br>
&gt; This seems to be the case of inline functions being considerd as<br>
&gt; undefined symblols. There has been a discussion about it in the mailing<br>
&gt; list.<br>
</div></div>The reason I didn&#39;t hit it is because I use docker containers of fedora<br>
21 where glibc is old.<br>
<span class="">&gt;<br>
&gt; <a href="https://www.gluster.org/pipermail/gluster-devel/2015-June/045942.html" rel="noreferrer" target="_blank">https://www.gluster.org/pipermail/gluster-devel/2015-June/045942.html</a></span></blockquote><div><br></div><div>As given in that thread, if you want a workaround for now, use std=gnu89 in CFLAGS.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
&gt;<br>
&gt; Regards,<br>
&gt; Raghavendra Bhat<br>
&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks&amp;Regards<br>
&gt;&gt;&gt; Anand.N<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Gluster-devel mailing list<br>
</span>&gt;&gt;&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<span class="im HOEnZb">&gt;&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
</span><div class="HOEnZb"><div class="h5">&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
<br>
--<br>
~Atin<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font color="#666666"><b>Raghavendra Talur </b></font><div><br></div></div></div>
</div></div>