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

    Dpinger wont start after upg to 2.3

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 3 Posters 1.1k Views
    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.
    • I Offline
      Ivart
      last edited by

      After upgrade to 2.3, dpinger wont start anymore and I cant edit gateways  from System -> Routing.

      Fatal error: Call to undefined function return_dpinger_defaults() in /usr/local/www/system_gateways_edit.php on line 84 Call Stack: 0.0001 121056 1. {main}() /usr/local/www/system_gateways_edit.php:0 PHP ERROR: Type: 1, File: /usr/local/www/system_gateways_edit.php, Line: 84, Message: Call to undefined function return_dpinger_defaults()

      Status / System Logs / System / Gateways = no logs to display

      How to start dpinger to check errors?

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

        That should never happen. return_dpinger_defaults is in /etc/inc/gwlb.inc and should be included by a chain of various include files.

        /etc/inc/gwlb.inc - does it have function return_dpinger_defaults() ?

        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
        • I Offline
          Ivart
          last edited by

          Many thanks, with your help I´ve found the problem. I was using pkg Filer to overwrite gwlb.inc with custom command do restart squid. I´ve fixed it.

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

            Don't do that. Replacing entire files is a bad idea, and this is one example why. If that was a more critical system file, your config would have rendered any system it was restored on inoperable.

            Using a patch is much better way to accomplish that task, and if things change too much, the patch won't apply, but the system will still be operational.

            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!

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