-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Bacula client status unknown on director. #3082
Comments
@gdha @Githopp192 |
Thanks Johannes .. cannot input the whole backup config - to confidential. But the context is easy to follow - as long as - in this example "client-fd" is there more than once (one uncommented); same is true for your check for "bconsole.conf": Affected script: /usr/share/rear/prep/BACULA/default/500_check_BACULA_bconsole_results.sh", line 15 & 32 |
@Githopp192 I am not a user of Bacula |
Very welcome, Johannes .. yes can understand & glad to support & thx for this great product. |
@Githopp192 We don't get many reports when it works |
@Githopp192 seems you modified the bacula code to work again? Why not provide a pull request so others may benefit from your enhancements? |
@gdha (did not change the code ... as workaround only removed the entries with comments ==> #xxxxxxxx) i'm glad you mentioned that, because today - this got into my mind, too .... may be it sounds stupid enough, i should/i could .. but i'm not experienced with this .. but - yes this is not an excuse :-) - i will give it a try. Thx 4 your input. I do appreciate ... reading ... |
Stale issue message |
Stale issue message |
Signed-off-by: gdha <gratien.dhaese@gmail.com>
@Githopp192 Could you verify if the updated script |
#3182 |
With PR #3067 merged we can close this issue if there are no further comments or reactions from the users. |
Relax-and-Recover 2.6 / 2020-06-17
If your ReaR version is not the current version, explain why you can't upgrade:
OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
Red Hat Enterprise Linux 8.9 (Ootpa)"
ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
HPE ProLiant DL20 Gen10
x86
Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT"):
Description of the issue (ideally so that others can reproduce it):
When REAR will check if bacula is available it will run:
"/usr/share/rear/prep/BACULA/default/500_check_BACULA_bconsole_results.sh"
This script will do a :
grep -i address /etc/bacula/bconsole.conf | awk '{ print $3 }'
In my environment/case i've got an entry in "/etc/bacula/bconsole.conf"
The obove mentioned script's output is:
grep -i address /etc/bacula/bconsole.conf | awk '{ print $3 }':
And that it is - the bacula check will fail - but indeed all is running (bacula) properly.
So the script command line should check in a more specifc way, like :
grep '^[[:space:]]address[[:space:]]=' /etc/bacula/bconsole.conf
remove the comment-"address"-entries in the /etc/bacula/bconsole.conf
... same is valid for command:
grep $(hostname -s) /etc/bacula/bacula-fd.conf | grep "-fd" | awk '{print $3}' | sed -e "s/-fd//g"
It seems REAR will not handle config files properly, when some line are commented with similar content.
You can drag-drop log files into this editor to create an attachment
or paste verbatim text like command output or file content
by including it between a leading and a closing line of
three backticks like this:
The text was updated successfully, but these errors were encountered: