[ZBX-24532] Zabbix Proxy 7.0 (SQLite) crashes with DNS library error Created: 2024 May 23 Updated: 2024 Jun 08 Resolved: 2024 Jun 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P) |
Affects Version/s: | 7.0.0rc2, 7.0.1rc1 |
Fix Version/s: | 7.0.1rc1, 7.2.0alpha1 |
Type: | Problem report | Priority: | Minor |
Reporter: | Thomas Oftring | Assignee: | Sergejs Boidenko |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Team: | |
Sprint: | S24-W22/23 |
Story Points: | 0.5 |
Description |
Environment: Ubuntu 22.04{} Steps to reproduce:
Result:
|
Comments |
Comment by Rostislav Palivoda (Inactive) [ 2024 May 23 ] |
thomas.oftring please provide more details how to reproduce the problem. Does it happen if we build from source? What package did you use for Zabbix installation? |
Comment by Vladislavs Sokurenko [ 2024 May 23 ] |
Server exits due to error "cannot initialize asynchronous DNS library" |
Comment by Thomas Oftring [ 2024 May 23 ] |
All infos already applied in the files. Installed Packages from Zabbix: Installed DNS library packages from Ubuntu: libdns-export1110/jammy,now 1:9.11.19+dfsg-2.1ubuntu3 amd64 [installed]
Original Ubuntu Kernel: Tested Proxy with PSK and without. It crashes in both configurations. I could try to build from source and check if the error occurs. Can you tell me the configure flags that I should use? |
Comment by Thomas Oftring [ 2024 May 23 ] |
Hello just compiled from sources zabbix-7.0.0rc2.tar.gz (From Download page) With following flags: Same problem... |
Comment by Thomas Oftring [ 2024 May 24 ] |
Hello, I have investigated the problem on the system and found the reason for the problem. You can reproduce the problem by moving the file /etc/resolv.conf away. Then start the Zabbix Proxy 7.0 and it will crash (Zabbix Proxy 6.4.13/6.4.14/6.4.15 has no problem with it). May be the new threading model in Zabbix 7.0 has introduced the problem. If the /etc/resolv.conf file is damaged/missing you can successfull ping dns names. Hope that helps. |
Comment by Vladislavs Sokurenko [ 2024 May 29 ] |
What should be expected behaviour thomas.oftring ? |
Comment by Sergejs Boidenko [ 2024 Jun 07 ] |
Fixed in:
|