FOG Project

    • Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved Can't use multicast on FOG 1.2.0 help please!

    FOG Problems
    4
    7
    2342
    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.
    • T
      tennosuke last edited by

      Hi, my problem is that i cannot use multicast on the clients, i’ve tried it with a host and with a group, didn’t work in both cases.

      I’ve tried this also : https://wiki.fogproject.org//wiki/index.php?title=Troubleshooting_a_multicast#Troubleshooting

      And works perfectly, u can see the log :

      $ tail -f /opt/fog/log/multicast.log
      11:17:12.804261 Using mcast address 232.158.158.51
      11:17:12.805397 UDP sender for /opt/fog/.fogsettings at 192.158.158.51 on eth0
      11:17:12.805783 Broadcasting control to 224.0.0.1
      11:19:33.254858 Starting transfer: 00000009
      11:19:33.283621 Transfer complete.
      11:19:33.286490 Disconnecting #0 (192.158.158.12)
      11:19:33.288428 Disconnecting #1 (192.158.158.16)```
      

      But if i try with a multicast task nothing happens:

      multicast.PNG

      I didn’t make any change on multicast settings… i don’t know if i should make some change in the Config.class.php file or what…

      My fog settings are:

      ipaddress="192.158.158.51";
      interface="eth0";
      routeraddress="         option routers      192.158.158.18;";
      plainrouter="192.158.158.18";
      dnsaddress="    option domain-name-servers      208.67.222.222; ";
      dnsbootimage="208.67.222.222";
      password="";
      osid="2";
      osname="Debian";
      dodhcp="y";
      bldhcp="1";
      installtype="N";
      snmysqluser=""
      snmysqlpass="#####";
      snmysqlhost="";
      installlang="0";
      donate="0";
      fogupdateloaded="1"
      

      And the Config.class.php file (multicast settings) :

      private static function svc_setting()
              {
                      define( "UDPSENDERPATH", "/usr/local/sbin/udp-sender" );
                      define( "MULTICASTLOGPATH", "/opt/fog/log/multicast.log" );
                      define( "MULTICASTDEVICEOUTPUT", "/dev/tty2" );
                      define( "MULTICASTSLEEPTIME", 10 );
                      define( "MULTICASTINTERFACE", "eth0" );
                      define( "UDPSENDER_MAXWAIT", null );
                      define( "LOGMAXSIZE", "1000000" );
                      define( "REPLICATORLOGPATH", "/opt/fog/log/fogreplicator.log" );
                      define( "REPLICATORDEVICEOUTPUT", "/dev/tty3" );
                      define( "REPLICATORSLEEPTIME", 600 );
                      define( "REPLICATORIFCONFIG", "/sbin/ifconfig" );
                      define( "SCHEDULERLOGPATH", "/opt/fog/log/fogscheduler.log" );
                      define( "SCHEDULERDEVICEOUTPUT", "/dev/tty4" );
                      define( "SCHEDULERSLEEPTIME", 60 );
              }
      

      Thanks and sorry for my bad english 🙂

      1 Reply Last reply Reply Quote 0
      • Wayne Workman
        Wayne Workman @Wayne Workman last edited by

        @Wayne-Workman Oh and there is this also:
        https://wiki.fogproject.org/wiki/index.php/Troubleshoot_Downloading_-_Multicast

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Wayne Workman
          Wayne Workman @rogwol last edited by

          @rogwol Also check that FOGMulticastManager is running.

          Probably something like service FOGMulticastManager status

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          Wayne Workman 1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator last edited by

            I have to admit that I see this kind of issue from time to time too. Usually I check the multicast log on the web interface and just restart the service if it doesn’t play nice.

            @rogwol Are you sure seeing the same problem? Have you gone throught the troubleshooting guide and tried multicast by hand too? I am sure there is a way to solve the problem on your machine but you/we need to dig a little further I suppose. What do you see in the multicast log (web interface -> FOG configuration -> Log viewer)?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • Wayne Workman
              Wayne Workman @rogwol last edited by

              @rogwol make sure your interface name is correct.

              ip link show

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • R
                rogwol last edited by

                Hello, I am also having the same problem in this version of FOG. Tennosuke, performed the procedure that you mentioned, but without success. Is there any other way to solve this problem?

                I’m with Debian 7.9 32bit, identified in various forums, the most commonly used distribution is Ubuntu 12.02, but I have not done the test.

                Wayne Workman 2 Replies Last reply Reply Quote 0
                • T
                  tennosuke last edited by

                  Ok… seems that something is wrong with the FOGMulticastManager… it stops, starting it again solved the problem.

                  sudo service FOGMulticastManager stop && sleep 30 && sudo service FOGMulticastManager start
                  
                  
                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post

                  175
                  Online

                  10.2k
                  Users

                  16.3k
                  Topics

                  149.9k
                  Posts

                  Copyright © 2012-2020 FOG Project