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

Call to undefined method altq_root_queue::SetAvailableBandwidth()

Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
5 Posts 5 Posters 1.6k 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.
  • A
    AhnHEL
    last edited by Mar 29, 2016, 10:15 PM Mar 29, 2016, 10:07 PM

    Using a fresh install with a default setup, going into the Traffic Shaper and attempting to enable any Scheduler Type gets me:

    Fatal error: Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283 Call Stack: 0.0000 237600 1. {main}() /usr/local/www/firewall_shaper.php:0 PHP ERROR: Type: 1, File: /usr/local/www/firewall_shaper.php, Line: 283, Message: Call to undefined method altq_root_queue::SetAvailableBandwidth()

    Using the pfSense-CE-2.3-BETA-amd64-20160329-0150 ISO

    Crash report begins.  Anonymous machine information:

    amd64
    10.3-RELEASE
    FreeBSD 10.3-RELEASE #490 51f8df0(RELENG_2_3): Tue Mar 29 02:06:06 CDT 2016    root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    PHP Errors:
    [29-Mar-2016 22:06:51 Etc/UTC] PHP Fatal error:  Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
    [29-Mar-2016 22:06:51 Etc/UTC] PHP Stack trace:
    [29-Mar-2016 22:06:51 Etc/UTC] PHP  1. {main}() /usr/local/www/firewall_shaper.php:0
    [29-Mar-2016 22:09:07 Etc/UTC] PHP Fatal error:  Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
    [29-Mar-2016 22:09:07 Etc/UTC] PHP Stack trace:
    [29-Mar-2016 22:09:07 Etc/UTC] PHP  1. {main}() /usr/local/www/firewall_shaper.php:0
    [29-Mar-2016 22:15:13 Etc/UTC] PHP Fatal error:  Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
    [29-Mar-2016 22:15:13 Etc/UTC] PHP Stack trace:
    [29-Mar-2016 22:15:13 Etc/UTC] PHP  1. {main}() /usr/local/www/firewall_shaper.php:0

    AhnHEL (Angel)

    1 Reply Last reply Reply Quote 0
    • J
      JorgeOliveira
      last edited by Mar 29, 2016, 10:41 PM

      Seems code at https://github.com/pfsense/pfsense/blob/8ed6b8e33fe0e1ad310ad13c5281926cf87cf72f/src/usr/local/www/firewall_shaper.php#L264 could be removed from line 264 to 283 as underlying logic was changed.

      Maybe some more experienced could tell if that change is recommended or not.

      My views have absolutely no warranty express or implied. Always do your own research.

      1 Reply Last reply Reply Quote 0
      • D
        Derelict LAYER 8 Netgate
        last edited by Mar 29, 2016, 10:45 PM

        I think that's about the last known issue on track for 2.3 and it's being actively worked on:

        https://redmine.pfsense.org/issues/5721

        Might want to paste your feedback there. It's almost certainly related to the rework being done to the queue logic.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Mar 29, 2016, 10:50 PM

          Split this to its own thread since it's unrelated to the one where it was originally posted, and let Luiz know. He's working on #5721.

          1 Reply Last reply Reply Quote 0
          • L
            loos Netgate
            last edited by Mar 30, 2016, 5:45 AM

            Fixed.  Jorge's suggestion was correct, code was changed but I missed this call before. Thanks!

            1 Reply Last reply Reply Quote 0
            4 out of 5
            • First post
              4/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received