win10: bareos service does not start

22 views
Skip to first unread message

Sven Gehr

unread,
Dec 13, 2019, 1:50:34 AM12/13/19
to bareos-users
Hi@all,

i've been using the bareos server under ucs 4.4.3 for some time now to create backups for various clients (ucs-member, win7 ..) which works fine.

Now I want to add the first Windows10 client to the backup which doesn't work. The client is joined to the domain and the DNS resolution works in both directions. The firewall on the Windows client is switched off.

I installed the Bareos Client 18.2.5 (64Bit) and entered all data in the setup wizard.:

Afterwards I also did a reboot. In the Windows service management I see that the service does not start. In the event log is written:

Service "Bareos File Backup Service" was stopped unexpectedly. This has already happened 2 times.

I also noticed that the syntax of the configuration has changed. In C:\ProgramData\Bareos I have two files:

[configure.sed]
s#@db_name@#bareos#g
s#@dir_port@#9101#g
s#@fd_port@#9102#g
s#@sd_port@#9103#g
s|@job_email@|root@localhost|g
s|@smtp_host@|localhost|g
s|@uncomment_dbi@|#|g
s|mail = @job_email@|# mail = @job_email@|g
s|mailcommand =|# mailcommand =|g
s|operator = @job_email@|# operator = @job_email@|g
s|operatorcommand =|# operatorcommand =|g
s#@basename@-fd#winsrv01.dawa.lan-fd#g
s#localhost-fd#winsrv01.dawa.lan-fd#g
s#bareos-dir#bareos-dir#g
s#bareos-mon#winsrv01-mon#g
s#@basename@-sd#bareos-sd#g
s#XXX_REPLACE_WITH_DATABASE_DRIVER_XXX#postgresql#g
s#QueryFile = #Working Directory = "C:/ProgramData/Bareos/working"\n  QueryFile = #g
s#make_catalog_backup.pl#make_catalog_backup.bat#g
s#delete_catalog_backup#delete_catalog_backup.bat#g
s#/tmp/bareos-restores#C:/temp/bareos-restores#g
s#@DEFAULT_DB_TYPE@#postgresql#g
s#@basename@#winsrv01#g
s#@db_password@#bareos#g
s#@db_port@#5432#g
s#@db_user@#bareos#g
s#@dir_password@#scNyYJCqD30HXMf2M2lsQ1P9UyLPpiITXH1HVzFHuGco#g
s#@fd_password@#$#edv_bareos#g
s#@hostname@#winsrv01#g
s#@mon_dir_password@#e+oYD5TKuqkkS7MQRUfkPdcTQMI66NpHRc2fXaRkg3vF#g
s#@mon_fd_password@#$#edv_bareos#g
s#@mon_sd_password@#StorageMonitorPassword#g
s#@sd_password@#XGOBrgTn/R4sAzS5lhQR4hUSzMZ0mrX+Lrv1XWpa/EpY#g
s#/usr/.*mingw.*/sys-root/mingw/sbin#C:/Program Files/Bareos#g
s#/usr/.*mingw.*/sys-root/mingw/bin#C:/Program Files/Bareos#g
s#/var/lib/bareos/storage#C:/bareos-storage#g
s#var/log/bareos/#C:/ProgramData/Bareos/logs#g
s#/usr/.*mingw.*/sys-root/mingw/lib/bareos/backends#C:/Program Files/Bareos#g
s#/usr/.*mingw.*/sys-root/mingw/etc/bareos#C:/ProgramData/Bareos#g
s#/usr/.*mingw.*/sys-root/mingw/lib/bareos/plugins#C:/Program Files/Bareos/Plugins#g
s#/usr/.*mingw.*/sys-root/mingw/lib/bareos/scripts#C:/ProgramData/Bareos/scripts#g
s#/var/lib/bareos#C:/ProgramData/Bareos/working#g
s#dbpassword = .*#dbpassword = bareos#g


and

[fillup.sed]
s#@db_name@#bareos#g
s#@dir_port@#9101#g
s#@fd_port@#9102#g
s#@sd_port@#9103#g
s|@job_email@|root@localhost|g
s|@smtp_host@|localhost|g
s|@uncomment_dbi@|#|g
s|mail = @job_email@|# mail = @job_email@|g
s|mailcommand =|# mailcommand =|g
s|operator = @job_email@|# operator = @job_email@|g
s|operatorcommand =|# operatorcommand =|g


Is there possibly something wrong here?

best regards
sven
Reply all
Reply to author
Forward
0 new messages