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

    WOL problem since upgrade 1.2

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    12
    3.8k
    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.
    • ?
      A Former User
      last edited by

      Hi, thanks for your reply, yes the wol is ok on the computer.
      if i try the url with [URL=‘http://%3Cip.of.fog.srv%3E/fog/wol/wol.php?wakeonlan=%3CMACofClientToWakeWithColons%3E’]http://<IP.OF.FOG.SRV>/fog/wol/wol.php?wakeonlan=<MACofClientToWakeWithColons>[/URL]
      the computer startup correctly.
      The fog and the computers are on the same subnet.
      any ideas ?
      thanks

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        i have look at the error log and there seem to be some problems :
        [Wed Jan 14 07:34:06.469591 2015] [:error] [pid 1879] [client 10.70.48.83:1050] 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
        [Wed Jan 14 07:34:06.469622 2015] [:error] [pid 1879] [client 10.70.48.83:1050] 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
        [Fri Jan 16 13:24:22.319934 2015] [:error] [pid 26227] [client 10.70.48.119:59685] script ‘/var/www/html/fog/wol.php’ not found or unable to stat
        [Fri Jan 16 13:24:32.703634 2015] [:error] [pid 26227] [client 10.70.48.119:59697] script ‘/var/www/html/fog/management/wol.php’ not found or unable to stat
        [Fri Jan 16 13:30:56.933885 2015] [:error] [pid 31855] [client 10.70.48.119:59816] script ‘/var/www/html/fog/wol.php’ not found or unable to stat

        i have seen a post with similar problem but i have not found the solution for me
        the fog wol settings is : /fog/wol/wol.php
        the FOG_WOL_INTERFACE : eth0 (that’s ok too)
        and the F[FONT=Ubuntu][COLOR=#555555]OG_WOL_HOST is correct[/COLOR][/FONT]

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

          In FOG Configuration->FOG Settings

          General Settings->FOG_WOL_PATH

          It should be:

          /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
          • ?
            A Former User
            last edited by

            yes it is /fog/wol/wol.php
            those error as strange as the /var/www/fog/commons/base.inc.php exist
            and the path for my wol is /fog/wol/wol.php so i don’t understand why those two errors.

            also i have try many wake on lan and sometimes there is no error on the error_log (but that does not work either)

            i have try again 4-5 wake on lan no error on error_log but nothing happen 😕
            is there a way to debug to see where the problem is ?
            thanks

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

              The base.inc.php isn’t really that, it’s searching for the base.inc.php in /usr/share/php (which does not exist on ubuntu) and can’t find the file there. So it spits out an error that really isn’t necessary or show stopping.

              The errors about the [code][Fri Jan 16 13:24:22.319934 2015] [:error] [pid 26227] [client 10.70.48.119:59685] script ‘/var/www/html/fog/wol.php’ not found or unable to stat
              [Fri Jan 16 13:24:32.703634 2015] [:error] [pid 26227] [client 10.70.48.119:59697] script ‘/var/www/html/fog/management/wol.php’ not found or unable to stat
              [Fri Jan 16 13:30:56.933885 2015] [:error] [pid 31855] [client 10.70.48.119:59816] script ‘/var/www/html/fog/wol.php’ not found or unable to stat[/code]

              Loos to me like you were trying different methods to get to the file, all of which do not exist.

              These aren’t being repeated all over the place though, which is what’s leading me to think it was you trying to go to the link, and it found those errors.

              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 Former User
                last edited by

                You are right these errors come when i try the url [URL=‘http://%3Cip.of.fog.srv%3E/fog/wol/wol.php?wakeonlan=%3CMACofClientToWakeWithColons%3E’]http://<IP.OF.FOG.SRV>/fog/wol/wol.php?wakeonlan=<MACofClientToWakeWithColons>[/URL] i made mistake and type [URL=‘http://%3Cip.of.fog.srv%3E/fog/wol/wol.php?wakeonlan=%3CMACofClientToWakeWithColons%3E’]http://<IP.OF.FOG.SRV>/fog[/URL]/wol.php
                the error come from here.

                So my wol seem to be well configured (no error in error_log) but still nothings happen when i try to upload/download/wake on lan etc

                what else can i try ?
                thank you

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  is the new install of 1.2.0 on the same computer/subnet/IP as the 0.32 server was?
                  could there be networking details that were not reconfigured for the new server, such as forwarding?

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    Yes all is the same i have made an upgrade the networking hasn’t changed.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      Hi, tu resume :
                      [URL=‘http://fogproject.org/fog/wol/wol.php?wakeonlan=<MACofClientToWakeWithColons>’][U][COLOR=#0066cc]http://<IP.OF.FOG.SRV>/fog/wol/wol.php?[/COLOR][/U][/URL] > working
                      upload/download/wake up task > not working (i mean wake on lan no working)
                      /var/log/apache2/error.log > no error
                      the fog wol settings is : /fog/wol/wol.php
                      the FOG_WOL_INTERFACE : eth0 (that’s ok too)
                      and the F[FONT=Ubuntu][COLOR=#555555]OG_WOL_HOST is correct[/COLOR][/FONT]

                      all seems ok but it doesn’t work, what else can i check ? if the url with /fog/wol is working that mean the problem is in the web server when it launch the command no ?
                      thanks for any help.

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        if the wol task is not working automatically, but works for the same host when done manually from the url, and all of the settings are correct, i don’t know what could possibly be wrong

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                        227

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project