• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG 1.3.0 RC23 Multicast not working - StorageNode

Scheduled Pinned Locked Moved
General
5
55
16.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Duncan
    last edited by Duncan Nov 16, 2016, 7:33 AM Nov 16, 2016, 1:32 PM

     * FOGMulticastManager is not running
    
    DELETE FROM `tasks` WHERE `taskTypeID` = 8;
    

    Cleared out 5 tasks with that command.

    Then try to start FOGMulticastManager and get:

    service FOGMulticastManager start
     * Starting FOG Computer Imaging Solution: FOGMulticastManager           [fail]
    

    Storage node is marked as master and it was working but it was ages ago when i was on 0.32.

    Thanks

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 16, 2016, 1:36 PM

      Storage node not foudn on this system is when it’s checking for IP’s. The ips returned don’t match anything that’s stored in the DB.

      That said, there’s a known issue with FOGMulticastManager which has been fixed. Please take a look at /var/www/fog/lib/service/multicastmanager.class.php

      Line number 583 add a comma to the end of the line.

      Restart FOGMulticastManager Service.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      D 1 Reply Last reply Nov 16, 2016, 1:41 PM Reply Quote 0
      • D
        Duncan @Tom Elliott
        last edited by Nov 16, 2016, 1:41 PM

        @Tom-Elliott said in FOG 1.3.0 RC23 Multicast not working - StorageNode:

        /var/www/fog/lib/service/multicastmanager.class.php

        Dont seem to have that file.

        i can get to /var/www/fog/lib - but no service directory

        I see the multicastmanager.class.php in /var/www/fog/lib/fog/

        D 1 Reply Last reply Nov 16, 2016, 1:51 PM Reply Quote 0
        • D
          Duncan @Duncan
          last edited by Nov 16, 2016, 1:51 PM

          @Duncan said in FOG 1.3.0 RC23 Multicast not working - StorageNode:

          @Tom-Elliott said in FOG 1.3.0 RC23 Multicast not working - StorageNode:

          /var/www/fog/lib/service/multicastmanager.class.php

          Dont seem to have that file.

          i can get to /var/www/fog/lib - but no service directory

          I see the multicastmanager.class.php in /var/www/fog/lib/fog/

          Also see it in /var/www/html/fog/lib/service

          T 1 Reply Last reply Nov 16, 2016, 1:57 PM Reply Quote 0
          • T
            Tom Elliott @Duncan
            last edited by Nov 16, 2016, 1:57 PM

            @Duncan Please run:
            If you have data in your /var/www/html/fog folder that is not fog related store the data somewhere first.

            Then run:
            rm -rf /var/www/{html/,}fog

            Then rm -f /home/*.BACKUP

            Then rerun the installer please?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            D 1 Reply Last reply Nov 16, 2016, 2:06 PM Reply Quote 0
            • D
              Duncan @Tom Elliott
              last edited by Nov 16, 2016, 2:06 PM

              @Tom-Elliott

              Do i do this just on the fog server or the storage node too?

              Cheers

              T 1 Reply Last reply Nov 16, 2016, 2:12 PM Reply Quote 0
              • T
                Tom Elliott @Duncan
                last edited by Nov 16, 2016, 2:12 PM

                @Duncan Whatever “node” is the “master”.

                Non-master nodes the service just skips anyway.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Nov 16, 2016, 2:12 PM

                  And if you need to rerun the installer for the same reason on both, please on both.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  D 1 Reply Last reply Nov 16, 2016, 2:29 PM Reply Quote 0
                  • D
                    Duncan @Tom Elliott
                    last edited by Nov 16, 2016, 2:29 PM

                    @Tom-Elliott

                    Ran the commands rm -rf /var/www/{html/,}fog and rm -f /home/*.BACKUP on my master storage node.

                    Then reran the installer.

                    Changed line 583 on /var/www/fog/lib/service/multicastmanager.class.php

                    Tried to start FOGMulticastManager service; failed to start.

                    service FOGMulticastManager start
                     * Starting FOG Computer Imaging Solution: FOGMulticastManager           [fail]
                    
                    T 1 Reply Last reply Nov 16, 2016, 2:31 PM Reply Quote 0
                    • T
                      Tom Elliott @Duncan
                      last edited by Nov 16, 2016, 2:31 PM

                      @Duncan Try stopping first? (I’m running completely blind obviously though so I’m sorry if it’s not 100% perfect support yet).

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      D 1 Reply Last reply Nov 16, 2016, 2:32 PM Reply Quote 0
                      • D
                        Duncan @Tom Elliott
                        last edited by Duncan Nov 16, 2016, 8:32 AM Nov 16, 2016, 2:32 PM

                        @Tom-Elliott I understand its hard to fault find blind - so thanks for the help

                        service FOGMulticastManager stop
                         * Stopping FOG Computer Imaging Solution: FOGMulticastManager                  
                        start-stop-daemon: warning: failed to kill 27181: No such process
                        
                        
                        T 1 Reply Last reply Nov 16, 2016, 2:33 PM Reply Quote 0
                        • T
                          Tom Elliott @Duncan
                          last edited by Tom Elliott Nov 16, 2016, 8:33 AM Nov 16, 2016, 2:33 PM

                          @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

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          D 1 Reply Last reply Nov 16, 2016, 2:35 PM Reply Quote 0
                          • D
                            Duncan @Tom Elliott
                            last edited by Nov 16, 2016, 2:35 PM

                            @Tom-Elliott

                            + 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
                            
                            T 1 Reply Last reply Nov 16, 2016, 3:03 PM Reply Quote 0
                            • T
                              Tom Elliott @Duncan
                              last edited by Nov 16, 2016, 3:03 PM

                              @Duncan Is /var/log/fog/multicast.log populated and filling in now?

                              tail -100f /var/log/fog/multicast.log

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              D 1 Reply Last reply Nov 16, 2016, 3:05 PM Reply Quote 0
                              • D
                                Duncan @Tom Elliott
                                last edited by Duncan Nov 16, 2016, 9:05 AM Nov 16, 2016, 3:05 PM

                                @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

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jhuebner
                                  last edited by Nov 17, 2016, 11:19 AM

                                  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.

                                  T 1 Reply Last reply Nov 17, 2016, 11:23 AM Reply Quote 0
                                  • T
                                    Tom Elliott @jhuebner
                                    last edited by Nov 17, 2016, 11:23 AM

                                    @jhuebner Can you try:

                                    php -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 1
                                    • J
                                      jhuebner
                                      last edited by Nov 17, 2016, 11:24 AM

                                      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
                                      
                                      T 1 Reply Last reply Nov 17, 2016, 11:24 AM Reply Quote 0
                                      • T
                                        Tom Elliott @jhuebner
                                        last edited by Nov 17, 2016, 11:24 AM

                                        @jhuebner Can you install:

                                        apt-get install php-gettext

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        J 1 Reply Last reply Nov 17, 2016, 11:30 AM Reply Quote 0
                                        • J
                                          jhuebner @Tom Elliott
                                          last edited by Nov 17, 2016, 11:30 AM

                                          @Tom-Elliott

                                          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…

                                          D J T 3 Replies Last reply Nov 17, 2016, 11:34 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            12/55
                                            Last post

                                          128

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project