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

    WOL in Task not working, but manually

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    8
    422
    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.
    • O
      okta
      last edited by

      Hi,

      the clients won’t wake up when either a task is active with checked WOL or an advanced task to wake up. But when i open the link (/fog/management/index.php?sub=wakeEmUp&mac=e0:d5:5e:bb:cf:db) to manually wake up, the clients properly wake up.
      Fog is running on Ubuntu 18.04 on a hyper-v vm.
      What can i do?

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

        @okta Which FOG version are you running?

        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
        • O
          okta
          last edited by

          @Sebastian-Roth said in WOL in Task not working, but manually:

          FOG version are you running?

          Your version of FOG is up to date. 1.5.5

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

            @okta Ok, I’ll look into this later on.

            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
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @okta I just tested and for me WOL is working in each and every case (task with checked WOL, advanced task to wake up and wakeEmUp URL). I always see Magic Packets being sent out. FOG sends a batch of four Magic Packets. See the following picture of a Wireshark packet capture.

              wol.jpg

              When you schedule a normal or WOL task, do you see any errors in the apache error log? See my signature on where you find 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
              • O
                okta
                last edited by

                Hey,

                sorry for late answer.
                I checked again, also using wireshark and no WOL packages are being send.

                Apache error log:

                [Thu Jan 24 13:44:08.597005 2019] [proxy_fcgi:error] [pid 57717] [client 192.168.1.97:59302] AH01071: Got error ‘PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 447\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 447\n’
                [Thu Jan 24 13:44:16.330083 2019] [proxy_fcgi:error] [pid 60980] [client 192.168.1.97:59384] AH01071: Got error ‘PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\n’, referer: http://192.168.2.19/fog/management/index.php?node=host
                [Thu Jan 24 13:45:18.656145 2019] [proxy_fcgi:error] [pid 60983] [client 192.168.1.97:59429] AH01071: Got error ‘PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1586\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1688\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1811\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1897\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 826\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 2611\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\n’, referer: http://192.168.2.19/fog/management/index.php?node=host&sub=list
                [Thu Jan 24 13:45:23.978658 2019] [proxy_fcgi:error] [pid 60983] [client 192.168.1.97:59436] AH01071: Got error ‘PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1586\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1688\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1811\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 1897\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 832\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 826\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/pages/hostmanagementpage.class.php on line 2611\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 807\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogpage.class.php on line 812\n’, referer: http://192.168.2.19/fog/management/index.php?node=host&sub=search

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

                  @okta Ahh I see. You can ignore all the PHP warnings. They should not cause the issue for you and I have fixed all those in the dev-branch already. They are related to newer PHP versions taking things differently.

                  Though I am trying to find any serious error in the logs but can’t seem to find any. So when you schedule a normal WOL task, does the page load properly? I mean does it say that it created the task for you?

                  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
                  • O
                    okta
                    last edited by

                    Yes.
                    Tasked Successfully
                    Task Wake-Up Successfully created!
                    Created Tasks For
                    “hostname”

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    216

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project