Bareos Bug Tracker - bareos-core
View Issue Details
0000714bareos-core[All Projects] Generalpublic2016-10-26 00:222018-11-27 12:16
tps800 
 
normalminoralways
newopen 
Windows 7Windows7
15.2.4 
 
0000714: tray-monitor does not start with default install in Windows
tray-monitor is installed to autostart with commandline:
"C:\Program Files\Bareos\bareos-tray-monitor.exe" \
  -c "C:\ProgramData\Bareos\tray-monitor.conf"

It will not start with this commandline. No error messages.
Install tray-monitor and bareos-fd configure both, start bareos-fd, then try to start tray-monitor.
Tray -monitor will start, then quit immediately without any error message.
config, configuration, crash, start, tray-monitor
Issue History
2016-10-26 00:22tps800New Issue
2018-11-27 12:14tps800Note Added: 0003153
2018-11-27 12:15tps800Tag Attached: config
2018-11-27 12:15tps800Tag Attached: crash
2018-11-27 12:15tps800Tag Attached: start
2018-11-27 12:15tps800Tag Attached: tray-monitor
2018-11-27 12:16tps800Tag Attached: configuration

Notes
(0003153)
tps800   
2018-11-27 12:14   
Same for 18.2, 17.2, 16.2

Giving options as documented for Linux/Unix versions these lead to errors: "The application terminated in an unusual way -- please contact the application developers".

Some findings:
"-d" ignored by tray-monitor
"-?" crashes tray-monitor
"-c" ignored by tray-monitor
all others: crashes tray-monitor

Tray monitor does not give any hint why it is not starting. Looking at Windows logs I can find nothing.

I only found one way to make tray monitor stay up: define an non existant storage daemon to connect to. But then you'll have log entries: "could not connect to storage daemon ...".

Could be nice to have some more information why tray-monitor does start and terminate "in an unusual way" in case of given options.

Could be nice to have tray-monitor start and not terminate if there are no errors within configuration files.

Could be nice to have tray-monitor tell about what files are read upon start and to tell about errors found within these files.

Could be nice to have tray-monitor respect debugging options given on commandline and not just exaust some "The application terminated in an unusual way".