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

Multicast not starting

Scheduled Pinned Locked Moved Solved
FOG Problems
6
39
14.1k
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.
  • T
    Tom Elliott @gerald.stachl
    last edited by May 14, 2016, 11:34 AM

    @gerald.stachl Is FOGMulticastManager running?

    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

    G 1 Reply Last reply May 14, 2016, 11:50 AM Reply Quote 0
    • G
      gerald.stachl @Tom Elliott
      last edited by May 14, 2016, 11:50 AM

      @Tom-Elliott yes
      Service FOGMulticastManager status is Ok

      T 1 Reply Last reply May 14, 2016, 12:06 PM Reply Quote 0
      • T
        Tom Elliott @gerald.stachl
        last edited by May 14, 2016, 12:06 PM

        @gerald.stachl Can you post the /opt/fog/log/multicast.log file?

        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

        T 1 Reply Last reply May 14, 2016, 1:19 PM Reply Quote 0
        • T
          Tom Elliott @Tom Elliott
          last edited by May 14, 2016, 1:19 PM

          I’ve added some code to more dynamically get the master interface so we don’t continue to have these issues (hopefully).

          Basically, what my latest commit does, FOG will no longer need the Storage Node interface being set properly for our multicast tasks to operate. It will attempt to figure out which interface to use based on the host/ip of the storage node master. With any luck, this will mean no more of the lost udp sessions, though I can’t be 100% sure it won’t still cause issues. I’m relatively certain this change should help us with at least not losing the process that performs the tasking.

          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

          G 1 Reply Last reply May 14, 2016, 2:10 PM Reply Quote 0
          • G
            gerald.stachl @Tom Elliott
            last edited by gerald.stachl May 14, 2016, 8:41 AM May 14, 2016, 2:10 PM

            @Tom-Elliott
            multicast.log:
            12:02:27.250206 Using mcast address 234.2.0.26
            12:02:27.250265 UDP sender for /opt/fog/.fogsettings at 10.2.0.26 on eth0
            12:02:27.250284 Broadcasting control to 224.0.0.1
            12:03:27.018433 Starting transfer: 00000009
            12:03:27.039993 Doubling slice size to 162
            12:03:27.043873 Doubling slice size to 202
            12:03:27.062477 Transfer complete.
            12:03:27.062513 Disconnecting #0 (10.2.2.88)
            12:03:27.062522 Disconnecting #1 (10.2.2.152)
            12:03:27.062531

            the entries are from my tests with upd-sender on the console. There are not antries from mutlicast sesssions from fog.

            I did the update via git - still same situation.

            Where are the main config files now? /opt/fog/services/etc/config.php has only a definition of WEBROOT

            W 1 Reply Last reply May 14, 2016, 3:53 PM Reply Quote 0
            • W
              Wayne Workman @gerald.stachl
              last edited by May 14, 2016, 3:53 PM

              @gerald.stachl Just a basic question here, you know that when you do a git pull to update your fog installation files, you then need to re-run the installer correct? You can run it like this: ./installfog.sh -y

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              G 1 Reply Last reply May 14, 2016, 5:06 PM Reply Quote 0
              • G
                gerald.stachl @Wayne Workman
                last edited by May 14, 2016, 5:06 PM

                @Wayne-Workman
                Yes. After “git pull” i did
                ./bin/installfog.sh
                passwd fog (i use a different PW for the fog user)

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by May 14, 2016, 9:28 PM

                  Do you actually see the FOG services running on the server? ps ax | grep FOG?

                  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

                  G 1 Reply Last reply May 15, 2016, 4:52 AM Reply Quote 0
                  • G
                    gerald.stachl @Sebastian Roth
                    last edited by May 15, 2016, 4:52 AM

                    @Sebastian-Roth
                    root@imaging:~#
                    ps ax|grep FOG
                    49456 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
                    49467 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
                    49478 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                    49489 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
                    49760 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                    52203 ? Z 0:00 [FOGMulticastMan] <defunct>
                    52267 pts/0 S+ 0:00 grep FOG

                    i killed ps 52203 and then i rebooted the server. After that i got:

                    2271 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
                    2324 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                    2382 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
                    2411 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                    2441 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
                    4428 ? Z 0:00 [FOGMulticastMan] <defunct>
                    4429 ? Z 0:00 [FOGImageReplica] <defunct>
                    4430 ? Z 0:00 [FOGPingHosts] <defunct>
                    4431 ? Z 0:00 [FOGTaskSchedule] <defunct>
                    4432 ? Z 0:00 [FOGSnapinReplic] <defunct>
                    4444 pts/0 S+ 0:00 grep FOG

                    sometimes the zombie processes disappear:
                    2271 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
                    2324 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                    2382 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
                    2411 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                    2441 ? S 0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
                    4868 pts/0 S+ 0:00 grep FOG

                    then they appear again.

                    On this server, unicast imaging works fine. I had some problems with the FOG Client - i had to change back to the legacy client, because the domain join didn’t work with the new client (but it worked some weeks ago - but this might be a different problem)

                    T 1 Reply Last reply May 15, 2016, 12:07 PM Reply Quote 0
                    • T
                      Tom Elliott @gerald.stachl
                      last edited by May 15, 2016, 12:07 PM

                      @gerald.stachl is the OS this is installed using systemd or sysvinit? If systemctl can you get output of systemctl -l status FOGMulticastManager? If sysvinit can you get any information from the Apache error logs?

                      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

                      G 2 Replies Last reply May 15, 2016, 2:16 PM Reply Quote 0
                      • G
                        gerald.stachl @Tom Elliott
                        last edited by gerald.stachl May 15, 2016, 8:29 AM May 15, 2016, 2:16 PM

                        @Tom-Elliott

                        Yes, there are a lot of error messages. 10.2.2.83 is the IP of the client i try to multicast. Seems that there are problems with DB connections? - (Correction: i saw, that these errors are from yesterday: maybe when i truncated the mysql multicast and tasks tables?)
                        -> fogcontroller.class.php on line 197 ??

                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 38
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 38
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 38
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 38
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 38
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 38
                        [Sat May 14 16:24:12 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php on line 50
                        [Sat May 14 16:24:15 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::mysqli(): MySQL server has gone away in /var/www/fog/lib/db/mysql.class.php on line 25
                        [Sat May 14 16:24:15 2016] [error] [client 10.2.2.83] PHP Warning: mysqli::mysqli(): MySQL server has gone away in /var/www/fog/lib/db/mysql.class.php on line 28
                        [Sat May 14 16:24:16 2016] [notice] caught SIGTERM, shutting down
                        [Sat May 14 16:25:13 2016] [notice] Apache/2.2.22 (Debian) PHP/5.6.21-1~dotdeb+7.1 mod_ssl/2.2.22 OpenSSL/1.0.1e configured – resuming normal operations
                        [Sat May 14 16:25:25 2016] [error] [client 10.2.0.26] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/fog/lib/fog/schema.class.php:46) in /var/www/fog/lib/fog/reportmaker.class.php on line 98
                        [Sat May 14 16:29:05 2016] [error] [client 10.1.1.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://10.2.0.26/fog/management/index.php?node=group&sub=deploy&id=6&type=8
                        [Sat May 14 16:29:05 2016] [error] [client 10.1.1.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://10.2.0.26/fog/management/index.php?node=group&sub=deploy&id=6&type=8
                        [Sat May 14 16:29:05 2016] [error] [client 10.1.1.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://10.2.0.26/fog/management/index.php?node=group&sub=deploy&id=6&type=8
                        [Sat May 14 16:29:49 2016] [error] [client 10.2.2.83] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                        [Sat May 14 16:29:59 2016] [error] [client 10.2.2.83] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                        [Sun May 15 06:39:39 2016] [notice] caught SIGTERM, shutting down
                        [Sun May 15 06:40:15 2016] [notice] Apache/2.2.22 (Debian) PHP/5.6.21-1~dotdeb+7.1 mod_ssl/2.2.22 OpenSSL/1.0.1e configured – resuming normal operations
                        [Sun May 15 06:45:08 2016] [error] [client 10.1.1.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://10.2.0.26/fog/management/index.php?node=group&sub=deploy&id=6&type=8
                        [Sun May 15 06:45:08 2016] [error] [client 10.1.1.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://10.2.0.26/fog/management/index.php?node=group&sub=deploy&id=6&type=8
                        [Sun May 15 06:45:08 2016] [error] [client 10.1.1.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://10.2.0.26/fog/management/index.php?node=group&sub=deploy&id=6&type=8

                        1 Reply Last reply Reply Quote 0
                        • G
                          gerald.stachl @Tom Elliott
                          last edited by May 18, 2016, 3:55 PM

                          @Tom-Elliott
                          i just found something in syslog:
                          0_1463586865787_upload-30f88782-7c2f-47fd-ba75-20a8233301db

                          • not sure if this is correct. The errors above come from samba, because SAMBA4 is also installed on this server.
                          T 1 Reply Last reply May 18, 2016, 3:56 PM Reply Quote 0
                          • T
                            Tom Elliott @gerald.stachl
                            last edited by May 18, 2016, 3:56 PM

                            @gerald.stachl rpc is nfs. tftp is well, tftp. Can you update to the latest, again, 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

                            G 1 Reply Last reply May 18, 2016, 4:27 PM Reply Quote 0
                            • G
                              gerald.stachl @Tom Elliott
                              last edited by May 18, 2016, 4:27 PM

                              @Tom-Elliott
                              Did the Update (7701)
                              0_1463588791423_upload-bb61c840-318a-4aee-af3f-702a493eaa77
                              At the moment there is an error in management interface

                              T 1 Reply Last reply May 18, 2016, 4:27 PM Reply Quote 0
                              • T
                                Tom Elliott @gerald.stachl
                                last edited by May 18, 2016, 4:27 PM

                                @gerald.stachl Update again, but also do a hard refresh on the page.

                                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

                                G 1 Reply Last reply May 18, 2016, 5:10 PM Reply Quote 0
                                • G
                                  gerald.stachl @Tom Elliott
                                  last edited by May 18, 2016, 5:10 PM

                                  @Tom-Elliott
                                  Did both, the error on the task management page is gone, but still the same error when trying to start multicast.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by May 18, 2016, 6:03 PM

                                    @gerald-stachl said:

                                    same error when trying to start multicast

                                    Which error? The ones you posted from the apache log don’t seem to be related to multicast!

                                    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

                                    G 1 Reply Last reply May 18, 2016, 7:16 PM Reply Quote 0
                                    • G
                                      gerald.stachl @Sebastian Roth
                                      last edited by May 18, 2016, 7:16 PM

                                      @Sebastian-Roth
                                      I mean, that multicast is not starting. In apache error log there are lines like “[client 10.2.2.83] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197”
                                      There is another thread with similar error in logs:
                                      https://forums.fogproject.org/topic/7412/problems-with-multicast-task/23

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by May 18, 2016, 7:53 PM

                                        @gerald-stachl Ok, thanks for clarifying! I am calling @Tom-Elliott as I refuse to try to debug this kind of code (nested array_map calls). Sorry Tom, but this will be all yours…

                                        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

                                        T 1 Reply Last reply May 18, 2016, 8:14 PM Reply Quote 0
                                        • T
                                          Tom Elliott @Sebastian Roth
                                          last edited by May 18, 2016, 8:14 PM

                                          @Sebastian-Roth Error throwing is due to array_map not being able to handle “throw new” from within. I’ve adjusted all functional programming within the fogcontroller.class.php file to array_walk in hopes to fix the issue. I don’t know if it will fix the “mutlicast not starting” issue.

                                          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

                                          G 1 Reply Last reply May 19, 2016, 4:43 AM Reply Quote 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            20/39
                                            Last post

                                          161

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project