<div dir="ltr">Steve, <br>&nbsp;Thanks for mentioning gcc-4.3.1. There seems to be some issues with libtool latest version than with gcc-4.3.1, as with gcc-4.3.1 things were fine. I will get back to you regarding this. <br><br>
Btw, when you say, client part crashing horribly, what exactly is happening?<br><br>Regards,<br>Amar <br><br><div class="gmail_quote">2008/8/25 Steve <span dir="ltr">&lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
-------- Original-Nachricht --------<br>
&gt; Datum: Mon, 25 Aug 2008 22:20:41 +0200<br>
&gt; Von: &quot;Steve&quot; &lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</a>&gt;<br>
&gt; An: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
<div><div></div><div class="Wj3C7c">&gt; Betreff: Re: [Gluster-users] Problems starting Gluster server<br>
<br>
&gt;<br>
&gt; -------- Original-Nachricht --------<br>
&gt; &gt; Datum: Mon, 25 Aug 2008 10:46:02 -0700<br>
&gt; &gt; Von: Keith Freedman &lt;freedman@FreeFormIT.com&gt;<br>
&gt; &gt; An: &quot;Steve&quot; &lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</a>&gt;, <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; &gt; Betreff: Re: [Gluster-users] Problems starting Gluster server<br>
&gt;<br>
&gt; &gt; make sure everything is installed correctly.<br>
&gt; &gt; look for:<br>
&gt; &gt; /usr/lib/glusterfs/1.3.11/xlator/storage/posix.so<br>
&gt; &gt;<br>
&gt; &gt; if the gluster libs are in /usr/lib/glusterfs/1.3.11 poke around to<br>
&gt; &gt; make sure it looks like all the bits are there.<br>
&gt; &gt;<br>
&gt; &gt; I had a similar problem once, I had to run make install from the<br>
&gt; &gt; sub-directory of the xlators to get them installed.<br>
&gt; &gt;<br>
&gt; It did not help to make the extra &quot;make install&quot; in the xlators sub<br>
&gt; directory. It just does not work. But while compiling gluster I spotted this<br>
&gt; error/warning here:<br>
&gt; -----<br>
&gt; /bin/sh ../../../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc<br>
&gt; -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_LINUX_HOST_OS<br>
&gt; -I../../../../libglusterfs/src -shared -nostartfiles &nbsp;-O2 -march=athlon-xp -pipe<br>
&gt; -Wl,-O1 -o io-cache.so &nbsp;io-cache.o page.o ioc-inode.o<br>
&gt; ../../../../libglusterfs/src/<a href="http://libglusterfs.la" target="_blank">libglusterfs.la</a> -ldl -lpthread<br>
&gt; libtool: link: i686-pc-linux-gnu-gcc -fPIC -D_FILE_OFFSET_BITS=64<br>
&gt; -D_GNU_SOURCE -Wall -DGF_LINUX_HOST_OS -I../../../../libglusterfs/src -nostartfiles<br>
&gt; -O2 -march=athlon-xp -pipe -Wl,-O1 -o .libs/io-cache.so io-cache.o page.o<br>
&gt; ioc-inode.o &nbsp;../../../../libglusterfs/src/.libs/libglusterfs.so -lfl -ldl<br>
&gt; -lpthread<br>
&gt; /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../i686-pc-linux-gnu/bin/ld:<br>
&gt; warning: cannot find entry symbol _start; defaulting to 0000000008048e20<br>
&gt; -----<br>
&gt;<br>
&gt; Could that be the problem?<br>
&gt;<br>
</div></div>Searching the net I found this here: <a href="http://buildlogs.pld-linux.org/index.php?log=105639" target="_blank">http://buildlogs.pld-linux.org/index.php?log=105639</a><br>
Which then lead me to this here: <a href="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/glusterfs-link_fix.patch" target="_blank">http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/glusterfs-link_fix.patch</a><br>

<br>
I took this patch and adapted it for 1.3.11 and guess what? It works. So linking against the .la files instead the .so files does help in my situation. At least for the server part. The client part is crashing horribly now but this is sure because of my quick and dirty hack for the patch.<br>

<br>
I am using gcc <a href="http://4.3.1." target="_blank">4.3.1.</a> Maybe the problem is specific to newer editions of gcc? Has any one 1.3.11 compiled with gcc 4.3.1 without problems?<br>
<br>
<br>
&gt;<br>
&gt; &gt; Keith<br>
&gt; &gt;<br>
&gt; // SteveB<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
// SteveB<br>
<br>
&gt;<br>
&gt; &gt; At 10:29 AM 8/25/2008, Steve wrote:<br>
&gt; &gt; &gt;Hello<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;While trying to start Gluster server I get the following error:<br>
&gt; &gt; &gt;2008-08-25 19:26:29 D [glusterfs.c:167:get_spec_fp] glusterfs:<br>
&gt; &gt; &gt;loading spec from /etc/glusterfs/glusterfs-server.vol<br>
&gt; &gt; &gt;2008-08-25 19:26:29 D [spec.y:107:new_section] parser: New node for<br>
&gt; &gt; &#39;brick&#39;<br>
&gt; &gt; &gt;2008-08-25 19:26:29 D [xlator.c:115:xlator_set_type] xlator: attempt<br>
&gt; &gt; &gt;to load file /usr/lib/glusterfs/1.3.11/xlator/storage/posix.so<br>
&gt; &gt; &gt;2008-08-25 19:26:29 E [xlator.c:120:xlator_set_type] xlator:<br>
&gt; &gt; &gt;dlopen(/usr/lib/glusterfs/1.3.11/xlator/storage/posix.so):<br>
&gt; &gt; &gt;/usr/lib/glusterfs/1.3.11/xlator/storage/posix.so: cannot<br>
&gt; &gt; &gt;dynamically load executable<br>
&gt; &gt; &gt;2008-08-25 19:26:29 E [spec.y:123:section_type] parser: failed to<br>
&gt; &gt; &gt;set the node type<br>
&gt; &gt; &gt;2008-08-25 19:26:29 E [spec.y:243:file_to_xlator_tree] parser:<br>
&gt; &gt; &gt;yyparser () exited with YYABORT<br>
&gt; &gt; &gt;2008-08-25 19:26:29 E [glusterfs.c:190:xlator_graph_get] glusterfs:<br>
&gt; &gt; &gt;specification file parsing failed, exiting<br>
&gt; &gt; &gt;2008-08-25 19:26:29 E [glusterfs.c:538:main] glusterfs: Unable to<br>
&gt; &gt; &gt;get xlator graph<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;My glusterfs-server.vol file is very simple:<br>
&gt; &gt; &gt;/etc/glusterfs/glusterfs-server.vol<br>
&gt; &gt; &gt;volume brick<br>
&gt; &gt; &gt; &nbsp; type storage/posix &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # POSIX FS translator<br>
&gt; &gt; &gt; &nbsp; option directory /mnt/glusterfs &nbsp; &nbsp; &nbsp;# Export this directory<br>
&gt; &gt; &gt;end-volume<br>
&gt; &gt; &gt;volume server<br>
&gt; &gt; &gt; &nbsp; type protocol/server<br>
&gt; &gt; &gt; &nbsp; option transport-type tcp/server &nbsp; &nbsp; # For TCP/IP transport<br>
&gt; &gt; &gt; &nbsp; option client-volume-filename /etc/glusterfs/glusterfs-client.vol<br>
&gt; &gt; &gt; &nbsp; subvolumes brick<br>
&gt; &gt; &gt; &nbsp; option auth.ip.brick.allow * # Allow access to &quot;brick&quot; volume<br>
&gt; &gt; &gt;end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;Can any one help me to solve the problem? I really don&#39;t know where to<br>
&gt; &gt; look.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;// SteveB<br>
&gt; &gt; &gt;--<br>
&gt; &gt; &gt;GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!<br>
&gt; &gt; &gt;Jetzt dabei sein:<br>
&gt; &gt; <a href="http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx" target="_blank">http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;_______________________________________________<br>
&gt; &gt; &gt;Gluster-users mailing list<br>
&gt; &gt; &gt;<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt; &gt;<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
&gt;<br>
&gt; --<br>
&gt; GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!<br>
&gt; Jetzt dabei sein:<br>
&gt; <a href="http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx" target="_blank">http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br>
</div></div><div class="Ih2E3d">--<br>
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!<br>
Ideal für Modem und ISDN: <a href="http://www.gmx.net/de/go/smartsurfer" target="_blank">http://www.gmx.net/de/go/smartsurfer</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>

</div>