-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.2.4
-
None
-
windows server 2019
Steps to reproduce:
- install zabbix agent 2 on windows server and setup the psk during installation
- zabbix agent service wont start due to the default psk path being "C:\Program Files\Zabbix Agent 2\psk.key"
To fix it:
- copy the psk to c:#somewhere with no spaces"
- change the zabbix agent config file to match the new location
Result:
Log file from the first attempt to start the agent (with spaces in psk path):
2022/11/16 13:06:47.473814 Starting Zabbix Agent 2 (6.2.4)
2022/11/16 13:06:47.982043 cannot use encryption configuration: invalid TLSPSKFile configuration parameter: open C:\Program Files\Zabbix Agent 2\psk.key: The system cannot find the file specified.
Expected:
a few lines from the log file after the fix:
2022/11/16 13:21:25.989774 Starting Zabbix Agent 2 (6.2.4)
2022/11/16 13:21:25.993744 OpenSSL library (OpenSSL 1.1.1k 25 Mar 2021) initialized
2022/11/16 13:21:25.993744 using configuration file: C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf
2022/11/16 13:21:25.994252 using plugin 'Agent'...............