View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000626 | bareos-core | director | public | 2016-02-26 15:24 | 2016-03-29 13:11 |
Reporter | maxoz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Debian | OS Version | 7 |
Product Version | 15.2.2 | ||||
Summary | 0000626: bareos-dir: ERROR in output_formatter.c:427 Failed to send message. | ||||
Description | Distributor ID: Debian Description: Debian GNU/Linux 7.9 (wheezy) Release: 7.9 Codename: wheezy Packages: bareos-director Installed: 15.2.2-37.1 After updating to version 15.2.2 .. regularly getting error messages (daemon.log) like the following: *** 25-Feb 02:45 bareos-dir: ERROR in output_formatter.c:427 Failed to send message. Maybe result message to long? Message length = 231 *** Please help me understand: - https://bugs.bareos.org/view.php?id=600 - There was information on resolving the issue ("director gave spurious errors from the output formatter") but in version 15.2.2-37.1 - bug is still present!? Thank you. | ||||
Tags | No tags attached. | ||||
The output_formatter has been added to a able to represent the output of bconsole commands in different formats. Normally you see the plain text output in the bconsole. With ".api json" you can switch to the json output. This error message occurs, when the OutputFormatter fail to send/print/write a message. Normally this is triggered by bconsole commands. Given the time of your message: is there a job with runscripts/admin job running? If yes, please send me this part of the configuration. Maybe there is some bug. Anyhow, it should not cause any harm, only the message will not be displayed. The error message states: "Maybe result message to long?" because there is a known issue with the underlying TCP functions, that prevent sending long (>= 64000 bytes?) messages. However, as you message is only 231 bytes, that is not the cause of your issue. |
|
I am very grateful for the answer. Was not enough information about "output_formatter", and so thank you - it became clear for what and why, and how going on. For my part, I want to apologize because we had a damaged (corrupted) database, (table "file"), and after restored database, errors ("Failed to send message")no longer appear in the log. -- "Given the time of your message: is there a job with runscripts/admin job running?" Yes you are right. But I am now not sure, because there were problems with the database... We use the following: *** JobDefs { Name = "postgres-dump" Type = "Backup" Level = Full Priority = 10 Messages = "bareos-dir-messages-standard" Storage = "disk-bkx1" Schedule = "postgres-dump" Pool = "postgres-dumps" Fileset = "postgres-dump-bpipe" Accurate = yes Allow Duplicate Jobs = no Cancel Queued Duplicates = yes Client Run Before Job = "/etc/bareos/scripts/get_postgres_mode.sh" } FileSet { Name = "postgres-dump-bpipe" Include { Options { Signature = SHA1 } Plugin = "\\|/etc/bareos/scripts/postgres-bpipe" } } *** |
|
Problem seems was on our side. joergs, thanks again. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-26 15:24 | maxoz | New Issue | |
2016-02-26 18:27 | frank | Assigned To | => joergs |
2016-02-26 18:27 | frank | Status | new => assigned |
2016-03-10 15:29 | joergs | Note Added: 0002209 | |
2016-03-10 15:29 | joergs | Status | assigned => feedback |
2016-03-11 17:08 | maxoz | Note Added: 0002216 | |
2016-03-11 17:08 | maxoz | Status | feedback => assigned |
2016-03-11 17:18 | maxoz | Note Added: 0002217 | |
2016-03-29 13:11 | joergs | Status | assigned => resolved |
2016-03-29 13:11 | joergs | Resolution | open => no change required |
2016-03-29 13:11 | joergs | Status | resolved => closed |
2016-03-29 13:11 | joergs | Assigned To | joergs => |