Ad Widget

Collapse

Upgrade from 6.0.21 to 7.0.2 - DB Upgrade not starting, no hints zabbix-server.log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RohrbaGe
    Senior Member
    • Aug 2005
    • 167

    #1

    Upgrade from 6.0.21 to 7.0.2 - DB Upgrade not starting, no hints zabbix-server.log

    Today I started the upgrade process on a Ubuntu 22.04.4 LTS with
    ./configure --with-mysql --enable-server --enable-agent --with-net-snmp --with-openipmi --with-libcurl --with-libxml2 --with-ssh2 --with-ldap --with-unixodbc
    make
    make install, before I stopped the zabbix server and agent services.
    In mysql I applied this command.
    SET GLOBAL log_bin_trust_function_creators = 1;

    I then started the zabbix-server service again, thats from the log.

    75688:20240813:110836.729 Starting Zabbix Server. Zabbix 7.0.2 (revision d1b0c3308ce).
    75688:20240813:110836.729 ****** Enabled features ******
    75688:20240813:110836.729 SNMP monitoring: YES
    75688:20240813:110836.729 IPMI monitoring: YES
    75688:20240813:110836.729 Web monitoring: YES
    75688:20240813:110836.729 VMware monitoring: YES
    75688:20240813:110836.729 SMTP authentication: YES
    75688:20240813:110836.729 ODBC: YES
    75688:20240813:110836.729 SSH support: YES
    75688:20240813:110836.729 IPv6 support: NO
    75688:20240813:110836.729 TLS support: NO
    75688:20240813:110836.729 ******************************
    75688:20240813:110836.729 using configuration file: /usr/local/etc/zabbix_server.conf
    75688:20240813:110836.729 cannot initialize runtime control service: "rtc" service is already running.
    1642:20240813:110940.308 cannot send list of active checks to "10.49.250.77": host [DESVR-PXE-NEW] not found
    1646:20240813:111022.642 cannot send list of active checks to "10.49.220.7": host [DESVR-MULTIEYE2] not found

    This is the only message that looks not okay: cannot initialize runtime control service: "rtc" service is already running.
    No other hint, why the upgrade process of the database does not start.Might this rtc a reason for this.

    The 7.02 php frontend does not start, when the database is not in the right version.
    This machines is working since some years now, so probably is installed with the Pre 6.0 LTS version and upgraded several times.

    I switched back to version 6.02 but I need a hint how to solve this issue. Strange is that there a no real hints in the log.
    I think from LTS to LTS version the upgrade should work without additional steps.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Increase the logging level to potentially see more what's happening.

    I guess you have a reason to compile Zabbix yourself on Ubuntu 22.04 that seems to have officially supported packages as well?

    Markku

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      The process IDs look unusual: main process is 75688 but then a PIDs 1642 and 1646 are some of the trappers (and starting them is not logged at all). Usually the PID values are just increasing.

      Markku

      Comment

      • RohrbaGe
        Senior Member
        • Aug 2005
        • 167

        #4
        Well, after disabling zabbix, rebooting the machine, installing the new bin's with make install and starting the services manually everything seems to work perfect.
        Like always, the zabbix team did a good job!

        Comment


        • cyber
          cyber commented
          Editing a comment
          There's always the question you have to ask.... "but have you tried turning it off and on again?"
      Working...