Solved the problem (thanks, Enrique): On an AMD64 you must not use -O2 as a CFLAGS parameter. I tested around a bit. The --enable-smartalloc does not do any harm here, -g is also ok.
I had to include -O0 in my CFLAGS as "-g -O2 -Wall" seems to be the default when CFLAGS is not set at all. Thanks again for that quick help! Torsten. -- Torsten Uhlmann AGYNAMIX(R). Sheltering Talent. Phone: +49 3721 273445 Fax: +49 3721 273446 Mobile: +49 177 5261680 Web: http://www.agynamix.de > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of AGYNAMIX Torsten Uhlmann > Sent: Tuesday, March 07, 2006 3:34 PM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: RE: [Bacula-users] Bacula sd crashes > > Hi, > > > This is my current ./configure line: > > CFLAGS="-g -O2 -Wall" > ./configure --prefix=/usr/local > --sbindir=/usr/local/bacula/bin > --sysconfdir=/usr/local/bacula/etc > --with-pid-dir=/usr/local/bacula/working > --with-subsys-dir=/usr/local/bacula/working > --enable-smartalloc --with-mysql=/usr > --with-working-dir=/usr/local/bacula/working > [EMAIL PROTECTED] > [EMAIL PROTECTED] > --with-smtp-host=localhost > --with-baseport=9101 --enable-gnome --enable-tray-monitor > --with-scriptdir=/usr/local/bacula/scripts --enable-wx-console > > I'll remove -O2 and replace it with -O0. I'll also remove the > --enable-smartalloc, alloc sounds like a thing that has to do > with memory (reminds me on malloc) :) > > Bye, > Torsten. > > > > -- > > Torsten Uhlmann > AGYNAMIX(R). Sheltering Talent. > > Phone: +49 3721 273445 > Fax: +49 3721 273446 > Mobile: +49 177 5261680 > Web: http://www.agynamix.de > > > > -----Original Message----- > > From: Enrique de la Torre Gordaliza > > [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 07, 2006 3:11 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [Bacula-users] Bacula sd crashes > > > > > > Is this an AMD Opteron or Xeon EM64T?. It could be a 64bit compiler > > issue. Try compiling without -O2. > > > > > > El Martes, 7 de Marzo de 2006 13:26, AGYNAMIX Torsten Uhlmann > > escribió: > > > Hi all, > > > > > > I have some weird problems since I removed Ubuntu's > bacula 1.36 and > > > compiled my own (1.38.5 and 1.38.6-beta3). > > > > > > As a sidenote: With 1.36 on Ubuntu I had the problem that > > the directory > > > would hang occasionally. I could connect to it with the > > console (it said > > > "connected") but it would not display the list of available > > commands and I > > > could just do nothing... That was the reason for upgrading). > > > > > > I use a mysql database and have thrown away the mysql > > database and created > > > a new one. Also the bacula environment is completely new > > (new directories). > > > > > > I have reverted my conf files to the examples that come > > with bacula so that > > > nothing home brewed will screw it up. > > > > > > The FD runs as root, the other two as "bacula". The problem > > was also there > > > when they all ran as root. The /usr/local/bacula dir and > all subdirs > > > belongs to bacula.bacla > > > > > > Then I start my wx-console and issue a "run" command. > > > > > > This is the output in the console: > > > > > > 07-Mar 13:03 kaleb.agynamix.local-dir: No prior Full backup > > Job record > > > found. > > > 07-Mar 13:03 kaleb.agynamix.local-dir: No prior or suitable > > Full backup > > > found. Doing FULL backup. > > > 07-Mar 13:03 kaleb.agynamix.local-dir: Start Backup JobId 8, > > > Job=Kaleb.2006-03-07_13.03.53 > > > 07-Mar 13:03 kaleb.agynamix.local-dir: > > Kaleb.2006-03-07_13.03.53 Fatal > > > error: > > > Storage daemon didn't accept Device "FileStorage" because: > > > > > > JobId: 8 > > > Job: Kaleb.2006-03-07_13.03.53 > > > Backup Level: Full (upgraded from Incremental) > > > Client: "kaleb.agynamix.local-fd" > > > FileSet: "Full Set" 2006-03-07 12:40:32 > > > Pool: "Default" > > > Storage: "File" > > > Scheduled time: 07-Mar-2006 13:03:51 Start time: 07-Mar-2006 > > > 13:03:55 End time: 07-Mar-2006 13:03:55 Elapsed time: 0 secs > > > Priority: 10 > > > FD Files Written: 0 > > > SD Files Written: 0 > > > FD Bytes Written: 0 (0 B) > > > SD Bytes Written: 0 (0 B) > > > Rate: 0.0 KB/s > > > Software Compression: None > > > Volume name(s): > > > Volume Session Id: 1 > > > Volume Session Time: 1141732871 > > > Last Volume Bytes: 0 > > > Non-fatal FD errors: 0 > > > SD Errors: 0 > > > FD termination status: > > > SD termination status: > > > Termination: *** Backup Error *** > > > > > > After that when I issue a ps -ef | grep bacula the SD > > process is gone. > > > > > > Can you give me a hint what to look at, where the problem > might be? > > > > > > Thanks, > > > > > > Torsten. > > > > > > > > > -- > > > > > > Torsten Uhlmann > > > AGYNAMIX(R). Sheltering Talent. > > > > > > Phone: +49 3721 273445 > > > Fax: +49 3721 273446 > > > Mobile: +49 177 5261680 > > > Web: http://www.agynamix.de <http://www.agynamix.de/> > > > > -- > > Enrique de la Torre Gordaliza > > Departamento de Arquitectura de Computadores y Automática > Facultad de > > CC. Físicas, UCM Av. Complutense s/n C.P:28040 > > > > email: [EMAIL PROTECTED] > > tlfn: 913944389 > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language that extends applications into web and > mobile media. Attend the live webcast and join the prime > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd___________________________ > ____________________ > Bacula-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-users > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
