WOL in Task not working, but manually
-
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? -
@okta Which FOG version are you running?
-
@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
-
@okta Ok, I’ll look into this later on.
-
@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.
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.
-
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 -
@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?
-
Yes.
Tasked Successfully
Task Wake-Up Successfully created!
Created Tasks For
“hostname”