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

    Problems with multicast task

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    34
    11.9k
    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.
    • Miguel PalaciosM
      Miguel Palacios
      last edited by

      The base version is 1.2.0 and SVN version is 7599

      1 Reply Last reply Reply Quote 0
      • S
        Sunks
        last edited by

        Hello, i have the same issue with only 1 interface on my fog and a basic configuration node

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @Sunks We are more than happy to help you with whatever issue you have. But please open your own topic so we don’t get things mixed up here. As well I have to add that we hear things like “i have the same issue” often and most of the times it turns out to be a different problem! So please describe in detail your setup (OS version, FOG version, network setup, log files, …) and we surely will be able to give you a hand with this.

          @Miguel-Palacios Does restarting the service help for you? service FOGMulticastManager restart You should see newer messages in the logs…

          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
          • Miguel PalaciosM
            Miguel Palacios
            last edited by

            @Sebastian-Roth, when I restart the service appear this error…

            [root@IMG-28V-LMES-20 ~]# service FOGMulticastManager restart
            Reiniciando FOGMulticastManager:                           [  OK  ]
            [root@IMG-28V-LMES-20 ~]# PHP Fatal error:  Call to undefined method MulticastManager::getBanner() in /opt/fog/service/FOGMulticastManager/FOGMulticastManager on line 13
            

            The log continued same… No entries

            Q H 2 Replies Last reply Reply Quote 0
            • Q
              Quazz Moderator @Miguel Palacios
              last edited by

              @Miguel-Palacios Is there some extra information in the Apache error log?

              In the mean time, updating to the latest and checking again might be useful.

              1 Reply Last reply Reply Quote 0
              • Miguel PalaciosM
                Miguel Palacios
                last edited by

                @Quazz I have install the las version (7659). If I restart the process appear the same error:

                [root@IMG-28V-LMES-20 bin]# PHP Fatal error:  Call to undefined method MulticastManager::getBanner() in /opt/fog/service/FOGMulticastManager/FOGMulticastManager on line 13
                

                Here are the apache log:

                0_1463499177467_A.PNG

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Miguel-Palacios Which version of PHP is installed? rpm -qa | grep php

                  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
                  • Miguel PalaciosM
                    Miguel Palacios
                    last edited by

                    @Sebastian-Roth

                    [root@IMG-28V-LMES-20 fog]# rpm -qa | grep php
                    php-5.6.21-1.el6.remi.x86_64
                    php-common-5.6.21-1.el6.remi.x86_64
                    php-fpm-5.6.21-1.el6.remi.x86_64
                    php-pdo-5.6.21-1.el6.remi.x86_64
                    php-mcrypt-5.6.21-1.el6.remi.x86_64
                    php-process-5.6.21-1.el6.remi.x86_64
                    php-cli-5.6.21-1.el6.remi.x86_64
                    php-mbstring-5.6.21-1.el6.remi.x86_64
                    php-pecl-zip-1.13.2-1.el6.remi.5.6.x86_64
                    php-gd-5.6.21-1.el6.remi.x86_64
                    php-mysqlnd-5.6.21-1.el6.remi.x86_64
                    php-pecl-jsonc-1.3.9-1.el6.remi.5.6.x86_64
                    
                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      Do you actually see the new version number (7659) in the blue cloud on the web interface after upgrading to the latest?

                      Please run:

                      ls -al /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                      ls -al /var/www/fog/lib/service/fogservice.class.php
                      ls -al /var/www/fog/lib/service/multicastmanager.class.php
                      grep getBanner /var/www/fog/lib/service/fogservice.class.php
                      

                      Possibly the www paths might be /var/www/html/fog/lib/...

                      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
                      • Miguel PalaciosM
                        Miguel Palacios
                        last edited by

                        @Sebastian-Roth, yes… you can view here

                        0_1463501789194_A.PNG

                        [root@IMG-28V-LMES-20 fog]# ls -al /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                        -rwxr-xr-x. 1 root root 634 may 17 18:06 /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                        [root@IMG-28V-LMES-20 fog]# ls -al /var/www/fog/lib/service/fogservice.class.php
                        -rw-r--r-- 1 apache apache 14782 may 17 17:59 /var/www/fog/lib/service/fogservice.class.php
                        [root@IMG-28V-LMES-20 fog]# ls -al /var/www/fog/lib/service/multicastmanager.class.php
                        -rw-r--r-- 1 apache apache 9832 may 17 17:59 /var/www/fog/lib/service/multicastmanager.class.php
                        [root@IMG-28V-LMES-20 fog]# grep getBanner /var/www/fog/lib/service/fogservice.class.php
                            public function getBanner() {
                        
                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          Anyone able to reproduce this on CentOS 6.5???

                          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
                          • Tom ElliottT
                            Tom Elliott @Miguel Palacios
                            last edited by

                            @Miguel-Palacios do me a favor and run

                            mv /var/www/fog{,_back}
                            ln -s /var/www/html/fog /var/www/fog
                            

                            Then rerun the installer please. Hopefully this will help.

                            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 2
                            • Miguel PalaciosM
                              Miguel Palacios
                              last edited by

                              @Tom-Elliott, I followed your instructions and all continued same 😞
                              Also I have tried to install the new update and not fix the problem…

                              Thank you!

                              1 Reply Last reply Reply Quote 0
                              • Miguel PalaciosM
                                Miguel Palacios
                                last edited by

                                0_1463563925271_a.PNG

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gerald.stachl
                                  last edited by

                                  Seems to be a similar error than in my Thread (https://forums.fogproject.org/topic/7414/multicast-not-starting)
                                  array_map(): An error occurred while … …/fogcontroller.class.php
                                  => php settings? php version?

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    habu @Tom Elliott
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      habu
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        habu @Miguel Palacios
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          habu @Tom Elliott
                                          last edited by

                                          @Tom-Elliott
                                          I solved this question in my case, perhaps it may help someone.

                                          • FOG 1.3-RC1 on CentOS 7.0.
                                          • Unicast deploy working.
                                          • Even multicast was working.

                                          After a system reboot, MulticastManager didn’t start again:

                                          Sep 4 06:01:28 clonacion FOGMulticastManager: PHP Fatal error: Call to undefined method MulticastManager::getBanner() in /opt/fog/service/FOGMulticastManager/FOGMulticastManager on line 13

                                          It didn’t matter if I added a multicast task: udp-sender process didn’t start because service didn’t start before (you’ll see only one FOGMulticastManager in process list --ps–, it’s the parent which forks periodically one child process (but this one will die at GetBanned method invocation).

                                          If I commented GetBanner() invocation out at /opt/fog/service/FOGMulticastManager/FOGMulticastManager, then it failed at next method call to object MulticastManager.

                                          I found TWO “MulticastManager” class, one of them extends FOGBase (at lib/fog directory) and the other one extends FOGService (at lib/service directory). Only the last one has defined methods like GetBanner(), etc. By any reason, it uses in some cases wrongly the first one (even when it used the second one after installation because it worked before).

                                          So, I renamed MulticastManager class that extends FOGService to MulticastManagerService, and I changed the code to use that. After that, service FOGMulticastService starts with no problems, it works. I did the same thing with rest of services: FOGScheduler,…

                                          I resume (for service MulticastManager: repeat it with other services in /opt/fog/services directory):

                                          1. Edit /opt/fog/service/FOGMulticastManager/FogMulticastManager file: modify line 8 from $ServiceClass = FOGCore::getClass(‘MulticastManage’); to $ServiceClass = FOGCore::getClass(‘MulticastManagerService’);

                                          2. Rename file /var/www/html/fog/lib/service/multicastmanager.class.php to /var/www/html/fog/lib/service/multicastmanagerservice.class.php (/var/www/html/fog is the path to fog web service)

                                          3. Edit /var/www/html/fog/lib/service/multicastmanagerservice.class.php and modify the name of this class (line 2) from “class MulticastManager extends FOGService” to “class MulticastManagerService extends FOGService”

                                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                                          • H
                                            habu
                                            last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            213

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project