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

    WOL - no working for groups.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    15
    2.7k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      I moved this to fog problems for now.

      When you do the WOL with groups, have a second tab open in your browser with the log viewer open. web interface -> fog configuration -> log viewer -> apache error logs

      When you click the wol confirmation, watch the log viewer for a spamming of errors. If there are any, post those 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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      A UWPVIOLATORU 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        WOL for groups is handled by the FOGScheduler 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
        • A
          ablohowiak @Wayne Workman
          last edited by

          @Wayne-Workman
          Just one line:

          [:error] [pid 31478] [client :51206] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 390, referer: http://fog/fog/management/index.php?node=group&sub=edit&id=1469

          The results say the task was created, but nothing listed in active tasks.

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

            @ablohowiak I’ll take a look at the active group tasks. I’m just guessing by “WOL -no working for groups” you’re meaning WOL Tasking specified from the Advanced Tasks menu item?

            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

            A 1 Reply Last reply Reply Quote 0
            • A
              ablohowiak @Tom Elliott
              last edited by ablohowiak

              @Tom-Elliott
              Yes, but also as an imaging task, but I’ll need to re-confirm that piece. The service had crashed. I’ve confirmed the failure of WOL thru advanced task.

              Tom ElliottT A 2 Replies Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @ablohowiak
                last edited by

                @ablohowiak I don’t understand.

                When you create “imaging” tasks from the groups page, it’s not creating the actual tasks?

                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
                • A
                  ablohowiak @ablohowiak
                  last edited by

                  @ablohowiak
                  No, that was as an advanced task.

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

                    @ablohowiak I still don’t understand.

                    When you group task an imaging type (Deploy, Deploy - Without Snapins, Deploy - Debug, Multicast) from groups does it create the tasks? The Advanced Tasks->Wake On Lan does not ever create task manager taskings.

                    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

                      Wake On LAN will happen on all hosts in RC-6. This does also mean it will slow down group taskings a bit as it has to call SQL query for each host in the task.

                      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
                      • UWPVIOLATORU
                        UWPVIOLATOR @Wayne Workman
                        last edited by Wayne Workman

                        @Wayne-Workman Hi, working with @ablohowiak .

                        Here is what we got.
                        RC7
                        WOL to a group does NOT work.
                        WOL to individual host DOES work.
                        Groups to have members.
                        WOL does NOT work when deploying imaging task to group.

                        Apache Log

                        [Wed Aug 10 14:38:25.164390 2016] [:error] [pid 8234] [client 10.118.150.87:62661] PHP Warning: array_walk() expects parameter 1 to be array, null given in /var/www/html/fog/lib/fog/group.class.php on line 214, referer: http://fog/fog/management/index.php?node=group&sub=deploy&id=1504&type=14
                        
                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @UWPVIOLATOR
                          last edited by

                          @UWPVIOLATOR I need more information. The info, as I’m seeing, tends to show that hosts’ aren’t associated to that group. Why do I say that? The message you’re seeing will only show if there’s no hosts to work with.

                          From what I am seeing, this is exactly the case.

                          If you’d like you can try using the patch here:
                          https://github.com/FOGProject/fogproject/commit/23a856e8757a15b595c20c74ea9032427ef62084

                          See if it helps. Basically what it will do is attempt to grab the group’s hosts regardless of task type and tell all hosts to wake up if necessary.

                          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

                          UWPVIOLATORU 1 Reply Last reply Reply Quote 1
                          • UWPVIOLATORU
                            UWPVIOLATOR @Tom Elliott
                            last edited by

                            @Tom-Elliott Thanks! this did the trick. WOL to groups is now working, but the apache log is spitting out this error now.

                            [Thu Aug 11 07:17:07.370532 2016] [:error] [pid 32376] [client 10.100.150.44:64341] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 111, referer: http://fog/fog/management/index.php?node=group&sub=edit&id=1532
                            
                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            167

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project