I just did little experiment with bpipe-fd plugin under my Debian
linux. same problem.

download bacula-5.0.2 src
compile bacula-fd and bpipe-fd plugin
start it
lnx1:/usr/src/bacula-5.0.2/src/filed# ./bacula-fd -f -d 100
bacula-fd: filed_conf.c:452-0 Inserting director res: lnx1-mon
lnx1-fd: jcr.c:138-0 read_last_jobs seek to 188
lnx1-fd: jcr.c:145-0 Read num_items=0
lnx1-fd: plugins.c:143-0 Loaded plugin: name=bpipe-fd.so len=11
lnx1-fd: fd_plugins.c:610-0 is_plugin_compatible called
lnx1-fd: filed.c:275-0 filed: listening on port 9102
lnx1-fd: bnet_server.c:96-0 Addresses host[ipv4:127.0.0.1:9102]
^C

it works


change bpipe-fd license string from "Bacula GPLv2" to "GPL"
compile bpipe-fd
start it
lnx1:/usr/src/bacula-5.0.2/src/filed#
lnx1:/usr/src/bacula-5.0.2/src/plugins/fd# make
/usr/src/bacula-5.0.2/libtool --silent --tag=CXX --mode=compile
/usr/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
/usr/src/bacula-5.0.2/libtool --silent --tag=CXX --mode=link
/usr/bin/g++  -shared bpipe-fd.lo -o bpipe-fd.la -rpath /usr/lib
-module -export-dynamic -avoid-version
lnx1:/usr/src/bacula-5.0.2/src/filed#
lnx1:/usr/src/bacula-5.0.2/src/filed# ./bacula-fd -f -d 100
bacula-fd: filed_conf.c:452-0 Inserting director res: lnx1-mon
lnx1-fd: jcr.c:138-0 read_last_jobs seek to 188
lnx1-fd: jcr.c:145-0 Read num_items=0
lnx1-fd: plugins.c:143-0 Loaded plugin: name=bpipe-fd.so len=11
lnx1-fd: fd_plugins.c:610-0 is_plugin_compatible called
lnx1-fd: fd_plugins.c:634-0 Plugin license incompatible.
Plugin=bpipe-fd.so license=GPL
lnx1-fd: plugins.c:72-0 Got plugin=bpipe-fd.so but not accepted.
lnx1-fd: plugins.c:128-0 Failed to find any plugins in
/usr/src/bacula-5.0.2/src/plugins/fd/.libs
Bacula interrupted by signal 11: Segmentation violation
Kaboom! lt-bacula-fd, lnx1-fd got signal 11 - Segmentation violation.
Attempting traceback.
Kaboom! exepath=/usr/src/bacula-5.0.2/src/filed
Calling: /usr/src/bacula-5.0.2/src/filed/btraceback
/usr/src/bacula-5.0.2/src/filed/lt-bacula-fd 13921 /var/lib/bacula
execv: /usr/src/bacula-5.0.2/src/filed/btraceback failed: ERR=No such
file or directory
It looks like the traceback worked ...
Dumping: /var/lib/bacula/lnx1-fd.13921.bactrace
lnx1-fd: lockmgr.c:928 lockmgr disabled
Orphaned buffer:  lnx1-fd    272 bytes buf=9b27fe0 allocated at
../lib/mem_pool.h:93
Orphaned buffer:  lnx1-fd   2300 bytes buf=9b30168 allocated at plugins.c:122

!!!!!!!!!! UPS !!!!!!!!!!!!

change license string back
compile
start it
it works




On Wed, May 12, 2010 at 4:09 PM, Kern Sibbald <[email protected]> wrote:
> On Wednesday 12 May 2010 14:14:52 James Harper wrote:
>> > For me, both the 32 bit and 64 bit windows bacula-fd.exe 5.0.2
>>
>> downloaded from
>>
>> > bacula.org are crashing straight away.
>> > That is, they crash when I try to start them. I don't get as far as
>>
>> actually
>>
>> > trying to run a backup.
>> >
>> > I tracked the problem down to the exchange plugin.
>> > When I delete exchange-fd.dll, I can start bacula-fd.exe.
>> >
>> > Has anybody else had this problem?
>>
>> Can you tell me what version of Windows and Exchange you are using? A 64
>> bit version of Exchange will require a 64 bit version of Bacula, but as
>> you have tried both I don't think that is your problem.
>>
>> In the registry there is a key called
>> HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\DLLPaths containing
>> a value called esebcli2. This should contain the path to the
>> esebcli2.dll Exchange API. Please confirm that the registry entry
>> exists, and that the DLL is where the registry says it should be.
>
> I just checked the plugin, and the copyright that is used in 5.0.2 *should*
> not cause any failure.
>
> Kern
>
>>
>> James
>>
>>
>> ---------------------------------------------------------------------------
>>---
>>
>> _______________________________________________
>> Bacula-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>

------------------------------------------------------------------------------

_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to