SOLVED Multicast does not work anymore

  • Version 1.4.4
    Debian 9.0.0

    Hi there,

    we successfully imaged some computers using multicast, but now it does not work anymore. I added 5 computers to a install group and asked to deploy via multicast.

    Multicastmanager seems to be running:

    # systemctl status FOGMulticastManager -l
    ● FOGMulticastManager.service - FOGMulticastManager
       Loaded: loaded (/lib/systemd/system/FOGMulticastManager.service; enabled; vendor preset: enabled)
       Active: active (running) since Mon 2017-09-25 13:35:31 CEST; 2min 57s ago
     Main PID: 31574 (FOGMulticastMan)
        Tasks: 4 (limit: 4915)
       CGroup: /system.slice/FOGMulticastManager.service
               ├─31574 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
               ├─31575 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
               ├─31967 sh -c /usr/local/sbin/udp-sender --interface ens33 --min-receivers 5 --max-wait 600 --portbase 54196 --full-duplex --ttl 32 --nokb
               └─31971 /usr/local/sbin/udp-sender --interface ens33 --min-receivers 5 --max-wait 600 --portbase 54196 --full-duplex --ttl 32 --nokbd --no
    Sep 25 13:35:31 debian-linux systemd[1]: Started FOGMulticastManager.

    Question for me is now: Before starting this multicast session with 5 hosts, I saw just: Tasks: 2. Why are there 4 now? And when there were 2: I have had no active tasks in the tasklist.

    FOG Configuration Page->Log Viewer-> Multicast just shows:

    [09-25-17 1:39:53 pm] | Task (16) Multi-Cast Task is already running with pid: 31967.
    [09-25-17 1:40:03 pm] | Task (16) Multi-Cast Task is already running with pid: 31967.
    [09-25-17 1:40:13 pm] | Task (16) Multi-Cast Task is already running with pid: 31967.

    The 5 clients simply stop at the Partclone Screen, where it says: Starting to restore… and the Image location is …

    Any help is appreciated!

  • @tywyn That’s the “processes” (called tasks in systemctl) that are running for the service. Those, themselves, are not tasks in the sense as you’re referring to them.

  • @Wayne-Workman , @Tom-Elliott Thank you gentlemen for your help. Truncating the tables was the solution.

    @Tom-Elliott You said, that you see just one task. What does the Tasks: 4 (limit: 4915) mean?

  • I only see one task.

    The systemctl status FOGMulticastManager -l is outputting all things related to that call.

    The php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager & lines appears that it started once and restarted it again.

    The sh -c /usr/local/sbin/udp-sender is the process starting the real multicast task itself.

    The /usr/local/udp-sender is the actually running command.