[ZBX-22465] Windows MSI v2 agent install - service starts before PSK file is created Created: 2023 Mar 06 Updated: 2024 Apr 10 Resolved: 2023 May 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Packages (C) |
Affects Version/s: | 6.0.13 |
Fix Version/s: | 7.0 (plan) |
Type: | Problem report | Priority: | Critical |
Reporter: | Jordan Bagnell | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 2 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Windows 10 and Windows 11 |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||
Issue Links: |
|
||||
Team: | |||||
Sprint: | Sprint 99 (Apr 2023), Sprint 100 (May 2023) | ||||
Story Points: | 1 |
Description |
Steps to reproduce:
Result: Zabbix agent does not start successfully and logs "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: Zabbix agent would start successfully after installation. Notes: I moved the PSK steps in the MSI earlier in the installation and the agent service starts as expected (see screenshot) |
Comments |
Comment by Edgar Akhmetshin [ 2023 Mar 08 ] |
Hello Jordan, Not able to reproduce, for example Windows 11 and 6.0.13/Agent: Regards, |
Comment by Edgar Akhmetshin [ 2023 Mar 08 ] |
But for Agent 2 the issue exists: 2023/03/08 10:53:43.789072 Starting Zabbix Agent 2 (6.0.13) 2023/03/08 10:53:44.300763 cannot use encryption configuration: invalid TLSPSKFile configuration parameter: open C:\Program Files\Zabbix Agent 2\psk.key: The system cannot find the file specified. And after restart Agent 2 works, since key is in place. Confirmed. |
Comment by Michael Veksler [ 2023 May 16 ] |
The issue has been fixed and will be available in all future MSI builds of all Agents. |
Comment by Onkel Titus [ 2023 May 30 ] |
It's not mentioned in the Release Notes of 6.4.3. Is it fixed in this version? |
Comment by Marina Generalova [ 2023 Jun 05 ] |
Hi whupper, It is fixed in Zabbix packages 5.0.34 and newer, 6.0.17 and newer, 6.4.2 and newer. We have updated Release notes and mentioned this change. |