Bacula-users

Re: [Bacula-users] solaris sparc 7.0.5 clients crash

2014-08-19 11:51:06
Subject: Re: [Bacula-users] solaris sparc 7.0.5 clients crash
From: Stephen Thompson <stephen AT seismo.berkeley DOT edu>
To: Heitor Faria <heitor AT bacula.com DOT br>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 19 Aug 2014 08:48:38 -0700

Funny it does say that, but it does not build the DIR or SD.  It does 
the supporting libs of course.  Anyway, the build looks good...

==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/src
==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/scripts
==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/src/lib
Compiling attr.c
Compiling base64.c
Compiling berrno.c
Compiling bsys.c
Compiling binflate.c
Compiling bget_msg.c
Compiling bnet.c
Compiling bnet_server.c
Compiling runscript.c
Compiling bsock.c
Compiling bpipe.c
Compiling bsnprintf.c
Compiling btime.c
Compiling cram-md5.c
Compiling crc32.c
Compiling crypto.c
Compiling daemon.c
Compiling edit.c
Compiling fnmatch.c
Compiling guid_to_name.c
Compiling hmac.c
Compiling jcr.c
Compiling lex.c
Compiling alist.c
Compiling dlist.c
Compiling md5.c
Compiling message.c
Compiling mem_pool.c
Compiling mntent_cache.c
Compiling openssl.c
Compiling plugins.c
Compiling priv.c
Compiling queue.c
Compiling bregex.c
Compiling rwlock.c
Compiling scan.c
Compiling sellist.c
Compiling serial.c
Compiling sha1.c
Compiling signal.c
Compiling smartall.c
Compiling rblist.c
Compiling tls.c
Compiling tree.c
Compiling util.c
Compiling var.c
Compiling watchdog.c
Compiling workq.c
Compiling btimers.c
Compiling address_conf.c
Compiling breg.c
Compiling htable.c
Compiling lockmgr.c
Compiling devlock.c
Making libbac.la ...
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++    -o libbac.la attr.lo base64.lo berrno.lo 
bsys.lo binflate.lo bget_msg.lo  bnet.lo bnet_server.lo runscript.lo 
bsock.lo bpipe.lo bsnprintf.lo btime.lo  cram-md5.lo crc32.lo crypto.lo 
daemon.lo edit.lo fnmatch.lo  guid_to_name.lo hmac.lo jcr.lo lex.lo 
alist.lo dlist.lo  md5.lo message.lo mem_pool.lo mntent_cache.lo 
openssl.lo  plugins.lo priv.lo queue.lo bregex.lo  rwlock.lo scan.lo 
sellist.lo serial.lo sha1.lo  signal.lo smartall.lo rblist.lo tls.lo 
tree.lo  util.lo var.lo watchdog.lo workq.lo btimers.lo  address_conf.lo 
breg.lo htable.lo lockmgr.lo devlock.lo -export-dynamic -rpath 
/opt/bacula/lib -release 7.0.5   -lz  -lpthread -lresolv -lnsl -lsocket 
-lxnet  -lintl -lresolv -lrt
Compiling ini.c
Compiling parse_conf.c
Compiling res.c
Making libbaccfg.la ...
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++    -o libbaccfg.la ini.lo parse_conf.lo 
res.lo -export-dynamic -rpath /opt/bacula/lib -release 7.0.5  -lpthread 
-lresolv -lnsl -lsocket -lxnet  -lintl -lresolv -lrt
==== Make of lib is good ====

==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/src/findlib
Compiling find.c
Compiling match.c
Compiling find_one.c
Compiling file_attrs.c
Compiling file_create.c
Compiling bfile.c
Compiling drivetype.c
Compiling priv.c
Compiling fstype.c
Compiling makepath.c
Making libbacfind.la ...
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++    -o libbacfind.la find.lo match.lo 
find_one.lo file_attrs.lo file_create.lo  bfile.lo drivetype.lo priv.lo 
fstype.lo makepath.lo -export-dynamic -rpath /opt/bacula/lib -release 7.0.5
==== Make of findlib is good ====

==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/src/filed
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xattr.c
Linking bacula-fd ...
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++   -L../lib -L../findlib -o bacula-fd 
filed.o authenticate.o acl.o backup.o estimate.o  fd_plugins.o 
accurate.o  filed_conf.o heartbeat.o job.o  restore.o status.o verify.o 
verify_vol.o xattr.o \
    -lnvpair -lsec -lz -lbacfind -lbaccfg -lbac -lm -lpthread -lresolv 
-lnsl -lsocket -lxnet  -lintl -lresolv -lrt \

ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple 
inclusion of file
==== Make of filed is good ====

==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/src/console
Compiling console.c
Compiling console_conf.c
Compiling authenticate.c
Compiling conio.c
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++   -L../lib -L../cats -o bconsole console.o 
console_conf.o authenticate.o conio.o \
        -lncurses -lbaccfg -lbac -lm -lpthread -lresolv -lnsl -lsocket 
-lxnet  -lintl -lresolv -lrt  \

ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple 
inclusion of file
==== Make of console is good ====

==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/src/plugins/fd
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=compile /usr/sfw/bin/g++   -fno-strict-aliasing -fno-exceptions 
-fno-rtti -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti 
-I../.. -I../../filed -c bpipe-fd.c
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++  -shared bpipe-fd.lo -o bpipe-fd.la -rpath 
/opt/bacula/lib -module -export-dynamic -avoid-version
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=compile /usr/sfw/bin/g++   -fno-strict-aliasing -fno-exceptions 
-fno-rtti -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti 
-I../.. -I../../filed -c test-plugin-fd.c
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++  -shared test-plugin-fd.lo -o 
test-plugin-fd.la -rpath /opt/bacula/lib -module -export-dynamic 
-avoid-version
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=compile /usr/sfw/bin/g++   -fno-strict-aliasing -fno-exceptions 
-fno-rtti -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti 
-I../.. -I../../filed -c test-deltaseq-fd.c
/opt/src/bacula/bacula-7.0.5-CLIENT/libtool --silent --tag=CXX 
--mode=link /usr/sfw/bin/g++  -shared test-deltaseq-fd.lo -o 
test-deltaseq-fd.la -rpath /opt/bacula/lib -module -export-dynamic 
-avoid-version
==>Entering directory /opt/src/bacula/bacula-7.0.5-CLIENT/manpages




On 8/19/14 8:31 AM, Heitor Faria wrote:
> Stephen,
>
> Sorry for insisting on this subject, but I saw that even you using the
> --enable-client-only the configuration output said it would build Director:
>
>     client-only:    yes
>     build-dird:   yes
>     build-stored:   yes
>
> Last night I've compiled for Debian, and if the MYSQL_LIBS path wasn't
> correct the director and file daemon were not built.
> Again: this is just a wild guess that could be tested. Sorry I don't
> have a Solaris here installed to test for you.
>
>     It's a client-only build not linked against any database.
>
>     env CC='/usr/sfw/bin/gcc' \
>     env CXX='/usr/sfw/bin/g++' \
>     env CFLAGS='-g -O2' \
>     env CXXFLAGS='-g -02' \
>          ./configure \
>              --prefix=$BHOME \
>              --sbindir=$BHOME/bin \
>              --sysconfdir=$BHOME/conf \
>              --with-working-dir=$BHOME/work \
>              --with-bsrdir=$BHOME/log \
>              --with-logdir=$BHOME/log \
>              --with-pid-dir=/var/run \
>              --with-subsys-dir=/var/run \
>              --with-basename=lawson \
>              --with-hostname=lawson \
>              --with-dump-email=$EMAIL \
>              --enable-smartalloc \
>              --enable-client-only \
>              --with-openssl=no
>
>
>     Same configure works fine with 5X source; been running with this for
>     literally years, though many versions of 5X.  Same config works fine
>     on Solaris 10 x86.
>
>     Stephen
>
>
>
>     On 8/19/14 8:08 AM, Heitor Faria wrote:
>
>
>           > Anyone with success in running a 7x client on Solaris 10 SPARC?
>           > We've recently attempted to upgrade clients from 5x to 7.0.5
>         and it
>           > works fine on Solaris 10 x86, but on SPARC nothing but
>         crashes once jobs
>           > are submitted.  SPARC clients build and run (without jobs) fine.
>
>         Couldn't autenticate in the link but wild hint here: did you
>         changed the
>         /src/cats/Makefile to put the correct path to the database libs?
>
>           >
>           > http://bugs.bacula.org/view.__php?id=2094
>         <http://bugs.bacula.org/view.php?id=2094>
>           >
>           > thanks,
>           > Stephen
>           > --
>           > Stephen Thompson               Berkeley Seismological Laboratory
>           > stephen AT seismo.berkeley DOT edu
>         <mailto:stephen AT seismo.berkeley DOT edu>
>         <mailto:stephen@seismo.__berkeley.edu
>         <mailto:stephen AT seismo.berkeley DOT edu>>
>
>         215 McCone Hall # 4760
>           > 510.214.6506 <tel:510.214.6506> (phone)           University
>         of California, Berkeley
>           > 510.643.5811 <tel:510.643.5811> (fax)             Berkeley,
>         CA 94720-4760
>           >
>           >
>         
> ------------------------------__------------------------------__------------------
>           > _________________________________________________
>           > Bacula-users mailing list
>           > Bacula-users@lists.__sourceforge.net
>         <mailto:Bacula-users AT lists.sourceforge DOT net>
>         <mailto:Bacula-users@lists.__sourceforge.net
>         <mailto:Bacula-users AT lists.sourceforge DOT net>>
>           > https://lists.sourceforge.net/__lists/listinfo/bacula-users
>         <https://lists.sourceforge.net/lists/listinfo/bacula-users>
>
>
>     --
>     Stephen Thompson               Berkeley Seismological Laboratory
>     stephen AT seismo.berkeley DOT edu <mailto:stephen AT seismo.berkeley DOT 
> edu>
>     215 McCone Hall # 4760
>     510.214.6506 <tel:510.214.6506> (phone)           University of
>     California, Berkeley
>     510.643.5811 <tel:510.643.5811> (fax)             Berkeley, CA
>     94720-4760
>
>
>
>
> --
> ============================================
> Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code
> at Udemy: bacula-users
> <https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users>
> +55 61 2021-8260
> +55 61 8268-4220
> Site: www.bacula.com.br <http://www.bacula.com.br/>
> Facebook: heitor.faria <http://www.facebook.com/heitor.faria>
> Gtalk: heitorfaria AT gmail DOT com <mailto:heitorfaria AT gmail DOT com>
> ============================================

-- 
Stephen Thompson               Berkeley Seismological Laboratory
stephen AT seismo.berkeley DOT edu    215 McCone Hall # 4760
510.214.6506 (phone)           University of California, Berkeley
510.643.5811 (fax)             Berkeley, CA 94720-4760

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>