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

    Stuck service on services status

    Scheduled Pinned Locked Moved webGUI
    12 Posts 2 Posters 3.5k 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.
    • G
      georgeman
      last edited by

      Exactly. I deleted all entries on the IGMP proxy page, but the it still shows under Status > Services.

      Any file I can manually modify?

      Thanks a lot!

      Best regards

      If it ain't broke, you haven't tampered enough with it

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

        What version are you running?

        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
        • G
          georgeman
          last edited by

          As per the dashboard it is "2.0.1-RELEASE (i386) built on Mon Dec 12 19:00:03 EST 2011". It is the 4G embedded version, running on an Alix 2D3.

          Regards!

          If it ain't broke, you haven't tampered enough with it

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

            If you take a config backup, open it up in a text editor, find the igmp proxy section, can you attach or paste that here? I don't need to see the whole config, just the part that refers to igmp.

            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
            • G
              georgeman
              last edited by

              As it is right now, the config file is not showing any IGMP section, besides just a closing tab "<igmpproxy>" near the end of the file.

              Now, if I manually add some interfaces to the proxy, it comes up this way:

              - <igmpproxy>- <igmpentry><ifname>lan</ifname> 
              Ā  <threshold><type>upstream</type> 
              
              <address> 
              - <descr>- Ā  ]]></descr> 
              
              - <igmpentry><ifname>opt1</ifname> 
              Ā  <threshold><type>downstream</type> 
              
              <address> 
              - <descr>- Ā  ]]></descr> 
              
              Also, this shows up, which looks interesting:
              
              
              • <revision>- <description>- Ā  ]]></description>
                Ā  <username>admin@172.21.2.2</username>
                Ā  <time>1351000228</time></revision>
              
              Then, I deleted again the IGMP proxy entries, and exported again. Now it is showing the closing tab at the end, and also:
              
              
              • <revision>- <description>- Ā  ]]></description>
                Ā  <username>admin@172.21.2.2</username>
                Ā  <time>1351000593</time></revision>
              
              Something looks a little messed up in my config… :-[
              </address></threshold></igmpentry> </address></threshold></igmpentry></igmpproxy> 
              ```</igmpproxy>

              If it ain't broke, you haven't tampered enough with it

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

                No the revision bit looks right for that page, nothing out of the ordinary there.

                What does that <igmpproxy>section look like -exactly- when you have no settings in the list?Ā  (By that I mean when the list shows empty in the GUI and it shows in the service list but as stopped).</igmpproxy>

                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
                • G
                  georgeman
                  last edited by

                  Ctrl-F for "igmp" just returns the following line, at the end of the file:

                  
                  ...
                  
                  

                  And nothing else. There does not seem to be any IGMP "section"

                  If it ain't broke, you haven't tampered enough with it

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

                    It's there, it's just empty, as it should be…

                    In /usr/local/www/status_services.php, around line 313, change this:

                    if (count($config['igmpproxy']['igmpentry']) > 0) {
                    

                    to this:

                    if (is_array($config['igmpproxy']['igmpentry']) && (count($config['igmpproxy']['igmpentry']) > 0)) {
                    

                    That's what the code does on 2.1 where I know it works right. (Though that whole page has been revamped…)

                    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
                    • G
                      georgeman
                      last edited by

                      Great, thanks!! That did the trick ;D

                      I also made the same modification on the services widget file, and now it is showing properly. Check that in 2.1 just in case ;)

                      Thanks a lot!Ā  :)

                      If it ain't broke, you haven't tampered enough with it

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

                        It can't be an issue on 2.1 because I moved that code to a common function so the code isn't duplicated between the two pages any longer. So the test only exists in one place, in an .inc file /etc/inc there. :-)

                        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.