Multicast won't start
-
@Pascal-Gazaille Can you clear the DB of non-essential multicast data, and then restart the FOGMulticastManager, and try again? Instructions in the link below.
-
@Wayne-Workman
This just occured to me, but it seems exactly like the problem that I was having before with the custom rules that I had in my server. This is something that you had suggested that I do and it very well could solve the issue that is happening here…
https://forums.fogproject.org/topic/7245/multicast-issues-on-centos-7/51 -
@BedCruncher But that thread was never resolved, it appears. Turning off the firewall completely - didn’t help you, so it’s not firewall related. Have you tried the MySQL commands and restarted the multicast service yet?
-
I’m going to continue to watch this thread because I’m having the exact same issue. I have tried all of the same steps listed in this thread with no change.
-
@Towndrunk Problems are often specific to people. With multicast there’s not “an answer”. We need your details if you need our help.
-
@Wayne-Workman I wasn’t sure if I should start a new thread, or post in this one. I didn’t want to have to many issues going on in one thread.
-
I have went to Image Management> Multicast Image> and created a Multicast with the information I wanted. I only used two computers as a test, but it failed. I also created a group and added the computers that I wanted to multicast from there, however I get the same indication that Pascal received. It stops on the screen he indicated in his screenshot.
I have restarted the service with no changes. Every time I go and look at the tasks, it shows that the task is in progress even though nothing is happening.
When I look at the logs, it looks like things worked as they should from what I can tell. Please see the attached.
It wouldn’t let me attached the .txt file, so I’ll post the log here.
Ubuntu 14.04 Running Version 1.3.0-RC-7 SVN Revision: 5946 [08-10-16 4:07:36 pm] ___ ___ ___ /\ \ /\ \ /\ \ /::\ \ /::\ \ /::\ \ /:/\:\ \ /:/\:\ \ /:/\:\ \ /::\-\:\ \ /:/ \:\ \ /:/ \:\ \ /:/\:\ \:\__\ /:/__/ \:\__\ /:/__/_\:\__\ \/__\:\ \/__/ \:\ \ /:/ / \:\ /\ \/__/ \:\__\ \:\ /:/ / \:\ \:\__\ \/__/ \:\/:/ / \:\/:/ / \::/ / \::/ / \/__/ \/__/ ########################################### # Free Computer Imaging Solution # # Credits: # # http://fogproject.org/credits # # GNU GPL Version 3 # ########################################### [08-10-16 4:20:02 pm] * No tasks found! [08-10-16 4:20:12 pm] * No tasks found! [08-10-16 4:20:22 pm] * No tasks found! [08-10-16 4:20:32 pm] * No tasks found! [08-10-16 4:20:42 pm] * No tasks found! [08-10-16 4:20:52 pm] * No tasks found! [08-10-16 4:21:02 pm] * No tasks found! [08-10-16 4:21:12 pm] * No tasks found! [08-10-16 4:21:22 pm] | Task (11) keith is new! [08-10-16 4:21:22 pm] | Task (11) keith has been cleaned. [08-10-16 4:21:22 pm] | Task (11) /images/Windows10DefaultLaptop image file found. [08-10-16 4:21:22 pm] | Task (11) 2 client(s) found or to receive. [08-10-16 4:21:22 pm] | Task (11) keith sending on base port: 61432 [08-10-16 4:21:22 pm] | CMD: cat /images/Windows10DefaultLaptop/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 240 --mcast-data-address 10.15.31.20 --portbase 61432 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p2.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --mcast-data-address 10.15.31.20 --portbase 61432 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p3.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --mcast-data-address 10.15.31.20 --portbase 61432 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p4.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --mcast-data-address 10.15.31.20 --portbase 61432 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/Windows10DefaultLaptop/d1p5.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --mcast-data-address 10.15.31.20 --portbase 61432 --full-duplex --ttl 32 --nokbd --nopointopoint; [08-10-16 4:21:22 pm] | Task (11) keith has started. [08-10-16 4:21:32 pm] | Task (11) keith is already running PID 21154 [08-10-16 4:21:42 pm] | Task (11) keith is already running PID 21154 [08-10-16 4:21:52 pm] | Task (11) keith is already running PID 21154 [08-10-16 4:22:02 pm] | Task (11) keith is already running PID 21154 [08-10-16 4:22:12 pm] | 1 task to be cleaned [08-10-16 4:22:12 pm] | Cleaning 1 task(s) removed from FOG Database. [08-10-16 4:22:12 pm] | Cleaning Task (11) keith [08-10-16 4:22:12 pm] | Task (11) keith has been completed. [08-10-16 4:22:12 pm] * No tasks found! [08-10-16 4:22:22 pm] * No tasks found!
-
-
@Wayne-Workman that is the IP address of the FOG Server.
-
@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. -
@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.
-
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
-
@Towndrunk The multicast address is now completely missing from the command, did you set it to
0
or blank? -
@Wayne-Workman Multicast address on the sender will only display IF the multicast address in the global settings is defined.
-
@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-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!
-
@Towndrunk Can you please try the below steps that I posted for the other guy now?
-
@Wayne-Workman Once the multicast job is done, is it supposed to disapear from the DB ‘multicastSessions’?
-
@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.
-
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.