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

    Multicast won't start

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    49
    16.2k
    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.
    • Wayne WorkmanW
      Wayne Workman @Towndrunk
      last edited by Wayne Workman

      @Towndrunk said in Multicast won't start:

      10.15.31.20

      What does that address belong to?

      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/

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

        @Wayne-Workman that is the IP address of the FOG Server.

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

          @Towndrunk Well, that’s where it’s trying to send the multicast data to, and that will never, ever work.

          Go here:
          Web Interface -> FOG Configuration -> FOG Settings -> Multicast Settings -> FOG_MULTICAST_ADDRESS

          And set that to 0 then restart the FOGMulticastManager and try again.

          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/

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

            @Wayne-Workman I believe that is where it was by default, and it wasn’t working. A co-worker made the change and it still wasn’t working, but he never put it back. I’ll put it back now and try again as soon as the update is done.

            1 Reply Last reply Reply Quote 0
            • T
              Towndrunk
              last edited by

              I went in to Image Management> Multicast Image and created a multicast with the following settings. I added one to the multicast and it was found and sat at the same screen, then added the second and it did the same. This is the same indication I have got in the past, however the log says that it is running.

              Session: multi
              Client Count: 2
              Timeout (minutes): 4
              Select Image: The Image

              [08-11-16 8:42:53 am] * No tasks found!
              [08-11-16 8:43:03 am] * No tasks found!
              [08-11-16 8:43:13 am] | Task (15) multi is new!
              [08-11-16 8:43:13 am] | Task (15) multi has been cleaned.
              [08-11-16 8:43:13 am] | Task (15) /images/Windows10DefaultLaptop image file found.
              [08-11-16 8:43:13 am] | Task (15) 1 client(s) found or to receive.
              [08-11-16 8:43:13 am] | Task (15) multi sending on base port: 61194
              [08-11-16 8:43:13 am] | CMD: cat /images/Windows10DefaultLaptop/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 240 --portbase 61194 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p2.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 10 --portbase 61194 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p3.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 10 --portbase 61194 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p4.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 10 --portbase 61194 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p5.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 10 --portbase 61194 --full-duplex --ttl 32 --nokbd --nopointopoint;
              [08-11-16 8:43:13 am] | Task (15) multi has started.
              [08-11-16 8:43:23 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:43:33 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:43:43 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:43:53 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:44:03 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:44:13 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:44:23 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:44:33 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:44:43 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:44:53 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:45:03 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:45:13 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:45:23 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:45:33 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:45:43 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:45:53 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:46:03 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:46:13 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:46:23 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:46:33 am] | Task (15) multi is already running PID 27115
              [08-11-16 8:46:43 am] | Task (15) multi is already running PID 27115
              
              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Towndrunk
                last edited by

                @Towndrunk The multicast address is now completely missing from the command, did you set it to 0 or blank?

                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/

                Tom ElliottT T 2 Replies Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Wayne Workman
                  last edited by

                  @Wayne-Workman Multicast address on the sender will only display IF the multicast address in the global settings is defined.

                  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 1
                  • T
                    Towndrunk @Wayne Workman
                    last edited by

                    @Wayne-Workman I set it to 0

                    FOG_UDPCAST_INTERFACE: eth0
                    FOG_UDPCAST_STARTINGPORT: 64148
                    FOG_MULTICAST_MAX_SESSIONS: 64
                    FOG_UDPCAST_MAXWAIT : 4
                    FOG_MULTICAST_ADDRESS: 0
                    FOG_MULTICAST_PORT_OVERRIDE: 0
                    FOG_MULTICAST_DUPLEX : FULL_DUPLEX

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • P
                      Pascal Gazaille @Wayne Workman
                      last edited by

                      @Wayne-Workman Hey sorry for the delay, I did what you wanted and tried to multicast 4 laptops this morning, it seems to work!

                      I’m gonna tried with more computer later today!

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

                        @Towndrunk Can you please try the below steps that I posted for the other guy now?

                        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/

                        T 1 Reply Last reply Reply Quote 0
                        • P
                          Pascal Gazaille @Wayne Workman
                          last edited by

                          @Wayne-Workman Once the multicast job is done, is it supposed to disapear from the DB ‘multicastSessions’?

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

                            @Pascal-Gazaille It’s supposed to be marked as done, at least. There’s been work in this area, I’m going to defer to @Tom-Elliott on that question.

                            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/

                            P 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              We’re at 1.3.0-RC-8, which I know addresses issues on multicast closing. This should be fixed now, so YES it should. NO need to defer, please update and see if all is well.

                              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
                              • T
                                Towndrunk @Wayne Workman
                                last edited by Towndrunk

                                @Wayne-Workman I went in and followed the steps listed below. I’m assuming that these are the steps that you were asking me to do?

                                mysql> DELETE FROM `multicastSessions` WHERE 1;
                                Query OK, 15 rows affected (0.00 sec)
                                
                                mysql> DELETE FROM `multicastSessionsAssoc` WHERE 1;
                                Query OK, 2 rows affected (0.00 sec)
                                
                                mysql> DELETE FROM `tasks` WHERE `taskTypeID` = 8;
                                Query OK, 42 rows affected (0.01 sec)
                                

                                I then restarted the service, and tested again. I got the same results.

                                [08-11-16 9:21:43 am] * Starting MulticastManager Service
                                [08-11-16 9:21:43 am] * Checking for new items every 10 seconds
                                [08-11-16 9:21:43 am] * Starting service loop
                                [08-11-16 9:21:43 am] * No tasks found!
                                [08-11-16 9:21:53 am] * No tasks found!
                                [08-11-16 9:22:03 am] * No tasks found!
                                [08-11-16 9:22:13 am] * No tasks found!
                                [08-11-16 9:22:23 am] * No tasks found!
                                [08-11-16 9:22:33 am] * No tasks found!
                                [08-11-16 9:22:43 am] * No tasks found!
                                [08-11-16 9:22:53 am] * No tasks found!
                                [08-11-16 9:23:03 am] * No tasks found!
                                [08-11-16 9:23:13 am] * No tasks found!
                                [08-11-16 9:23:23 am] * No tasks found!
                                [08-11-16 9:23:33 am] * No tasks found!
                                [08-11-16 9:23:43 am] | Task (16) test is new!
                                [08-11-16 9:23:43 am] | Task (16) test has been cleaned.
                                [08-11-16 9:23:43 am] | Task (16) /images/Windows10DefaultLaptop image file found.
                                [08-11-16 9:23:43 am] | Task (16) 2 client(s) found or to receive.
                                [08-11-16 9:23:43 am] | Task (16) test sending on base port: 64148
                                [08-11-16 9:23:43 am] | CMD: cat /images/Windows10DefaultLaptop/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 240 --portbase 64148 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p2.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --portbase 64148 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p3.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --portbase 64148 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p4.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --portbase 64148 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p5.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --portbase 64148 --full-duplex --ttl 32 --nokbd --nopointopoint;
                                [08-11-16 9:23:43 am] | Task (16) test has started.
                                [08-11-16 9:23:53 am] | Task (16) test is already running PID 27359
                                [08-11-16 9:24:03 am] | Task (16) test is already running PID 27359
                                [08-11-16 9:24:13 am] | Task (16) test is already running PID 27359
                                [08-11-16 9:24:23 am] | Task (16) test is already running PID 27359
                                [08-11-16 9:24:33 am] | Task (16) test is already running PID 27359
                                [08-11-16 9:24:43 am] | Task (16) test is already running PID 27359
                                [08-11-16 9:24:53 am] | 1 task to be cleaned
                                [08-11-16 9:24:53 am] | Cleaning 1 task(s) removed from FOG Database.
                                [08-11-16 9:24:53 am] | Cleaning Task (16) test
                                [08-11-16 9:24:53 am] | Task (16) test has been completed.
                                [08-11-16 9:24:53 am] * No tasks found!
                                [08-11-16 9:25:03 am] * No tasks found!
                                
                                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman @Towndrunk
                                  last edited by Wayne Workman

                                  @Towndrunk Can you repeat the steps to clean the DB, then update to RC-8 (installing RC-8 will restart fog multicast manager as part of the upgrade), then try again?

                                  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/

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

                                    @Wayne-Workman I can do that. I am already running RC-8 though. I ran the upgrade this morning before doing the steps to clean the DB. If you want me to, I can repeat the process now.

                                    Running Version 1.3.0-RC-8
                                    SVN Revision: 5949

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

                                      @Towndrunk No, don’t bother then.

                                      What OS is fog running on?

                                      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/

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

                                        @Wayne-Workman Ubuntu 14.04 LTS

                                        mysql> DELETE FROM `multicastSessions` WHERE 1;
                                        Query OK, 1 row affected (0.00 sec)
                                        
                                        mysql> DELETE FROM `multicastSessionsAssoc` WHERE 1;
                                        Query OK, 0 rows affected (0.00 sec)
                                        
                                        mysql> DELETE FROM `tasks` WHERE `taskTypeID` = 8;
                                        Query OK, 2 rows affected (0.00 sec)
                                        
                                        mysql> quit
                                        Bye
                                        root@FogServer:~# cd /root/fogproject
                                        root@FogServer:~/fogproject# git pull
                                        Already up-to-date.
                                        root@FogServer:~/fogproject#
                                        
                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          BedCruncher @Towndrunk
                                          last edited by BedCruncher

                                          @Towndrunk
                                          Try this…

                                          systemctl stop FOGMulticastManager
                                          killall udp-sender
                                          killall udp-sender
                                          killall udp-sender
                                          mysql -u root fog
                                          TRUNCATE TABLE multicastSessionsAssoc;
                                          TRUNCATE TABLE multicastSessions;
                                          TRUNCATE TABLE tasks;
                                          quit;
                                          systemctl start FOGMulticastManager
                                          
                                          T 1 Reply Last reply Reply Quote 1
                                          • T
                                            Towndrunk @BedCruncher
                                            last edited by Towndrunk

                                            @BedCruncher I’ll make an attempt now and see what happens.

                                            root@FogServer:~# sudo service FOGMulticastManager stop
                                             * Stopping FOG Computer Imaging Solution: FOGMulticastManager                                                                 [ OK ] 
                                            root@FogServer:~# killall udp-sender
                                            root@FogServer:~# killall udp-sender
                                            root@FogServer:~# killall udp-sender
                                            root@FogServer:~# mysql -u root fog
                                            Reading table information for completion of table and column names
                                            You can turn off this feature to get a quicker startup with -A
                                            
                                            Welcome to the MySQL monitor.  Commands end with ; or \g.
                                            Your MySQL connection id is 107
                                            Server version: 5.5.50-0ubuntu0.14.04.1 (Ubuntu)
                                            
                                            Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
                                            
                                            Oracle is a registered trademark of Oracle Corporation and/or its
                                            affiliates. Other names may be trademarks of their respective
                                            owners.
                                            
                                            Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
                                            
                                            mysql> TRUNCATE TABLE multicastSessionsAssoc;
                                            Query OK, 0 rows affected (0.00 sec)
                                            
                                            mysql> TRUNCATE TABLE multicastSessions;
                                            Query OK, 0 rows affected (0.00 sec)
                                            
                                            mysql> TRUNCATE TABLE tasks;
                                            Query OK, 0 rows affected (0.00 sec)
                                            
                                            mysql> quit;
                                            Bye
                                            root@FogServer:~# sudo service FOGMulticastManager start
                                             * Starting FOG Computer Imaging Solution: FOGMulticastManager                                                                 [ OK ]
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            244

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project