Multicast in FOG 1.3.3 Not Starting
-
Server
- FOG Version: 1.3.3
- OS: Ubuntu Server 16.4 LTS
Client
- Service Version:
- OS: Win 7 Pro
Description
Hey Guys! Recently upgraded to FOG 1.3.3 (SVN Revision: 6061) and it seems that my multicast functionality has stopped. When I was using 1.3 RC it was working properly.
I start the session through the Image Management page on the Fog web interface. I am able to join and the session and get Partclone to load but that’s when things stop, I know its supposed to start after either the timeout or client count is reached but that doesn’t happen.
I can see the multicast session on the fog web interface and see that there are machines in it and it says the session is “In Progress”
I’m wondering if this is a known issue or if its just happening to me.
Any advice?
-
Is the FOG Multicast Manager service running?
systemctl status FOGMulticastManager -l
should give us any errors being thrown.
Can you give us a view of the Logs? (From GUI goto FOG Configuration Page->Log Viewer->Select Multicast Manager from the dropdown on the left top of the window) -
● FOGMulticastManager.service - FOGMulticastManager Loaded: loaded (/lib/systemd/system/FOGMulticastManager.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2017-01-18 15:08:14 EST; 1 day 3h ago Main PID: 16218 (code=exited, status=255) Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: Stack trace: Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: #0 /var/www/html/fog/commons/init.php(319): Initiator::_extCheck() Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: #1 /var/www/html/fog/commons/base.inc.php(48): Initiator::startInit() Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/html/f...') Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: #3 /opt/fog/service/FOGMulticastManager/FOGMulticastManager(25): require('/opt/fog/servic...') Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: #4 {main} Jan 18 15:08:14 ubuntu FOGMulticastManager[16218]: thrown in /var/www/html/fog/commons/init.php on line 453 Jan 18 15:08:14 ubuntu systemd[1]: FOGMulticastManager.service: Main process exited, code=exited, status=255/n/a Jan 18 15:08:14 ubuntu systemd[1]: FOGMulticastManager.service: Unit entered failed state. Jan 18 15:08:14 ubuntu systemd[1]: FOGMulticastManager.service: Failed with result 'exit-code'.
And the GUI Log Viewer is saying No Task Found
-
@PBrow Can you stop the service:
systemctl stop FOGMulticastManager
And attempt starting the service manually?
php -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager
-
@PBrow Also, based on what I’m seeing it appears the extensions FOG requires are not availabled (probably because ubuntu separates php processes of “apache” based and “cli” based.
-
root@ubuntu:~# php -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager PHP Fatal error: Uncaught Exception: Missing one or more extensions. in /var/www/html/fog/commons/init.php:453 Stack trace: #0 /var/www/html/fog/commons/init.php(319): Initiator::_extCheck() #1 /var/www/html/fog/commons/base.inc.php(48): Initiator::startInit() #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/html/f...') #3 /opt/fog/service/FOGMulticastManager/FOGMulticastManager(25): require('/opt/fog/servic...') #4 {main} thrown in /var/www/html/fog/commons/init.php on line 453 root@ubuntu:~#
-
Attempting to hit you up in chat.
-
Remoted in. Issue possibly appeared from an Ubuntu update.
Essentially, however, the services were not able to start because PHP was missing the mysqli extension. I suspect it was removed (or at least unlinked) during one of these OS updates.
Cleaned up/fixed this by editing the
/opt/fog/.fogsettings
file and removing the php_ver, php_verAdds, and packages lines. Reran the installer and everything needed installed properly and the services all appear to be working properly too now.