FOG 1.3.0 RC23 Multicast not working - StorageNode
-
@Duncan That message is okay.
Now if you try to start it? You can try it as:
/bin/bash -x /etc/init.d/FOGMulticastManager restart
-
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/bin:/usr/sbin + DAEMON=/opt/fog/service/FOGMulticastManager/FOGMulticastManager + NAME=FOGMulticastManager + PIDFILE=/var/run/fog/FOGMulticastManager.pid + DESC='FOG Computer Imaging Solution' + test -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager + . /lib/lsb/init-functions +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)' ++ '[' -r /lib/lsb/init-functions.d/01-upstart-lsb ']' ++ . /lib/lsb/init-functions.d/01-upstart-lsb +++ unset UPSTART_SESSION +++ _RC_SCRIPT=/etc/init.d/FOGMulticastManager +++ '[' -r /etc/init//etc/init.d/FOGMulticastManager.conf ']' +++ _UPSTART_JOB=FOGMulticastManager +++ '[' -r /etc/init/FOGMulticastManager.conf ']' ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)' ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']' ++ . /lib/lsb/init-functions.d/20-left-info-blocks ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)' ++ '[' -r /lib/lsb/init-functions.d/50-ubuntu-logging ']' ++ . /lib/lsb/init-functions.d/50-ubuntu-logging +++ LOG_DAEMON_MSG= ++ FANCYTTY= ++ '[' -e /etc/lsb-base-logging.sh ']' ++ true + case "$1" in + log_begin_msg 'Restarting FOG Computer Imaging Solution: FOGMulticastManager' + log_daemon_msg 'Restarting FOG Computer Imaging Solution: FOGMulticastManager' + '[' -z 'Restarting FOG Computer Imaging Solution: FOGMulticastManager' ']' + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + '[' -t 1 ']' + '[' xxterm '!=' x ']' + '[' xxterm '!=' xdumb ']' + '[' -x /usr/bin/tput ']' + '[' -x /usr/bin/expr ']' + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + '[' -z ']' + FANCYTTY=1 + case "$FANCYTTY" in + true + /usr/bin/tput xenl ++ /usr/bin/tput cols + COLS=107 + '[' 107 ']' + '[' 107 -gt 6 ']' ++ /usr/bin/expr 107 - 7 + COL=100 + log_use_plymouth + '[' n = y ']' + plymouth --ping + printf ' * Restarting FOG Computer Imaging Solution: FOGMulticastManager ' * Restarting FOG Computer Imaging Solution: FOGMulticastManager ++ /usr/bin/expr 107 - 1 + /usr/bin/tput hpa 106 + printf ' ' + start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile /var/run/fog/FOGMulticastManager.pid start-stop-daemon: warning: failed to kill 27289: No such process + success=1 + rm /var/run/fog/FOGMulticastManager.pid + killall /opt/fog/service/FOGMulticastManager/FOGMulticastManager ++ dirname /var/run/fog/FOGMulticastManager.pid + mkdir -p /var/run/fog + '[' '!' -f /var/run/fog/FOGMulticastManager.pid ']' + start-stop-daemon --start --quiet --pidfile /var/run/fog/FOGMulticastManager.pid --make-pidfile -b --exec /opt/fog/service/FOGMulticastManager/FOGMulticastManager + log_end_msg 0 + '[' -z 0 ']' + '[' 100 ']' + '[' -x /usr/bin/tput ']' + log_use_plymouth + '[' n = y ']' + plymouth --ping + printf '\r' + /usr/bin/tput hpa 100 + '[' 0 -eq 0 ']' + echo '[ OK ]' [ OK ] + return 0 + exit 0
-
@Duncan Is /var/log/fog/multicast.log populated and filling in now?
tail -100f /var/log/fog/multicast.log
-
@Tom-Elliott said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
tail -100f /var/log/fog/multicast.log
No nothing new, still the info with dates 04-20-16 - same as first log from the post
-
Interestingly I got the same problem on one of four FOG instances. They are all rather the same, Ubuntu 14, upgraded to 1.3.0 RC23, none of the services is starting and nothing suspicous is getting logged. Running the init-script with bash -x also doesn’t give a clue.
-
@jhuebner Can you try:
php -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager
-
root@fog-rz5:/var/log# php -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager Fatal error: Uncaught Error: Call to undefined function _() in /var/www/fog/commons/init.php:354 Stack trace: #0 /var/www/fog/commons/init.php(220): Initiator::_extCheck() #1 /var/www/fog/commons/init.php(428): Initiator::startInit() #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...') #3 /opt/fog/service/FOGMulticastManager/FOGMulticastManager(25): require('/opt/fog/servic...') #4 {main} thrown in /var/www/fog/commons/init.php on line 354
-
@jhuebner Can you install:
apt-get install php-gettext
-
root@fog-rz5:/var/log# apt-get install php-gettext Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig php-gettext ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
It’s already installed…
-
@jhuebner said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
root@fog-rz5:/var/log# apt-get install php-gettext Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig php-gettext ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
It’s already installed…
same results for me
-
Hm, odd.
root@fog-rz5:/etc/php5/mods-available# php5enmod gettext WARNING: Module gettext ini file doesn't exist under /etc/php5/mods-available WARNING: Module gettext ini file doesn't exist under /etc/php5/mods-available WARNING: Module gettext ini file doesn't exist under /etc/php5/mods-available
-
@jhuebner This is going to be crazy. I’m now aware of what is happening, but I don’t have a nice mechanism to fix.
THANK YOU UBUNTU (Really Ondrej?)
php-gettext is the package that is installed (notice that it doesn’t have a version to it?)
-
@Tom-Elliott said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
php-gettext is the package that is installed (notice that it doesn’t have a version to it?)
I had some other issues with Ondrej’s repository. I think it’s a bit of a mess.
-
Try these steps please:
rm -rf /etc/php* /etc/apache2* apt-get purge php5* php7* apache2* libapache*php*
Edit the /opt/fog/.fogsettings file.
Change out the php_ver to read with
php_ver='7.1'
Change out the php_verAdds to read withphp_verAdds='-7.1'
Delete the packages line.Rerun the installer.
-
@Tom-Elliott said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
Try these steps please:
Yeap, that works
-
-
@Duncan Two confirmations now. @ryanxplosion has also found this problem and just confirmed with me on the “fix”
-
Does this mean yours is now working too @Duncan?
-
@Duncan The services now start - I didn’t have the chance to test a multicast-session, but would assume it now just works, yes.
-
* Setting up fog user.........................................Already setup * Setting up fog password.....................................OK * Backing up user reports.....................................Done * Stopping web service........................................Failed!
This is what i get now - never simple is it