On 11/19/2010 8:06 AM, bacula-users AT catcons.co DOT uk wrote:
> Hello :-)
>
> On trying to restore, got the above error message after OKing first screen.
My first guess: you're mixing and matching different versions of Bacula
components. What versions are you running?
>
> Netsearching for the message got only two hits:
>
> 1. Oct 07 http://www.mail-archive.com/bacula-users AT lists.sourceforge DOT
> net/msg26974.html Suggested "CommandACL= *all*" in bacula-dir.conf's Console
> section. Tried it; did not fix.
>
> 2. June 10 http://www.mail-archive.com/bacula-devel AT lists.sourceforge DOT
> net/msg06507.html Suggested turning off automatic display of messages or
> setting interval to 5 minutes. Preferences → Timers → "Check Messages" was
> already cleared; set interval to 300 secs anyway; did not fix.
>
> Worked around by starting bconsole and running the messages command.
>
> In case it matters, Bacula was built on Slackware 64 13.1 from
> bacula-5.0.3.tar.gz using the following patch for the libtool/static problem
> (thanks to Martin Simmons) and the following configure options.
>
> === Patch begins ===
> --- orig/bacula-5.0.3/src/lib/bsys.c 2010-08-05 15:29:51.000000000 +0100
> +++ bacula-5.0.3/src/lib/bsys.c 2010-08-09 16:51:20.605909971 +0100
> @@ -676,6 +676,7 @@
> return escaped_path;
> }
>
> +#if 0
> /*
> * Deflate or compress and input buffer. You must supply an
> * output buffer sufficiently long and the length of the
> @@ -751,3 +752,4 @@
> return 1;
> #endif
> }
> +#endif
> --- orig/bacula-5.0.3/src/stored/Makefile.in 2010-08-05 15:29:51.000000000
> +0100
> +++ bacula-5.0.3/src/stored/Makefile.in 2010-08-09 17:07:54.712249198
> +0100
> @@ -72,6 +72,7 @@
>
> CAP_LIBS = @CAP_LIBS@
> FDLIBS=@FDLIBS@
> +ZLIBS=@ZLIBS@
>
>
> .SUFFIXES: .c .o
> @@ -126,7 +127,7 @@
>
> bextract: Makefile $(BEXTOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE)
> ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
> @echo "Compiling $<"
> - $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib
> -L../findlib -o $@ $(BEXTOBJS) $(DLIB) $(FDLIBS) \
> + $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib
> -L../findlib -o $@ $(BEXTOBJS) $(DLIB) $(FDLIBS) $(ZLIBS) \
> -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
>
> bscan.o: bscan.c
> === Patch ends ===
>
> === Configure options begin ===
> email=root@localhost
> group=bacula
> password=<some password>
> prefix=/opt/bacula
> user=bacula
>
> CFLAGS="-g -O2 -Wall" \
> ./configure \
> --docdir=$prefix/html \
> --disable-libtool \
> --enable-bat \
> --enable-batch-insert \
> --enable-readline \
> --enable-smartalloc \
> --enable-static-dir \
> --enable-static-fd \
> --enable-static-sd \
> --enable-tray-monitor \
> --htmldir=$prefix/html \
> --libdir=$prefix/lib \
> --mandir=/usr/man \
> --sbindir=$prefix/bin \
> --sysconfdir=$prefix/etc \
> --with-archivedir=/srv/bacula \
> --with-baseport=9101 \
> --with-dir-group=$group \
> --with-dir-password=$password \
> --with-dir-user=$user \
> --with-dump-email=$email \
> --with-fd-password=$password \
> --with-job-email=$email \
> --with-mon-dir-password=$password \
> --with-mon-fd-password=$password \
> --with-mon-sd-password=$password \
> --with-mysql \
> --with-pid-dir=$prefix/working \
> --with-plugindir=$prefix/plugins \
> --with-scriptdir=$prefix/scripts \
> --with-sd-group=$group \
> --with-sd-password=$password \
> --with-sd-user=$user \
> --with-smtp-host=localhost \
> --with-subsys-dir=$prefix/working \
> --with-working-dir=$prefix/working
> === Configure options end ===
--
Dan Langille - http://langille.org/
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|