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

    How to reboot clients?

    Scheduled Pinned Locked Moved
    General
    4
    20
    8.9k
    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.
    • D
      dislikeusernames
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • D
        dislikeusernames
        last edited by

        I wasn’t sure, so I just uninstalled, reinstalled as admin for all users, and rebooted. While it was rebooting, I went into Host management and removed the snapin and let it check in once. Then I added the snapin to the host again. Same problem.
        fog.log shows four lines concerning the reboot task:
        [QUOTE]FOG::TaskReboot Attempting to connect to fog server…
        FOG::TaskReboot Module is active…
        FOG::TaskReboot Attempting to connect to fog server…
        FOG::TaskReboot No task found for client.[/QUOTE]

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

          Those lines are referring to a Task on the server. Such as an image upload, image download task. They’re not referring to a system reboot after snapin task.

          Those would be in the snapin lines of the FOG Log.

          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
          • D
            dislikeusernames
            last edited by

            So it’s not just rebooting after the task I’m having a problem with. The task is not running at all. I created a new batch file and had it create a file after it ran, but that file still does not exist. The recent snapin items in the log file:
            [QUOTE]FOG::SnapinClient Attempting to connect to fog server…
            FOG:SnapinClient Module is active…[/QUOTE]

            1 Reply Last reply Reply Quote 0
            • D
              dislikeusernames
              last edited by

              I just tried setting up a different snapin. The Fog documentation links to a youtube video for how to use SFX to create an Office installer. I created and tested that and set it up as a snapin. Then I went to Hosts > my hosts > Snapins and added it. Still nothing. Is there a different way I should be pushing snapins to hosts? The fog service is running (installed as administrator) and the fog.log file shows nothing happening but regular checkins with the server.

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

                have you scheduled a snapin deploy?

                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
                • D
                  dislikeusernames
                  last edited by

                  I tried, but it fails. I am going to Task Management > List All Hosts > choose my host > Advanced Deployment (gear icon) > Single Snapin. The only thing that shows up is, “Failed to create deploy task. Snapins Are already deployed to this host.”

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

                    is anything listed under “Active Snapin Tasks” ?

                    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
                    • D
                      dislikeusernames
                      last edited by

                      No. “No results found.”

                      1 Reply Last reply Reply Quote 0
                      • D
                        dislikeusernames
                        last edited by

                        The original question I asked in this thread has been answered. My question was, “How do I push a reboot?” The answer is to create a batch file that does something trivial, make a snapin from that script, and configure the snapin reboot the client. I am still having snapin problems, but I will open another thread to address that.

                        Tom & Junkhacker, thank you for your help.

                        1 Reply Last reply Reply Quote 0
                        • A
                          axel12
                          last edited by

                          batch file should have:

                          shutdown /r

                          This will notify all users logged on that in 1 minute the computer will reboot … snapin executes with exit 0 🙂

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

                          178

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project