WOL issue fog 1.2.0
-
Witch error.log do You mean? the error.log from apache2?
see below
Sun Oct 12 07:38:43.824460 2014] [mpm_prefork:notice] [pid 9976] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.4 configured – resuming normal operations
[Sun Oct 12 07:38:43.825188 2014] [core:notice] [pid 9976] AH00094: Command line: ‘/usr/sbin/apache2’
[Mon Oct 13 08:20:54.657660 2014] [:error] [pid 17049] [client 192.168.50.114:62190] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Mon Oct 13 08:20:54.657699 2014] [:error] [pid 17049] [client 192.168.50.114:62190] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Mon Oct 13 09:53:12.004752 2014] [:error] [pid 20312] [client 192.168.48.150:3406] PHP Warning: array_filter() expects parameter 1 to be array, null given in /var/www/fog/lib/pages/GroupManagementPage.class.php on line 252, referer: [url]http://192.168.48.80/fog/management/index.php?node=group&sub=add[/url]
[Mon Oct 13 10:27:39.172391 2014] [:error] [pid 21176] [client 192.168.49.55:60130] PHP Warning: array_filter() expects parameter 1 to be array, null given in /var/www/fog/lib/pages/GroupManagementPage.class.php on line 252, referer: [url]http://192.168.48.80/fog/management/index.php?node=group[/url]
[Mon Oct 13 12:13:12.532179 2014] [:error] [pid 17383] [client 192.168.51.125:57435] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Mon Oct 13 12:13:12.532220 2014] [:error] [pid 17383] [client 192.168.51.125:57435] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Mon Oct 13 12:13:12.534216 2014] [:error] [pid 30433] [client 192.168.51.125:57436] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Mon Oct 13 12:13:12.534253 2014] [:error] [pid 30433] [client 192.168.51.125:57436] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 08:57:47.526857 2014] [:error] [pid 23919] [client 192.168.51.107:63372] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 08:57:47.526896 2014] [:error] [pid 23919] [client 192.168.51.107:63372] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 08:57:47.528859 2014] [:error] [pid 17383] [client 192.168.51.107:63371] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 08:57:47.528889 2014] [:error] [pid 17383] [client 192.168.51.107:63371] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 09:45:51.274571 2014] [:error] [pid 21176] [client 192.168.48.150:42296] PHP Warning: array_filter() expects parameter 1 to be array, null given in /var/www/fog/lib/pages/GroupManagementPage.class.php on line 252, referer: [url]http://192.168.48.80/fog/management/index.php?node=group&sub=edit&id=1[/url]
[Tue Oct 14 10:14:59.066308 2014] [:error] [pid 30433] [client 192.168.51.125:50285] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 10:14:59.066341 2014] [:error] [pid 30433] [client 192.168.51.125:50285] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 10:15:02.070390 2014] [:error] [pid 23919] [client 192.168.51.125:50286] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Tue Oct 14 10:15:02.070420 2014] [:error] [pid 23919] [client 192.168.51.125:50286] PHP Fatal error: require(): Failed opening requiredno not every task, as fare as i can see only the wake-up fuction.
-
The error’s you’re seeing are the requirement of the …/commons/base.inc.php, and your FOG Service is working?
WakeOnLan is passed on a tasking job like upload or download, is this working for you? Do systems actually power on when you run these tasks? The Wake On Lan tasking isn’t working is what I’m understanding, but regular tasks do?
-
The only problem we have, I think is the systems do not wake up (WOL).
Fog server is working perfect. I just imaged 10 systems to day… and made 1 image to deploy to those 10 systems
no error’s in the log from to day as you can see. systems are working fine also successfully add them to the AD.
but had to turn the systems on by hand
we use fog on a regular base (we are school with +/- 550 systems) -
Going on a limb, that the systems that aren’t turning on are not on the same subnet as the fog server?
-
Thats correct… we use subnetmask 255.255.240.0
When i use wakeonlan with the mac address of one of the systems manually it will turn on (running on the same server where fog is running).
wol.php from fog also works from a browser manually -
Follow this thread:
[url]http://fogproject.org/forum/threads/fog-1-2-0-wol-on-multiple-vlans.11808/[/url] -
I did see this thread but we do not use vlan’s.
and wol is working with other programs (like Italc and qdp deploy)
[SIZE=2]will take a look again in this thread [/SIZE]maybe[SIZE=2] i missed something [/SIZE] -
How can you have separated subnet’s but not separated vlans?
-
sorry we do not have separated subnet we use a B class network.
with a subnetmask of 255.255.240.0 this will get a ip range from 192.168.48.0 to 192.168.63.255. -
So what’s the broadcast address of the main network?
It would seem to me that this is where you need to specify the wake on lan.
I’d imagine you’d need to send WOL on the 48.255 assuming this is where your gate way resides?
-
Or is your broadcast at:
192.168.63.255? -
my broadcast is 192.168.63.255
and gateway 192.168.48.1FOG version 1.2.0
Ubuntu 14.04 LTS -
You may think about updating to the lastest svn.
Install the WOLBroadcast plugin
Configure your broadcast address of 192.168.68.255
Test and hopefully all will work for you!
-
I’ll chime in from a networking point of view… yes the broadcast needs to be 192.168.63.255 as that is the highest address in the subnet. With a subnet mask of 255.255.240.0, 192.168.48.255 falls within the valid IP range and will not work as a broadcast. By sending a WOL packet to 48.255, you are only targeting one IP.
-
I have update fog to latest svn 2429 and installed WOLBroadcast plugin set the broadcast to 192.168.63.255
but still no luck…
the system isn’t turned on and i do not see the wol.php in the access.log
if I do it manually in the browser then I will see the wol.php in the access.log and the system turns on… -
Let me ask:
What tasking are you trying to perform that isn’t sending the WOL packet?
-
Do me a favor:
Check the FOG Configuration->FOG Settings->General Settings
FOG_WOL_HOST should be the IP of your FOG Server, or whichever FOG Server you’re attempting to do the WOL from: (E.G. 192.168.63.254)
FOG_WOL_PATH should be the location of the wol.php script in whole: (E.G. /fog/wol/wol.php)
FOG_WOL_INTERFACE should be the NIC of the interface you’re expecting Wake on Lan to come from: (E.G. eth0) -
[URL=‘http://…fog’]http://192.168.48.80[/URL]/fog/wol/wol.php?wakeonlan=00:1c:25:d1:xx:xx this is working…
FOG_WOL_HOST = 192.168.48.80
FOG_WOL_PATH = fog/wol/wol.php
FOG_WOL_INTERFACE -eth0wake-up task not working, deploy a image the system also not starting…
-
Put the slash in front of the fog part int the path so it reads as /fog/wol/wol.php
-
Sorry, what a mistake I am deeply ashamed :oops:
some where I forgot the slash… :oops:
SOLVED…