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

Wake on lan difference between basic tasks and power management ?

Scheduled Pinned Locked Moved
FOG Problems
2
6
678
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
    Florent
    last edited by Mar 2, 2021, 8:22 AM

    Hi,
    I have problem with Wake on lan in Power Management.
    If i launch Wake on lan from Host or Group / Basic tasks / advanced / wake-up it’s work fine.
    But if i use on Power Management to schedule, it’s not work.
    Power Management work for Reboot.
    Any ideas ?

    Regards

    Florent
    Bretagne, FRANCE

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Mar 2, 2021, 12:18 PM Mar 2, 2021, 6:17 PM

      @Florent Which version of FOG do you use?

      @testers Anyone able to confirm this is an issue?

      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

      F 1 Reply Last reply Mar 3, 2021, 8:11 AM Reply Quote 0
      • F
        Florent @Sebastian Roth
        last edited by Mar 3, 2021, 8:11 AM

        Hi @sebastian-roth
        FOG 1.5.9 on Debian 10

        Florent
        Bretagne, FRANCE

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Mar 3, 2021, 4:40 PM

          @Florent For me it seems to work with power management. Scheduled a task and checked with tcpdump it actually sends the magic packets (WOL).

          Can you please check /var/log/fog/fogscheduler.log to see what it says. In my test case I see this:

          [03-03-21 4:35:27 pm]  * Sending 1 wake on lan request.
          [03-03-21 4:35:27 pm]  * 1 total mac attempting to wake up.
          [03-03-21 4:35:27 pm]  * 1 task found.
          [03-03-21 4:35:27 pm]  * Task run time: Wed, 03 Mar 2021 16:35:00 +0000
          [03-03-21 4:35:27 pm]  * Found a wake on lan task that should run.
          [03-03-21 4:35:27 pm]  | Task sent to testhost
          

          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
          • F
            Florent
            last edited by Mar 4, 2021, 3:58 PM

            @sebastian-roth My log is weird :

            [03-04-21 1:54:23 pm] Interface Ready with IP Address: 127.0.0.1
            [03-04-21 1:54:23 pm] Interface Ready with IP Address: 127.0.1.1
            [03-04-21 1:54:23 pm] Interface Ready with IP Address: xx.xx.xx.xx
            [03-04-21 1:54:23 pm] Interface Ready with IP Address: fog.mydomain.fr
            [03-04-21 1:54:23 pm]  * Starting TaskScheduler Service
            [03-04-21 1:54:23 pm]  * Checking for new items every 60 seconds
            [03-04-21 1:54:23 pm]  * Starting service loop
            [03-04-21 1:54:23 pm]  * Sending 1 wake on lan request.
            [03-04-21 1:54:23 pm]  * 1 total mac attempting to wake up.
            [03-04-21 1:54:23 pm]  * 601 tasks found.
            

            and the last line (line 562) is this, nothing happen at the time i have schedule wake on lan :

            [03-04-21 1:54:24 pm]  * Task run time: Tue, 09 Mar 2021 07:30:00 +0100
            

            This morning i have try to restart FOGScheduler service but change nothing.

            Florent
            Bretagne, FRANCE

            F 1 Reply Last reply Mar 4, 2021, 4:09 PM Reply Quote 0
            • F
              Florent @Florent
              last edited by Mar 4, 2021, 4:09 PM

              @florent
              Sorry i found the problem, i think it’s bad value on the mysql table.
              I go to the powerManagement table and see line like this with “-” :
              0 8 - * wol 0
              I have deleted this line and restart FOGScheduler, after it’s ok

              [03-04-21 5:08:23 pm]  * Found a wake on lan task that should run.
              [03-04-21 5:08:23 pm]  | Task sent to XXX
              

              It’s resolved for me

              Florent
              Bretagne, FRANCE

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              1 / 1
              • First post
                5/6
                Last post

              155

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project