Fatal error: bpipe plugin: Error closing stream for pseudo file file: 268435664

724 views
Skip to first unread message

Michael Mol

unread,
Jun 3, 2015, 10:38:50 AM6/3/15
to bareos...@googlegroups.com
Running Bareos 14.2.2 on CentOS 7

03-Jun 10:17 backup-director-fd JobId 36: Fatal error: bpipe plugin: Error closing stream for pseudo file file: 268435664

After finding this thread ( http://permalink.gmane.org/gmane.comp.sysutils.backup.bareos.user/571 ... gmane used to be easier to browse.), and several iterations of my script, and even insertion of logger(1) commands into my script not showing anything in syslog, I decided to try just having bareos run /bin/true ... and I get the same error.

In the information below, you can see the bpipe plugin loaded, that the script executed returned 0, and then the titular error message is reported. So I really don't know where to go from here. Help?

Following the information collection suggested here ( http://article.gmane.org/gmane.comp.sysutils.backup.bareos.user/971 ):

From bareos-fd.conf:

FileDaemon {                          # this is me
  Name = backup-director-fd
  Maximum Concurrent Jobs = 20

  Plugin Directory = /usr/lib64/bareos/plugins

  compatible = no
}

From running bareos-fd in the foreground with tracing:

backup-director-fd: plugins.c:302-0 Found plugin: name=bpipe-fd.so len=11
backup-director-fd: fd_plugins.c:1616-0 is_plugin_compatible called

...

backup-director-fd: fd_plugins.c:1591-0 Loaded plugin: bpipe-fd.so

...

backup-director-fd: fd_plugins.c:934-0 send_plugin_name=bpipe:file=/Pseudo/MySQL/dump.sql:reader=sh -c /bin/true:writer=sh -c 'mysql'
backup-director-fd: fd_plugins.c:943-0 send plugin name hdr: 1 26 0
backup-director-fd: fd_plugins.c:960-0 send plugin start/end: 1 1 1 bpipe:file=/Pseudo/MySQL/dump.sql:reader=sh -c /bin/true:writer=sh -c 'mysql'
backup-director-fd: backup.c:1288-0 encode_and_send_attrs fname=file
backup-director-fd: backup.c:1305-0 File file
attribs=A A IHA A A A A -B BAA B BVbwxq BVbwxq BVbwxq A A d
attribsEx=
backup-director-fd: backup.c:1333-0 >stored: attrhdr 1 1 0
backup-director-fd: backup.c:1501-0 No strip for file
backup-director-fd: backup.c:1437-0 >stored: attr len=65: 1 3 file
backup-director-fd: backup.c:748-0 type=3 do_read=1
backup-director-fd: bfile.c:1101-0 bopen: fname file, flags 0, mode 0, rdev 0
backup-director-fd: bfile.c:1104-0 call plugin_bopen fname=file
backup-director-fd: fd_plugins.c:1748-0 plugin_bopen flags=0
backup-director-fd: bpipe-fd.c:374-0 bpipe-fd: IO_OPEN
backup-director-fd: bpipe-fd.c:394-0 bpipe-fd: IO_OPEN fd=7ff734004138 reader=reader
backup-director-fd: fd_plugins.c:1773-0 Return from plugin open status=0
backup-director-fd: bfile.c:1106-0 Plugin bopen stat=0
backup-director-fd: backup.c:1146-0 Saving data, type=3
backup-director-fd: backup.c:1166-0 >stored: datahdr 1 29 0
backup-director-fd: fd_plugins.c:1823-0 plugin_bread
backup-director-fd: bfile.c:1178-0 Close file 0
backup-director-fd: fd_plugins.c:1787-0 ===== plugin_bclose
backup-director-fd: bpipe-fd.c:441-0 bpipe plugin: Error closing stream for pseudo file file: 268435664

And for good measure:

# yum list 'bareos*'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
bareos-bconsole.x86_64                   14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-common.x86_64                     14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-database-common.x86_64            14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-database-mysql.x86_64             14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-database-tools.x86_64             14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-director.x86_64                   14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-director-python-plugin.x86_64     14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-filedaemon.x86_64                 14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-storage.x86_64                    14.2.2-46.1.el7    @bareos_bareos-14.2
bareos-storage-glusterfs.x86_64          14.2.2-46.1.el7    @bareos_bareos-14.2
Available Packages
bareos.x86_64                            14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-bat.x86_64                        14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-client.x86_64                     14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-database-postgresql.x86_64        14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-database-sqlite3.x86_64           14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-debuginfo.x86_64                  14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-devel.x86_64                      14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-filedaemon-python-plugin.x86_64   14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-storage-fifo.x86_64               14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-storage-python-plugin.x86_64      14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-storage-tape.x86_64               14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-tools.x86_64                      14.2.2-46.1.el7    bareos_bareos-14.2 
bareos-traymonitor.x86_64                14.2.2-46.1.el7    bareos_bareos-14.2

Michael Mol

unread,
Jun 3, 2015, 11:16:19 AM6/3/15
to bareos...@googlegroups.com
I found this bug report: https://bugs.bareos.org/view.php?id=422

Noting that it was noted as a child of a ticket for releasing bareos 14.2.4, and that I'm running 14.2.2-something, I figured I'd try the workaround listed here: https://bugs.bareos.org/view.php?id=422#c1254

... and that seems to be the problem I'm facing; removing "$argname=" from each argument results in a "Backup OK" for some stupid simple test arguments. So I suppose what I need at this point is for Bareos's Cent7 yum repos at http://download.bareos.org/bareos/release/14.2/CentOS_7/ to get updated to 14.2.4 or better.

Meanwhile, I'll trudge along and get things working with the workaround. Thanks!
Reply all
Reply to author
Forward
0 new messages