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

Status_queues.php page unable to load

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
18 Posts 4 Posters 6.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.
  • C
    Cino
    last edited by Oct 20, 2011, 2:00 PM Oct 20, 2011, 1:42 PM

    Every time I go to the que statue page, i get this error in FF 7.01: "The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.This problem can sometimes be caused by disabling or refusing to accept cookies."

    IE8 wont even load the page to give an error

    2.1-DEVELOPMENT (i386)
    built on Tue Sep 13 17:28:43 EDT 2011
    FreeBSD 8.1-RELEASE-p4

    from logs:

    Oct 20 09:54:43 php: /status_queues.php: Something wrong happened during comunication with stat gathering
    Oct 20 09:54:43 php: /status_queues.php: The command '/usr/local/sbin/qstats -p /var/run/qstats.pid' returned exit code '127', the output was '/usr/local/sbin/qstats: not found'
    Oct 20 09:54:43 php: /status_queues.php: Something wrong happened during comunication with stat gathering
    Oct 20 09:54:43 php: /status_queues.php: The command '/usr/local/sbin/qstats -p /var/run/qstats.pid' returned exit code '127', the output was '/usr/local/sbin/qstats: not found'
    Oct 20 09:54:43 php: /status_queues.php: Something wrong happened during comunication with stat gathering
    Oct 20 09:54:43 php: /status_queues.php: The command '/usr/local/sbin/qstats -p /var/run/qstats.pid' returned exit code '127', the output was '/usr/local/sbin/qstats: not found'

    not sure how qstat went missing. I checked, and its missing. Going to check if the backup file has a copy. If not, should I do a firmware update with 2.0 release firmware?

    1 Reply Last reply Reply Quote 0
    • C
      Cino
      last edited by Oct 20, 2011, 9:30 PM

      update:

      I searched the file system and my last back up, no file. I checked a firmware update… No file...

      any ideas where i can get qstats?

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Oct 24, 2011, 4:53 PM

        It's a work in progress, it isn't set to be included on snapshots yet, may just be an oversight there.

        Try this:

        fetch -o /usr/local/sbin/qstats http://files.pfsense.org/jimp/qstats
        chmod a+x /usr/local/sbin/qstats
        
        

        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
        • C
          Cino
          last edited by Oct 24, 2011, 6:14 PM

          Thanks Jim! I'll give it try tonight.

          1 Reply Last reply Reply Quote 0
          • C
            Cino
            last edited by Nov 1, 2011, 6:05 PM

            My box didn't like it. The page would keep loading… I'll wait till snapshots are available.

            1 Reply Last reply Reply Quote 0
            • C
              Cino
              last edited by Dec 8, 2011, 12:36 AM

              jimp,

              Anything else I can try? I tried to go back to an other page but its stuck at waiting for data…

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by Dec 8, 2011, 12:37 AM

                Not sure, it's not something I have worked on, and it's on 2.1 so it's still considered 'ok' to break some stuff there as it isn't meant to be a stable branch.

                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
                • C
                  Cino
                  last edited by Dec 8, 2011, 1:29 AM

                  @jimp:

                  Not sure, it's not something I have worked on, and it's on 2.1 so it's still considered 'ok' to break some stuff there as it isn't meant to be a stable branch.

                  fair enough.. its stable for the most part.. just some little things need touching up… at least what i use it for.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jimp Rebel Alliance Developer Netgate
                    last edited by Dec 8, 2011, 1:30 AM

                    I think there is an open ticket that this was trying to fix, if you can find it, post on there that it isn't working as expected, and perhaps it will get better attention.

                    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
                    • C
                      Cino
                      last edited by Dec 8, 2011, 1:45 PM

                      Only ticket I see is http://redmine.pfsense.org/issues/1893 but it talks about not all of their queues are showing..

                      if the issue is still there when the new binaries come out, i'll put a ticket in.

                      1 Reply Last reply Reply Quote 0
                      • W
                        w0w
                        last edited by Dec 10, 2011, 11:55 AM

                        Confirmed.
                        I have absolutely the same behavior of pfsense
                        2.1-DEVELOPMENT (i386)
                        built on Wed Sep 21 20:25:30 PDT 2011
                        FreeBSD 8.1-RELEASE-p4

                        updated from 2.0 to 2.1 using this http://doc.pfsense.org/index.php/Updating_pfSense_code_between_snapshots

                        1 Reply Last reply Reply Quote 0
                        • C
                          Cino
                          last edited by Jan 24, 2012, 12:31 AM Jan 24, 2012, 12:16 AM

                          can this be moved to the 2.1 board please? its only related to 2.1 code that i know of.

                          EDIT: Thanks Jimp!

                          1 Reply Last reply Reply Quote 0
                          • C
                            Cino
                            last edited by Feb 2, 2012, 6:50 PM Feb 2, 2012, 6:24 PM

                            its working again :-) jQuery code needed to be updated: https://github.com/bsdperimeter/pfsense/blob/86cf36813dbf3ca89d6e8cd21df2625ddfb6d59f/usr/local/www/status_queues.php

                            btw, i deleted qstats from /usr/local/sbin before trying to the new page.

                            EDIT:
                            I do see this in the log with qstats removed:

                            
                            	php: /status_queues.php: The command '/usr/local/sbin/qstats -p /var/run/qstats.pid' returned exit code '127', the output was '/usr/local/sbin/qstats: not found'
                            
                            

                            putting qstats back, page keeps loading… For the trade off, i can live with it for until we are freebsd9.x

                            1 Reply Last reply Reply Quote 0
                            • C
                              Cino
                              last edited by Feb 4, 2012, 6:32 PM

                              my box must have a mind of its own… sometimes the page works, somtimes it doesn't.. anyone else experience the something?

                              
                              Feb 4 13:31:40 	php: /status_queues.php: Something wrong happened during comunication with stat gathering
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • C
                                Cino
                                last edited by Mar 31, 2012, 5:56 PM

                                made some progress for my box anyways.. I'm still using 2.0.1 binaries but with 2.1 code(haven't gitsync in a while because now i need the 2.1 dev binaries or my box will break)

                                some reason my box wont execute /usr/local/sbin/qstats -p /var/run/qstats.pid via status_queues.php. It just hangs. If I run the command via the cmdline, the page displays queue data again. I setup shellcmd to run /usr/local/sbin/qstats -p /var/run/qstats.pid on startup but the box would hang on startup… So i created a basic rc.d startup script and everything is good again.

                                One of these days I will just wipe my box and start from scratch but going to wait for 2.1 to be release since I have issues when the packages are being installed, I use a few that dont have pbi yet.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  iamzam
                                  last edited by May 1, 2012, 5:25 PM

                                  Bump

                                  On every 2.1 snapshot I have tried since they started being built again (AMD64, a few weeks ago) i have this problem.  Also, if I go to the Status -> Queues page, my pfsense stops responding to any request until I reboot it.  It still will pass traffic and everything works fine as far as I can tell, but will not answer any more web requests until I get into it via ssh and reboot it.

                                  I don't have anything setup for traffic shaping or QOS so that page may actually work for someone who does.  I discovered it by accident awhile ago and every snapshot I try it has happened since, I figured someone else would have said something about it lately but since no one else has, here I am.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by May 1, 2012, 6:24 PM

                                    This should make it better:

                                    https://github.com/bsdperimeter/pfsense/commit/3a1e12cfd9049100c0c97603ce049d067ea78e1b

                                    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
                                    • I
                                      iamzam
                                      last edited by May 1, 2012, 6:50 PM

                                      Thanks for the quick draw mcgraw!

                                      I confirm (via a gitsync and a reboot) that this fixes my problem, I now get a "Traffic shaping is not configured" page.

                                      2.1-DEVELOPMENT (amd64)
                                      built on Tue May 1 06:11:28 EDT 2012
                                      FreeBSD pfs.dv.loc 8.3-RELEASE FreeBSD 8.3-RELEASE #1: Tue May 1 07:20:03 EDT 2012 root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        [[user:consent.lead]]
                                        [[user:consent.not_received]]