[Gluster-users] Problems starting Gluster server

Steve steeeeeveee at gmx.net
Mon Aug 25 21:19:56 UTC 2008


-------- Original-Nachricht --------
> Datum: Mon, 25 Aug 2008 13:57:50 -0700
> Von: "Amar S. Tumballi" <amar at zresearch.com>
> An: Steve <steeeeeveee at gmx.net>
> CC: gluster-users at gluster.org
> Betreff: Re: [Gluster-users] Problems starting Gluster server

> Steve,
>  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.
> 
Okay. This could explain why using gcc 4.2.4 did not helped. I use libtool 2.2.4. Let me downgrade this beast and try again.
Well... downgraded from 2.2.4 to 1.5.26 and recompiled Gluster 1.3.11 and it works. Both of them. Client and server. So it is a libtool issue.



> Btw, when you say, client part crashing horribly, what exactly is
> happening?
> 
Well... the so much loved sig 11 is(/was) happening:
---
2008-08-25 22:43:39 D [glusterfs.c:167:get_spec_fp] glusterfs: loading spec from /etc/glusterfs/glusterfs-client.vol
2008-08-25 22:43:39 D [spec.y:107:new_section] parser: New node for 'client'
2008-08-25 22:43:39 D [xlator.c:115:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/1.3.11/xlator/protocol/client.so
2008-08-25 22:43:39 D [spec.y:127:section_type] parser: Type:client:protocol/client
2008-08-25 22:43:39 D [spec.y:141:section_option] parser: Option:client:transport-type:tcp/client
2008-08-25 22:43:39 D [spec.y:141:section_option] parser: Option:client:remote-host:127.0.0.1
2008-08-25 22:43:39 D [spec.y:141:section_option] parser: Option:client:remote-subvolume:brick
2008-08-25 22:43:39 D [spec.y:209:section_end] parser: end:client
2008-08-25 22:43:39 D [glusterfs.c:128:fuse_graph] glusterfs: setting option mount-point to /mnt/glusterfs-test
2008-08-25 22:43:39 D [xlator.c:115:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/1.3.11/xlator/mount/fuse.so
2008-08-25 22:43:39 E [xlator.c:120:xlator_set_type] xlator: dlopen(/usr/lib/glusterfs/1.3.11/xlator/mount/fuse.so): /usr/lib/glusterfs/1.3.11/xlator/mount/fuse.so: undefined symbol: fuse_session_destroy

TLA Repo Revision: glusterfs--mainline--2.5--patch-795
Time : 2008-08-25 22:43:39
Signal Number : 11

/usr/sbin/glusterfs -f /etc/glusterfs/glusterfs-client.vol -l /dev/stdout -L DEBUG /mnt/glusterfs-test

[0xb7f17400]
/lib/libc.so.6(__libc_start_main+0xfa)[0xb7d7f42a]
---------
Segmentation fault (core dumped)
---

> Regards,
> Amar
> 
// SteveB


> 2008/8/25 Steve <steeeeeveee at gmx.net>
> 
> >
> > -------- Original-Nachricht --------
> > > Datum: Mon, 25 Aug 2008 22:20:41 +0200
> > > Von: "Steve" <steeeeeveee at gmx.net>
> > > An: gluster-users at gluster.org
> > > Betreff: Re: [Gluster-users] Problems starting Gluster server
> >
> > >
> > > -------- Original-Nachricht --------
> > > > Datum: Mon, 25 Aug 2008 10:46:02 -0700
> > > > Von: Keith Freedman <freedman at FreeFormIT.com>
> > > > An: "Steve" <steeeeeveee at gmx.net>, gluster-users at gluster.org
> > > > Betreff: Re: [Gluster-users] Problems starting Gluster server
> > >
> > > > make sure everything is installed correctly.
> > > > look for:
> > > > /usr/lib/glusterfs/1.3.11/xlator/storage/posix.so
> > > >
> > > > if the gluster libs are in /usr/lib/glusterfs/1.3.11 poke around to
> > > > make sure it looks like all the bits are there.
> > > >
> > > > I had a similar problem once, I had to run make install from the
> > > > sub-directory of the xlators to get them installed.
> > > >
> > > It did not help to make the extra "make install" in the xlators sub
> > > directory. It just does not work. But while compiling gluster I
> spotted
> > this
> > > error/warning here:
> > > -----
> > > /bin/sh ../../../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc
> > > -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_LINUX_HOST_OS
> > > -I../../../../libglusterfs/src -shared -nostartfiles  -O2
> > -march=athlon-xp -pipe
> > > -Wl,-O1 -o io-cache.so  io-cache.o page.o ioc-inode.o
> > > ../../../../libglusterfs/src/libglusterfs.la -ldl -lpthread
> > > libtool: link: i686-pc-linux-gnu-gcc -fPIC -D_FILE_OFFSET_BITS=64
> > > -D_GNU_SOURCE -Wall -DGF_LINUX_HOST_OS -I../../../../libglusterfs/src
> > -nostartfiles
> > > -O2 -march=athlon-xp -pipe -Wl,-O1 -o .libs/io-cache.so io-cache.o
> page.o
> > > ioc-inode.o  ../../../../libglusterfs/src/.libs/libglusterfs.so -lfl
> -ldl
> > > -lpthread
> > >
> >
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../i686-pc-linux-gnu/bin/ld:
> > > warning: cannot find entry symbol _start; defaulting to
> 0000000008048e20
> > > -----
> > >
> > > Could that be the problem?
> > >
> > Searching the net I found this here:
> > http://buildlogs.pld-linux.org/index.php?log=105639
> > Which then lead me to this here:
> >
> http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/glusterfs-link_fix.patch
> >
> > 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.
> >
> > I am using gcc 4.3.1. Maybe the problem is specific to newer editions of
> > gcc? Has any one 1.3.11 compiled with gcc 4.3.1 without problems?
> >
> >
> > >
> > > > Keith
> > > >
> > > // SteveB
> > >
> > // SteveB
> >
> > >
> > > > At 10:29 AM 8/25/2008, Steve wrote:
> > > > >Hello
> > > > >
> > > > >While trying to start Gluster server I get the following error:
> > > > >2008-08-25 19:26:29 D [glusterfs.c:167:get_spec_fp] glusterfs:
> > > > >loading spec from /etc/glusterfs/glusterfs-server.vol
> > > > >2008-08-25 19:26:29 D [spec.y:107:new_section] parser: New node for
> > > > 'brick'
> > > > >2008-08-25 19:26:29 D [xlator.c:115:xlator_set_type] xlator:
> attempt
> > > > >to load file /usr/lib/glusterfs/1.3.11/xlator/storage/posix.so
> > > > >2008-08-25 19:26:29 E [xlator.c:120:xlator_set_type] xlator:
> > > > >dlopen(/usr/lib/glusterfs/1.3.11/xlator/storage/posix.so):
> > > > >/usr/lib/glusterfs/1.3.11/xlator/storage/posix.so: cannot
> > > > >dynamically load executable
> > > > >2008-08-25 19:26:29 E [spec.y:123:section_type] parser: failed to
> > > > >set the node type
> > > > >2008-08-25 19:26:29 E [spec.y:243:file_to_xlator_tree] parser:
> > > > >yyparser () exited with YYABORT
> > > > >2008-08-25 19:26:29 E [glusterfs.c:190:xlator_graph_get] glusterfs:
> > > > >specification file parsing failed, exiting
> > > > >2008-08-25 19:26:29 E [glusterfs.c:538:main] glusterfs: Unable to
> > > > >get xlator graph
> > > > >
> > > > >My glusterfs-server.vol file is very simple:
> > > > >/etc/glusterfs/glusterfs-server.vol
> > > > >volume brick
> > > > >   type storage/posix                   # POSIX FS translator
> > > > >   option directory /mnt/glusterfs      # Export this directory
> > > > >end-volume
> > > > >volume server
> > > > >   type protocol/server
> > > > >   option transport-type tcp/server     # For TCP/IP transport
> > > > >   option client-volume-filename
> /etc/glusterfs/glusterfs-client.vol
> > > > >   subvolumes brick
> > > > >   option auth.ip.brick.allow * # Allow access to "brick" volume
> > > > >end-volume
> > > > >
> > > > >
> > > > >Can any one help me to solve the problem? I really don't know where
> to
> > > > look.
> > > > >
> > > > >// SteveB
> > > > >--
> > > > >GMX startet ShortView.de. Hier findest Du Leute mit Deinen
> Interessen!
> > > > >Jetzt dabei sein:
> > > > http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
> > > > >
> > > > >_______________________________________________
> > > > >Gluster-users mailing list
> > > > >Gluster-users at gluster.org
> > > > >http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> > >
> > > --
> > > GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> > > Jetzt dabei sein:
> > > http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
> > >
> > > _______________________________________________
> > > Gluster-users mailing list
> > > Gluster-users at gluster.org
> > > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> >
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> >
> >
> 
> 
> -- 
> Amar Tumballi
> Gluster/GlusterFS Hacker
> [bulde on #gluster/irc.gnu.org]
> http://www.zresearch.com - Commoditizing Super Storage!

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser




More information about the Gluster-users mailing list