You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When module notify Scheduling refresh of Service[bareos-dir], puppet return error:
Info: /Stage[main]/Main/Node[backup.mistal.local]/Bareos::Director::Console[admin]/File[/etc/bareos/bareos-dir.d/console/admin.conf]: Scheduling refresh of Service[bareos-dir]
Error: /Stage[main]/Bareos::Director/Service[bareos-dir]: Failed to call refresh: Systemd restart for bareos-dir failed!
journalctl log for bareos-dir:
-- Logs begin at Thu 2021-07-08 12:30:18 CEST, end at Thu 2021-07-08 13:17:28 CEST. --
-- No entries --
Error: /Stage[main]/Bareos::Director/Service[bareos-dir]: Systemd restart for bareos-dir failed!
journalctl log for bareos-dir:
-- Logs begin at Thu 2021-07-08 12:30:18 CEST, end at Thu 2021-07-08 13:17:28 CEST. --
-- No entries --
When i check:
service { $service_name:
ensure => $service_ensure,
enable => $service_enable,
hasrestart => false,
restart => $reload_command,
tag => ['bareos', 'bareos_director'],
}
root@backup:/etc/apache2# systemctl reload bareos-dir
Failed to reload bareos-dir.service: Job type reload is not applicable for unit bareos-director.service.
Works:
root@backup:/etc/apache2# /etc/init.d/bareos-dir reload
[ ok ] Reloading Bareos Director: bareos-dir.
The text was updated successfully, but these errors were encountered:
kenyon
changed the title
Compatybile witch Debian 10 and bareos 20
Error: /Stage[main]/Bareos::Director/Service[bareos-dir]: Failed to call refresh: Systemd restart for bareos-dir failed!
Aug 3, 2021
Affected Puppet, Ruby, OS and module versions/distributions
When module notify Scheduling refresh of Service[bareos-dir], puppet return error:
When i check:
it use reload_command:
in my case value of reload_command is:
when i try it in bash command return
Works:
or
The text was updated successfully, but these errors were encountered: