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

    a crash report about intalling service watchdog

    2.4 Development Snapshots
    5
    13
    1.7k
    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.
    • A
      abcnew
      last edited by abcnew

      pfSense 2.4.4-development, 20180827 snapshot. When installing & uninstalling service watchdog package, there is a crash report:

      Crash report begins.  Anonymous machine information:
      
      amd64
      11.2-RELEASE-p2
      FreeBSD 11.2-RELEASE-p2 #93 02c4cf66db5(RELENG_2_4_4): Mon Aug 27 08:40:20 EDT 2018     root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense
      
      Crash report details:
      
      PHP Errors:
      [10-Sep-2018 15:45:50 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
      Stack trace:
      #0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job()
      #1 /etc/inc/pkg-utils.inc(768): eval()
      #2 /etc/inc/pkg-utils.inc(854): eval_once('servicewatchdog...')
      #3 /etc/rc.packages(74): install_package_xml('Service_Watchdo...')
      #4 {main}
        thrown in /usr/local/pkg/servicewatchdog.inc on line 83
      [10-Sep-2018 15:47:02 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
      Stack trace:
      #0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job(true)
      #1 /etc/inc/pkg-utils.inc(768): eval()
      #2 /etc/inc/pkg-utils.inc(1036): eval_once('servicewatchdog...')
      #3 /etc/rc.packages(78): delete_package_xml('Service_Watchdo...', 'deinstall')
      #4 {main}
        thrown in /usr/local/pkg/servicewatchdog.inc on line 83
      
      
      No FreeBSD crash data found.
      
      1 Reply Last reply Reply Quote 0
      • H
        Hugovsky
        last edited by

        Try upgrading pfsense first.

        1 Reply Last reply Reply Quote 0
        • P
          pete35
          last edited by

          After update to pfsense 2.4.4 RC , can´t install service watchdog:

          Installing pfSense-pkg-Service_Watchdog...
          Updating pfSense-core repository catalogue...
          pfSense-core repository is up to date.
          Updating pfSense repository catalogue...
          pfSense repository is up to date.
          All repositories are up to date.
          Checking integrity... done (0 conflicting)
          The following 1 package(s) will be affected (of 0 checked):

          New packages to be INSTALLED:
          pfSense-pkg-Service_Watchdog: 1.8.5 [pfSense]

          Number of packages to be installed: 1
          [1/1] Installing pfSense-pkg-Service_Watchdog-1.8.5...
          [1/1] Extracting pfSense-pkg-Service_Watchdog-1.8.5: ......... done
          Saving updated package information...
          done.
          Loading package configuration... done.
          Configuring package components...
          Loading package instructions...
          Custom commands...
          Executing custom_php_install_command()...
          Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
          Stack trace:
          #0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job()
          #1 /etc/inc/pkg-utils.inc(768): eval()
          #2 /etc/inc/pkg-utils.inc(854): eval_once('servicewatchdog...')
          #3 /etc/rc.packages(74): install_package_xml('Service_Watchdo...')
          #4 {main}
          thrown in /usr/local/pkg/servicewatchdog.inc on line 83
          PHP ERROR: Type: 1, File: /usr/local/pkg/servicewatchdog.inc, Line: 83, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
          Stack trace:
          #0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job()
          #1 /etc/inc/pkg-utils.inc(768): eval()
          #2 /etc/inc/pkg-utils.inc(854): eval_once('servicewatchdog...')
          #3 /etc/rc.packages(74): install_package_xml('Service_Watchdo...')
          #4 {main}
          thrownpkg-static: POST-INSTALL script failed

          Cleaning up cache... done.
          Success

          <a href="https://carsonlam.ca">bintang88</a>
          <a href="https://carsonlam.ca">slot88</a>

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Which RC version are you running exactly? What versions have you been running?

            I'm not seeing errors on any version I have here installing the watchdog package.

            Steve

            1 Reply Last reply Reply Quote 0
            • P
              pete35
              last edited by

              2.4.4 RC ... there is no detailed version information

              <a href="https://carsonlam.ca">bintang88</a>
              <a href="https://carsonlam.ca">slot88</a>

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                The most recent available I assume?

                What other packages do you have installed?

                Steve

                1 Reply Last reply Reply Quote 0
                • P
                  pete35
                  last edited by

                  I upgraded from 2.4.3 p1 and there is freeradius3, frr , iperf, llpd, pfBlockerNG, RRD_Summary installed.

                  <a href="https://carsonlam.ca">bintang88</a>
                  <a href="https://carsonlam.ca">slot88</a>

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Ok. Were those errors generated during the upgrade process or when trying to install the package into 2.4.4-rc afterwards?

                    Srece

                    1 Reply Last reply Reply Quote 0
                    • P
                      pete35
                      last edited by

                      Both, first during update, then i decided to uninstall service watchdog, and now i cant install it, because of those errors.

                      <a href="https://carsonlam.ca">bintang88</a>
                      <a href="https://carsonlam.ca">slot88</a>

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ok we were able to replicate that:
                        https://redmine.pfsense.org/issues/8931

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • P
                          pete35
                          last edited by

                          Thank you, this are great news! Im happy to help you guys to finalize 2.4.4.

                          <a href="https://carsonlam.ca">bintang88</a>
                          <a href="https://carsonlam.ca">slot88</a>

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            That is fixed now so upgrading to 2.4.4 will also pull in the corrected package. If you see any other errors from the service watchdog, note the full error message here.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              abcnew @jimp
                              last edited by

                              Thank you, @jimp
                              Upgraded to 2.4.4 release, the service watchdog is no problem now.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.