Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    crash report after update

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    5 Posts 3 Posters 1.7k Views 3 Watching
    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.
    • kiokomanK
      kiokoman LAYER 8
      last edited by kiokoman

      @jimp
      i have this after upgrading to the latest development snapshot

      Crash report begins.  Anonymous machine information:
      
      amd64
      12.0-RELEASE-p9
      FreeBSD 12.0-RELEASE-p9 e23c75c4280(RELENG_2_5) pfSense
      
      Crash report details:
      
      PHP Errors:
      
      Fatal error: Uncaught Error: Call to undefined function sort_related_log_files() in /usr/local/sbin/prefixes.php:112
      Stack trace:
      #0 {main}
        thrown in /usr/local/sbin/prefixes.php on line 112
      
      No FreeBSD crash data found.
      

      content of line 112
      if (file_exists($dhcpdlogfile)) {
      $fd = popen('/usr/bin/bzcat -f ' . sort_related_log_files($dhcpdlogfile, true, true), 'r');

      it seem to be a new entry
      -rw-r--r-- 1 root wheel 4356 Aug 31 01:21 prefixes.php

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      1 Reply Last reply
      Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        https://redmine.pfsense.org/issues/9715
        if anyone else have the same problem
        solution is to add

        require_once("functions.inc");
        

        to the file

        like this

        * Unless required by applicable law or agreed to in writing, software
         * distributed under the License is distributed on an "AS IS" BASIS,
         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         * See the License for the specific language governing permissions and
         * limitations under the License.
         */
        require_once("functions.inc");
        $leases_file = "/var/dhcpd/var/db/dhcpd6.leases";
        if (!file_exists($leases_file)) {
        

        after this a reboot is needed,
        also i found out that a route to one of my interface was not working and i was unable to reach that interface via IPv6 without this

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply
        Reply Quote 1
        • B
          bimmerdriver
          last edited by

          I'm seeing a similar problem:

          Crash report begins.  Anonymous machine information:
          
          amd64
          12.0-RELEASE-p9
          FreeBSD 12.0-RELEASE-p9 e23c75c4280(RELENG_2_5) pfSense
          
          Crash report details:
          
          PHP Errors:
          [01-Sep-2019 14:29:15 America/Vancouver] PHP Fatal error:  Uncaught Error: Call to undefined function sort_related_log_files() in /usr/local/sbin/prefixes.php:112
          Stack trace:
          #0 {main}
            thrown in /usr/local/sbin/prefixes.php on line 112
          
          
          
          No FreeBSD crash data found.
          
          kiokomanK 1 Reply Last reply
          Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8 @bimmerdriver
            last edited by

            @bimmerdriver
            It's the same. Apply my patch and reboot

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

              There are likely to be some logging errors after clog was removed. Keep reporting them. ☺

              https://forum.netgate.com/topic/146169/heads-up-logging-changes-clog-deprecated-plain-text-logs-newsyslog-rotation-in-next-snapshots

              Steve

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy