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

Snapin install fails because system scheduled to rename host reboot

Scheduled Pinned Locked Moved
FOG Problems
3
7
694
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.
  • K
    kickers56
    last edited by kickers56 Aug 23, 2018, 2:58 AM Aug 23, 2018, 8:56 AM

    Re: Fog Client - Snapins run after computer rename/domain join

    FOG service= 0.11.0
    SVN Revision: 5712

    I am having the same issue as thread above - where the snapin works fine if I run the snapin on an already deployed image. However when the snapin runs and tries to install a program automatically after a deploy task the hostnamechanger creates a reboot task and then the snapin client tries to run but then instantly fails the install stating ‘User ERROR: A system shutdown is in progress.’

    Any help please?

    ---------------------------------SnapinClient---------------------------------

    22/08/2018 18:57 Client-Info Client Version: 0.11.0
    22/08/2018 18:57 Client-Info Client OS: Windows
    22/08/2018 18:57 Client-Info Server Version:
    22/08/2018 18:57 Middleware::Response Success
    22/08/2018 18:57 SnapinClient Snapin Found:
    22/08/2018 18:57 SnapinClient ID: 7
    22/08/2018 18:57 SnapinClient Name: Sophos Install
    22/08/2018 18:57 SnapinClient Created: 2018-08-22 16:45:58
    22/08/2018 18:57 SnapinClient Action: reboot
    22/08/2018 18:57 SnapinClient Hide: False
    22/08/2018 18:57 SnapinClient TimeOut: 0
    22/08/2018 18:57 SnapinClient RunWith: cmd.exe
    22/08/2018 18:57 SnapinClient RunWithArgs: /c
    22/08/2018 18:57 SnapinClient File: SophosSetup_NE.exe
    22/08/2018 18:57 SnapinClient Args: --quiet
    22/08/2018 18:57 Middleware::Communication Download: http://(FOG-server-here)/fog/service/snapins.file.php?mac=(MAC-here)&taskid=7
    22/08/2018 18:57 SnapinClient C:\Program Files (x86)\FOG\tmp\SophosSetup_NE.exe
    22/08/2018 18:57 Bus {
    “self”: true,
    “channel”: “Notification”,
    “data”: “{\r\n “title”: “Installing Sophos Install”,\r\n “message”: “Please do not shutdown until this is completed”\r\n}”
    }
    22/08/2018 18:57 Bus Emmiting message on channel: Notification
    22/08/2018 18:57 SnapinClient Starting snapin…
    22/08/2018 18:57 SnapinClient Snapin finished
    22/08/2018 18:57 SnapinClient Return Code: 1
    22/08/2018 18:57 Bus {
    “self”: true,
    “channel”: “Notification”,
    “data”: “{\r\n “title”: “Sophos Install Installed”,\r\n “message”: “Installation has finished and is now ready for use”\r\n}”
    }
    22/08/2018 18:57 Bus Emmiting message on channel: Notification
    22/08/2018 18:57 Middleware::Communication URL: http://(fog-server-here)/fog/service/snapins.checkin.php?taskid=7&exitcode=1&mac=(MAC-here)|&newService&json
    22/08/2018 18:57 User ERROR: Unable to get logged in users
    22/08/2018 18:57 User ERROR: A system shutdown is in progress. (Exception from HRESULT: 0x8007045B)
    22/08/2018 18:57 Power Creating shutdown request
    22/08/2018 18:57 Power Parameters: /r /c “Snapin requested restart” /t 0

    K 1 Reply Last reply Aug 23, 2018, 9:02 AM Reply Quote 0
    • K
      kickers56 @kickers56
      last edited by Aug 23, 2018, 9:02 AM

      Just realized this is in the wrong thread, as I created this post by linking from another post in Feature request. I can’t move it where it needs to be or delete it. Can someone please help move this?
      Thank you

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator
        last edited by Aug 23, 2018, 9:40 AM

        Mod note: Thread moved to fog problems.

        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!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Aug 23, 2018, 4:45 PM

          @kickers56 Maybe the Sophos installer is doing a forced reboot while finishing. Possibly that’s just to quick for our fog-client. Maybe installer parameters can fix that?

          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

          K 2 Replies Last reply Aug 28, 2018, 12:41 PM Reply Quote 0
          • K
            kickers56 @Sebastian Roth
            last edited by Aug 28, 2018, 12:41 PM

            @Sebastian-Roth I dont think so as I can run the snappin successfully after the image is deployed manually. But for automatic snappin run right after deploy it tries to run but the hostname changer starts its reboot and the snappin install fails. Then the snappin will not run again

            1 Reply Last reply Reply Quote 0
            • K
              kickers56 @Sebastian Roth
              last edited by Aug 28, 2018, 12:44 PM

              @Sebastian-Roth sorry forgot to say when i run the snappin manually the sophos installer does not restart itself

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Aug 28, 2019, 6:50 AM

                Just in case anyone comes across this. The version used here (0.11.0) had an issue with that. The most current version (0.11.16 as of now) is known to do rename/ad join, reboot, snapin properly (ref).

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

                232

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project