Martin Simmons wrote:
>
> >
> > >
> > > >
> > > > >
> > > > > > On Mon, 08 Nov 2010 16:50:46 -0500, AndyW said:
> > > > > >
> > > > >
> > > >
> > >
> >
> > I have been using Bacula for a few months now happily on x86_64 FC12 & FC13.
> > I have just now upgraded to FC14, duing which my Bacula packages got
> > upgraded to 5.0.2-8.fc14, but am now unable to start bacula-sd (the storage
> > daemon). The service dies as soon as I start it and I get a message
> > "bacula-sd dead but subsys locked" if I query the status. Whenever I query
> > the status or stop bacula-sd - but not when I (re)start it - I get the
> > following syslog messages referencing libc-2.12.90.so:- root < at >
> > localhost
> > init.d]# ./bacula-sd status bacula-sd dead but subsys locked
> >
> > Nov 8 21:24:47 localhost kernel: [161155.229044] pidof[17514]: segfault at
> > 0 ip 00007f2f9097d316 sp 00007fffb83e2888 error 4 in
> > libc-2.12.90.so[7f2f908fc000+199000]
> > Nov 8 21:24:47 localhost kernel: [161155.271610] pidof[17515]: segfault at
> > 0 ip 00007f8835f08316 sp 00007fff931ff828 error 4 in
> > libc-2.12.90.so[7f8835e87000+199000]
> > libc-2.12.90.so is part of GNU libc. I have both x86_64 and i686 versions,
> > and a total of three instances of the file:
> > [root < at > localhost etc]# find / -name libc-2.12.90.so -exec ls -l {} \;
> > -rwxr-xr-x. 1 root root 1989560 Oct 22 18:50 /lib64/libc-2.12.90.so
> > -rwxr-xr-x. 1 root root 1906468 Oct 22 18:59
> > /lib/i686/nosegneg/libc-2.12.90.so
> > -rwxr-xr-x. 1 root root 1886052 Oct 22 18:59 /lib/libc-2.12.90.so
> >
> > All are on version level glibc-2.12.90-18.
> >
> > Are there any known issues with this version of glibc? Anyone else have the
> > same problem with bacula / FC14 - or alternatively have it all working fine?
> > The other parts of bacula (bacula-dir and bacula-fd) are fine and the tape
> > drive (Tandberg SLR7) works fine with mt and tapeinfo. Kernel is
> > 2.6.35.6-48.fc14.x86_64
> >
>
> I suggest you install the Fedora glibc-debuginfo package and then run
> bacula-sd under gdb to get a backtrace:
>
> http://www.bacula.org/5.0.x-manuals/en/problems/problems/What_Do_When_Bacula.html#SECTION00640000000000000000
>
> __Martin
>
Thanks for the tip. This is the output I get
[root@localhost sbin]# cd /usr/sbin
[root@localhost sbin]# gdb ./bacula-sd
GNU gdb (GDB) Fedora (7.2-23.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/bacula-sd...Reading symbols from
/usr/lib/debug/usr/sbin/bacula-sd.debug...done.
done.
(gdb) run -s -f -c /etc/bacula/bacula-sd.conf
Starting program: /usr/sbin/bacula-sd -s -f -c /etc/bacula/bacula-sd.conf
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 30113.
[New Thread 0x7ffff2132700 (LWP 30114)]
[New Thread 0x7ffff1931700 (LWP 30115)]
[Thread 0x7ffff2132700 (LWP 30114) exited]
[New Thread 0x7ffff2132700 (LWP 30124)]
[Thread 0x7ffff2132700 (LWP 30124) exited]
In the debugger bacula-sd starts and appears to work normally (in that Bat
console can connect to it) although when I query the daemon status is says it
is stopped, as opposed to dead previously.
It turns out that if I add the "-s" command line option (for "Do not trap
signals") to the init.d daemon script then bacula-sd will start and function
correctly, though it then returns status of dead and cannot be stopped using
the script & has to be killed instead. I also get the syslog error messages
about libc when I query the status or try to stop the daemon.
I also built bacula-sd from 5.0.2 source, and got the same outcome as with the
FC14 package - which suggests it isn't a Fedora package build error. I haven't
tried building 5.0.3 and Fedora doesn't appear to have a package in
updates-testing or even rawhide yet.
Works for me again now, but any ideas what is going wrong?
Andrew[/code]
+----------------------------------------------------------------------
|This was sent by andrew AT wasielewski.co DOT uk via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|