Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24320

Zabbix server crashes on a clean instance with a single host with "Linux by Zabbix agent" template

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 7.0.0beta3
    • Server (S)

      Problem report: Zabbix server crashes on a clean zabbix instance with a single added host that has the "Linux by Zabbix agent" linked to it:

      209646:20240405:142833.757 thread started
      209646:20240405:142835.758 enabling Zabbix agent checks on host "Host": interface became available
      209585:20240405:142837.824 [Z3005] query failed: [1452] Cannot add or update a child row: a foreign key constraint fails (`master`.`functions`, CONSTRAINT `c_functions_2` FOREIGN KEY (`triggerid`) REFERENCES `triggers` (`triggerid`)) [insert into functions (functionid,itemid,triggerid,name,parameter) values (33708,47065,23706,'last','$'),(33709,47064,23706,'last','$'),(33710,47063,23706,'last','$'),(33711,47065,23706,'timeleft','$,1h,100'),(33712,47066,23707,'min','$,5m'),(33713,47062,23708,'last','$,#2'),(33714,47062,23708,'last','$'),(33715,47066,94145436232943,'min','$,5m'),(33716,47065,94145436447250,'last','$'),(33717,47064,94145436447250,'last','$'),(33718,47063,94145436447250,'last','$'),(33719,47065,94145436447250,'timeleft','$,1h,100');
      ]
      free(): double free detected in tcache 2
      209555:20240405:142838.472 One child process died (PID:209585,exitcode/signal:6). Exiting ...
      209556:20240405:142838.472 HA manager has been paused
      zabbix_server [209555]: Error waiting for process with PID 209585: [10] No child processes
      209556:20240405:142838.524 HA manager has been stopped
      

      Steps to reproduce:

      1. Have a clean Zabbix instance (preferably running on MySQL)
      2. Create a host with host name = "Host" with a Zabbix agent interface and link the "Linux by Zabbix agent" template to it
      3. Start server
      4. Wait for a minute or two

      Result: Server crashes with the above error
      Expected: Data should be collected, LLD from template should discover items on the created host.

            arimdjonoks Artjoms Rimdjonoks
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: