[Gluster-users] Problems starting Gluster server

Amar S. Tumballi amar at zresearch.com
Mon Aug 25 20:57:50 UTC 2008


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.

Btw, when you say, client part crashing horribly, what exactly is happening?

Regards,
Amar

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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20080825/eccf3375/attachment.html>


More information about the Gluster-users mailing list