Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Upgrade 2.2.2 > 2.2.3: PHP Fatal error: Cannot redeclare php_deinstall_zabbix…

    Installation and Upgrades
    4
    9
    898
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yonas last edited by

      Crash report begins.  Anonymous machine information:

      i386
      10.1-RELEASE-p13
      FreeBSD 10.1-RELEASE-p13 #0 c77d1b2(releng/10.1)-dirty: Tue Jun 23 17:02:27 CDT 2015    root@pfs22-i386-builder:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.10

      Crash report details:

      PHP Errors:
      [25-Jun-2015 10:12:20 America/Toronto] PHP Fatal error:  Cannot redeclare php_deinstall_zabbix_agent_lts() (previously declared in /usr/local/pkg/zabbix-lts.inc:46) in /usr/local/pkg/zabbix-agent-lts.inc on line 72

      1 Reply Last reply Reply Quote 0
      • G
        goofytux last edited by

        I ran into the same problem. Those steps worked for me:

        I reinstalled the zabbix-proxy, then I reinstall the zabbix-agent again.

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis last edited by

          The zabbix-proxy code looks like it had a time when it had function php_deinstall_zabbix_agent_lts() in it. But that was changed to correct the function name. So a reinstall of zabbix-proxy should pick that up.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • Y
            yonas last edited by

            @phil.davis:

            The zabbix-proxy code looks like it had a time when it had function php_deinstall_zabbix_agent_lts() in it. But that was changed to correct the function name. So a reinstall of zabbix-proxy should pick that up.

            When I go to the Packages page, I see: "Please wait while packages are reinstalled in the background."

            How do I reinstall zabbix-proxy (eg. on command-line)?

            1 Reply Last reply Reply Quote 0
            • Y
              yonas last edited by

              Bump!

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned last edited by

                Bump what? Reinstall the package as told above!

                1 Reply Last reply Reply Quote 0
                • Y
                  yonas last edited by

                  @doktornotor:

                  Bump what? Reinstall the package as told above!

                  Did you read my reply?

                  The only thing I see is the big image of a harddive and the following text:

                  Packages are currently being reinstalled in the background.
                  Do not make changes in the GUI until this is complete.

                  Please wait while packages are reinstalled in the background.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned last edited by

                    Yeah, I did. I could not imagine that you'd wait over one week staring at the nonsense in order to bump the thread… instead of rebooting of the box (if unable to spot the "Clear Package Lock" feature under Diagnostics: Backup/Restore)...  ::)  ::) ::)

                    1 Reply Last reply Reply Quote 0
                    • Y
                      yonas last edited by

                      Fuckin' finally… lol. Thanks, that worked.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post