Multicast randomly hangs
-
I am having the same problem with multicast. It gets to the Partclone screen and it hangs.
I also don’t see any instance of the request for multicast in the log. Both computers started up
to multicast but I can’t find a record of it in the multicast log. /opt/fog/log.multicast.log.version unbuntu server 14.01
fog 1.0.1Previously working multicast
-
is the FOGMulticastManager service actually operating? On the fog server is the task udpsender actually running?
Try Restarting the FOGMultlicastManager service:
[code]service FOGMulticastManager restart[/code]To check if udpsender is actually running run the command:
[code]ps -ef|grep udp-sender[/code] -
same problem…
-
Hi and good week for every1,
Just checked the if udp-sender was running and it wasn’t, just restarted [FONT=Consolas]FOGMulticastManager, restarted the clients and multicast is working, lets see if all goes well until the end, since i have many partitions.[/FONT]
[FONT=Consolas]Last week i also managed to get multicast to start, but also hanged between partitions.[/FONT]
[FONT=Consolas]I will keep you updated in 1 hour or so.[/FONT]
-
Both client machines finished all partitions.
I have one client, lets call him client1 with first boot = Network, and the other client2 with first boot = HD, what happened was, after restoring all partitions, client2 booted to windows and changed the hostname accordingly, but client1 entered again in the multicast task and hanged in the last partition, don’t understand how this happened…
Now i’m running the same task in 3 clients, just started, let’s see how it goes.
-
i get back unrecognized service after typing “sudo service FOGMulticastManager restart”
greez
-
Thats because the service ins’t running, try [CODE]sudo service FOGMulticastManager start[/CODE]
I normally use in Ubuntu “sudo service <servicename> start/stop” but for some reason it seems that “sudo /etc/init.d/<servicename>[SIZE=2] start/stop” works somehow [/SIZE]differently[SIZE=2] and with some services better!!![/SIZE]
-
i get fail.
-
Try rerunning the installer.
-
I have been doing some more tests on this issue.
I have started my normal multicast task for a group with 3 clients, they all went the “Starting to restore image…” Window but cloning doesn’t start.
udp-sender is up and running, and what it seems to be the problem is that while i only have 3 clients in the group the "–min-receivers " was 5 , i suppose this has to be 3.
I canceled the task and executed it again and now the task started, with --min-receivers 3, i’m gonna wait the cloning process finish’s just to confirm that it doesn’t hang between partitions.
-
The task finished fine yesterday.
But since somehow the --min-receivers is not always the number of members in the multicast group, today :
[LIST=1]
[]unnistalled FOG, removed folders, services and erase the fog database.
[]Checked out new revision from [url]https://svn.code.sf.net/p/freeghost/code/trunk[/url]
[]Clean installed FOG
[]Registered 3 clients
[]Created 2 groups, one with 2 clients the other with only one client
[]Started a multicast task for the 2 client’s group
[/LIST]
The task started but hanged in the beginning of the second partition (sda2).
I uploaded the multicast.log, and has you can see the --min-receivers, somehow changed to 4, which initially were 2.
Thanks[url=“/_imported_xf_attachments/0/799_multicast.log.zip?:”]multicast.log.zip[/url]
-
Don’t know if you got it right by now, but here it goes how I solved it.
I write another thread in BUGS, about this.
It has to do with the way the script fog.download counts partitions.
If you really need multicast with multiple partitions:- unzip init.xz (the same goes for init32.xz) with xz -d init.xz
- mount the init file in a loop device with: mount -o loop init sometempdir/
- go to sometempdir/bin with cd
- edit fog.download, and search for the part that does the multicast write, for your “method” (mps or mpa)
- look for the part that does a loop on each partition, and fix it in a way that it checks for the existence of the file
(something like if [ ! -f $imgpart ] ; then echo “Partition file missing …jumping”; sleep 1; else writeMulticastImage; fi )
(look in the “not multicast” lines or the previous multicast method, for just linux type) - save your file, and back to the init file dir.
- zip it with xz -C crc32 init
Put the task again to try it.
Try it again …you should briefly the message “Partition file …” and get the correct ones to the partclone/partimage program stream
Other related bug is in the MulticastTask.class.php. If you have 10 or more partitions, you need natsort() instead of sort().
Maybe you need a (not so much experienced) linux shell programmer to help.
P.S. Be sure to have also installed the php-process extensions to PHP, as the killing of multicast tasks uses posix_ functions in it. (That is for a CentOS / Redhat server; on Ubuntu server I have not tested or searched for them)