On 05/20/15 05:20 PM, G Jo wrote:
> [GJ] yet more unexpected errors unfortunately. :(
> when i try to use the bpluginfo on the fileDaemon client ip-172-31-72-8 the 
> output is as below
>
> [root@ip-172-31-72-8 plugins]# pwd
> /usr/lib64/bareos/plugins
> [root@ip-172-31-72-8 plugins]# ls -l
> total 120
> -rwxr-xr-x 1 root root  20056 May 20 11:36 bpipe-fd.so
> -rwxr-xr-x 1 root root 100234 May 20 11:38 pgsql-fd.so
> [root@ip-172-31-72-8 plugins]# /opt/bacula/bin/bpluginfo -iv 
> /usr/lib64/bareos/plugins/bpipe-fd.so 
>
> Cannot load a plugin: -iv: cannot open shared object file: No such file or 
> directory
>
> [root@ip-172-31-72-8 plugins]# /opt/bacula/bin/bpluginfo -iv 
> /usr/lib64/bareos/plugins/pgsql-fd.so 
>
> Cannot load a plugin: -iv: cannot open shared object file: No such file or 
> directory
>
> Obviously the files exist and there is no problem with permissions or paths. 
> I used the file command to check shared object files and output was as 
> follows:
Uh ah, why do you have bacula stuff installed ? That for sure ain't
going to work.
The bpluginfo in bacula is kind of stupid in option parsing.

I would first uninstall all the old Bacula stuff given you have all kind
of stuff in
/opt/bacula it gives the impression the Enterprise Edition is installed
(maybe a test version)
but that is serious incompatible with BAREOS.

> [**** GJ ****]
> Didn't know about the debug capability so thank you very much as just as i 
> was beginning to tear the rest of my hair out i think we've uncovered the 
> root cause of the problem which is plugin version incompatibility.
>
> Full Output from /sbin/bareos-fd -f -d 200 is shown below but the key line is 
>
> ip-172-31-72-8-fd: fd_plugins.c:1632-0 Plugin version incorrect. 
> Plugin=pgsql-fd.so wanted=9 got=7 
>
> Does that mean bareos/bacula wants version 9 of the pgsql-plugin but we only 
> have version 7. Question is then how we match up the incompatibility? Can we 
> configure our bareos install to ask for the earlier version?
>
> [root@ip-172-31-72-8 bareos]# /sbin/bareos-fd -f -d 200
> bareos-fd: filed_conf.c:484-0 Inserting director res: ip-172-31-72-8-mon
> ip-172-31-72-8-fd: jcr.c:141-0 read_last_jobs seek to 192
> ip-172-31-72-8-fd: jcr.c:148-0 Read num_items=10
> ip-172-31-72-8-fd: plugins.c:222-0 load_plugins
> ip-172-31-72-8-fd: plugins.c:302-0 Found plugin: name=bpipe-fd.so len=11
> ip-172-31-72-8-fd: fd_plugins.c:1616-0 is_plugin_compatible called
> ip-172-31-72-8-fd: plugins.c:302-0 Found plugin: name=pgsql-fd.so len=11
> pgsql plugin: version 2.2 April 2013 (c) 2011 by Inteos
> pgsql plugin: connected to Bacula version 9
> ip-172-31-72-8-fd: fd_plugins.c:1616-0 is_plugin_compatible called
> ip-172-31-72-8-fd: fd_plugins.c:1632-0 Plugin version incorrect. 
> Plugin=pgsql-fd.so wanted=9 got=7 
> ip-172-31-72-8-fd: plugins.c:106-0 Got plugin=pgsql-fd.so but not accepted.
> ip-172-31-72-8-fd: fd_plugins.c:1591-0 Loaded plugin: bpipe-fd.so
> ip-172-31-72-8-fd: filed.c:267-0 filed: listening on port 9102
> ip-172-31-72-8-fd: bnet_server_tcp.c:166-0 Addresses host[ipv4;0.0.0.0;9102] 
This last show that you are not using the right plugin.
pgsql plugin: connected to Bacula version 9  our plugin says pgsql
plugin: connected to Bareos version 9

And yes it seems you have a Bacula plugin that won't work what so ever as we
need you to register your events you want to get and not unlike Bacula
send you
each and every event even when you don't want them.

So see my previous mail and ditch the old stuff and use that.

-- 
Marco van Wieringen                   [email protected]
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
                 P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to