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

    FOG 1.2.0 multicast issues

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    66
    33.4k
    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
      TRSD
      last edited by

      [07-22-14 8:22:06 pm] * No tasks found!
      [07-22-14 8:22:16 pm] * No tasks found!
      [07-22-14 8:22:26 pm] | Task (1) Pete-Test is new!
      [07-22-14 8:22:26 pm] | Task (1) /images/PeteTest image file found.
      [07-22-14 8:22:26 pm] | Task (1) 2 client(s) found.
      [07-22-14 8:22:26 pm] | Task (1) Pete-Test sending on base port: 56378
      [07-22-14 8:22:26 pm] CMD: cat /images/PeteTest/rec.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 56378 --interface eth0 --full-duplex --ttl 32 --nokbd;cat /images/PeteTest/sys.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 56378 --interface eth0 --full-duplex --ttl 32 --nokbd;
      [07-22-14 8:22:26 pm] | Task (1) Pete-Test has started.
      [07-22-14 8:22:37 pm] | Task (1) Pete-Test is no longer running.
      [07-22-14 8:22:37 pm] | Task (1) Pete-Test has been cleaned as complete.
      [07-22-14 8:22:47 pm] * No tasks found!
      [07-22-14 8:22:57 pm] * No tasks found!

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

        How is it no luck? Nothing’s working? Did you restart the FOGMulticastManager service after you truncated everything? Is your Date Time Zone settings correct?

        What’s in your /opt/fog/log/multicast.log? Are the times correct for your location?

        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
          TRSD
          last edited by

          I tested multicast and it still didn’t work. FOGMulticastManager service was restarted (this time and many times previous). I will look at time zone as it is obviously wrong for Pacific time. I don’t know if that has changed.

          1 Reply Last reply Reply Quote 0
          • T
            TRSD
            last edited by

            The server time is correct. Where is the fog multicast.log getting it’s time from?

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

              /etc/php.ini (redhat)
              /etc/php5/apache2/php.ini (ubuntu/debian)

              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
                TRSD
                last edited by

                I changed that to:

                date.timezone = America/Los_Angeles

                restarted apache and I am still getting the same time results.

                Is there somewhere else that needs to change?

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

                  You’ll likely need to restart the server. I believe php runs more ingrained that just the apache2 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

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

                    Also, you’d likely have to restart the FOG Services:
                    [code]service FOGMulticastManager restart
                    service FOGImageReplicator restart
                    service FOGScheduler restart[/code]

                    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
                      TRSD
                      last edited by

                      I restarted the server and also the services you mention. Still no time change:

                      [07-22-14 9:13:13 pm] * No tasks found!
                      [07-22-14 9:13:23 pm] | Task (7) Pete-Test is new!
                      [07-22-14 9:13:23 pm] | Task (7) /images/PeteTest image file found.
                      [07-22-14 9:13:23 pm] | Task (7) 2 client(s) found.
                      [07-22-14 9:13:23 pm] | Task (7) Pete-Test sending on base port: 50260
                      [07-22-14 9:13:23 pm] CMD: cat /images/PeteTest/rec.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50260 --interface eth0 --full-duplex --ttl 32 --nokbd;cat /images/PeteTest/sys.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50260 --interface eth0 --full-duplex --ttl 32 --nokbd;
                      [07-22-14 9:13:23 pm] | Task (7) Pete-Test has started.
                      [07-22-14 9:13:33 pm] | Task (7) Pete-Test is no longer running.
                      [07-22-14 9:13:33 pm] | Task (7) Pete-Test has been cleaned as complete.
                      [07-22-14 9:13:43 pm] * No tasks found!

                      Also note that these log entries all occur before I turn on the clients.

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

                        [S]How can that be task number 7 if you truncated the tables?[/S]

                        NM you’ve tried 7 separate times.

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

                          What happens if you stop the FOGMulticastManager service before the 10 seconds are up when it tells you it’s cleaning as task is no longer running?

                          It appears, to me, that the task isn’t starting, and as it’s not starting, it’s completing the task because it’s no longer running. The udp-sender command isn’t starting on the host. So what I’m hoping for is to stop the service before it hit’s the ten second loop and completes the task.

                          Read the log and manually run the CMD line: that it outputs from the cat all the way to the end of that blurb.

                          Then start your clients, do they start imaging?

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

                            Also,

                            To retry:

                            Please try this:
                            [code]ln -s /usr/local/sbin/udp-sender /usr/sbin/udp-sender[/code]

                            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
                              TRSD
                              last edited by

                              I’m a little foggy on what you are looking for. Which log file should I “Read the log and manually run the CMD line: that it outputs from the cat all the way to the end of that blurb”.?

                              Also, I don’t know where it says that it’s cleaning but the multicast.log file only shows that it’s been cleaned.
                              and at that point it would be too late.

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

                                The multicast.log file is the one I need:

                                It prints out the command it’s using to start the udp-sender process.

                                In your above example:[quote][07-22-14 9:13:23 pm] CMD: cat /images/PeteTest/rec.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50260 --interface eth0 --full-duplex --ttl 32 --nokbd;cat /images/PeteTest/sys.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50260 --interface eth0 --full-duplex --ttl 32 --nokbd;[/quote]

                                Then you would just copy the cat to the end: e.g.
                                [code]cat /images/PeteTest/rec.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50260 --interface eth0 --full-duplex --ttl 32 --nokbd;cat /images/PeteTest/sys.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50260 --interface eth0 --full-duplex --ttl 32 --nokbd;[/code]

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

                                  What is the output of [code]ls -l /images[/code]

                                  Can you make sure permissions are correct with:[code]sudo chattr -i /images; sudo chmod -R 777 /images[/code] Please report any messages it returns with.

                                  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
                                    TRSD
                                    last edited by

                                    Here is the output I get though I’m not sure should the FOGMulticastManager service be started or not when running this (in this case it wasn’t:

                                    Udp-sender 20120424
                                    No suitable network interface found
                                    The following interfaces are available:
                                    lo 127.0.0.1
                                    eth1 10.1.0.55
                                    Udp-sender 20120424
                                    No suitable network interface found
                                    The following interfaces are available:
                                    lo 127.0.0.1
                                    eth1 10.1.0.55

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      TRSD
                                      last edited by

                                      Here is the relevant folder for the image in /images

                                      drwxrwxrwx 2 root root 4096 2014-07-17 15:56 PeteTest

                                      Also note /images is mounted on a remote folder.

                                      Chattr command gives this: chattr: Inappropriate ioctl for device while reading flags on /images

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

                                        As /images is mounted remotely, what’s the fstab/mtab entry for this mount point look like?

                                        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
                                          TRSD
                                          last edited by

                                          mtab: 10.1.0.56:/images /images nfs rw,addr=10.1.0.56 0 0

                                          fstab has nothing related to /images in it.

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

                                            Okay,

                                            On the remote site, on the remote side, can you make sure the permissions are:
                                            [code]chmod -R 777 /images[/code]

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post

                                            136

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project