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

    WOL issue fog 1.2.0

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    27
    14.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.
    • F
      Fernando Gietz Developer
      last edited by

      And error.log file? Maybe, the problem is another part of the code.
      To make a WOL packet FOG needs to call the wakeOnLan function in FOGCore.class.php. And this issue, appears with all task type?

      1 Reply Last reply Reply Quote 0
      • P
        pijltje
        last edited by

        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 required

        no not every task, as fare as i can see only the wake-up fuction.

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

          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?

          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
          • P
            pijltje
            last edited by

            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)

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

              Going on a limb, that the systems that aren’t turning on are not on the same subnet as the fog server?

              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
              • P
                pijltje
                last edited by

                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

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

                  Follow this thread:
                  [url]http://fogproject.org/forum/threads/fog-1-2-0-wol-on-multiple-vlans.11808/[/url]

                  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
                  • P
                    pijltje
                    last edited by

                    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]

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

                      How can you have separated subnet’s but not separated vlans?

                      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
                      • P
                        pijltje
                        last edited by

                        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.

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

                          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?

                          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

                            Or is your broadcast at:
                            192.168.63.255?

                            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
                            • P
                              pijltje
                              last edited by

                              my broadcast is 192.168.63.255
                              and gateway 192.168.48.1

                              FOG version 1.2.0
                              Ubuntu 14.04 LTS

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

                                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!

                                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
                                • B
                                  Ben Warfield
                                  last edited by

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pijltje
                                    last edited by

                                    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…

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

                                      Let me ask:

                                      What tasking are you trying to perform that isn’t sending the WOL packet?

                                      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

                                        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)

                                        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
                                        • P
                                          pijltje
                                          last edited by

                                          [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 -eth0

                                          wake-up task not working, deploy a image the system also not starting…

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

                                            Put the slash in front of the fog part int the path so it reads as /fog/wol/wol.php

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

                                            141

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project