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

    Snapins fail to deploy with 1.0.1

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    26
    9.6k
    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.
    • J
      Jarett LeBlang
      last edited by

      [quote=“Tom Elliott, post: 27507, member: 7271”]Try updating to the latest on SVN. I’ve found a few bugs and have corrected them. The core of 1.0.1 is the same, but there were new tweaks and changes.

      All you should have to do, as root on your system, is:
      [code]svn co https://svn.code.sf.net/p/freeghost/code/trunk
      cd trunk/bin
      ./installfog.sh[/code][/quote]

      Ok i did the update to 1.0.1 and then attempted to do this to update to the newest SVN, Fog now wants to update the database again and is failing.

      1 Reply Last reply Reply Quote 0
      • B
        BPSTravis Developer
        last edited by

        Did you set a MySQL password? If so you need to update that password in /var/www/fog/commons/config.php

        [SIZE=12px]signature:[/SIZE]
        [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

        1 Reply Last reply Reply Quote 0
        • J
          Jarett LeBlang
          last edited by

          Yes… yes… i’m dumb. Thanks. I didn’t realize that the config file got overwritten again.

          1 Reply Last reply Reply Quote 0
          • K
            kwisher
            last edited by

            Still no luck with my VBS snapin. There is no ISD present at the time of the deployment.
            Ubuntu Server 14.04 fully updated
            FOG 1.01 Trunk 1746

            Client FOG log:
            [CODE]
            5/27/2014 9:01 AM FOG::ClientUpdater Client update will be applied during next service startup.
            5/27/2014 9:01 AM FOG::ClientUpdater Client update process complete, exiting…
            5/27/2014 9:04 AM FOG::TaskReboot Attempting to connect to fog server…
            5/27/2014 9:04 AM FOG::TaskReboot Module is active…
            5/27/2014 9:04 AM FOG::TaskReboot Attempting to connect to fog server…
            5/27/2014 9:04 AM FOG::TaskReboot No task found for client.
            5/27/2014 9:05 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:05 AM FOG::SnapinClient Module is active…
            5/27/2014 9:05 AM FOG::SnapinClient No Tasks found for: D0:67:E5:57:D3:6B|38:59:F9:40:D8:E8
            5/27/2014 9:09 AM FOG::TaskReboot Attempting to connect to fog server…
            5/27/2014 9:09 AM FOG::TaskReboot Module is active…
            5/27/2014 9:09 AM FOG::TaskReboot Attempting to connect to fog server…
            5/27/2014 9:09 AM FOG::TaskReboot No task found for client.
            5/27/2014 9:11 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:11 AM FOG::SnapinClient Module is active…
            5/27/2014 9:11 AM FOG::SnapinClient No Tasks found for: D0:67:E5:57:D3:6B|38:59:F9:40:D8:E8
            5/27/2014 9:16 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:16 AM FOG::SnapinClient Module is active…
            5/27/2014 9:16 AM FOG::SnapinClient Snapin Found:
            5/27/2014 9:16 AM FOG::SnapinClient ID: 9035
            5/27/2014 9:16 AM FOG::SnapinClient RunWith: c:\windows\system32\cscript.exe
            5/27/2014 9:16 AM FOG::SnapinClient RunWithArgs:
            5/27/2014 9:16 AM FOG::SnapinClient Name: W7-adjoin
            5/27/2014 9:16 AM FOG::SnapinClient Created: 2014-05-27 08:11:56
            5/27/2014 9:16 AM FOG::SnapinClient Args: -silent -eulaAccepted
            5/27/2014 9:16 AM FOG::SnapinClient Reboot: No
            5/27/2014 9:16 AM FOG::SnapinClient Starting FOG Snapin Download
            5/27/2014 9:16 AM FOG::SnapinClient Download complete.
            5/27/2014 9:16 AM FOG::SnapinClient Starting FOG Snapin Installation.
            5/27/2014 9:16 AM FOG::SnapinClient FOG Snapin Installtion complete.
            5/27/2014 9:16 AM FOG::SnapinClient Installation returned with code: 1
            5/27/2014 9:16 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:16 AM FOG::SnapinClient Module is active…
            5/27/2014 9:16 AM FOG::SnapinClient No Tasks found for: D0:67:E5:57:D3:6B|38:59:F9:40:D8:E8
            5/27/2014 9:16 AM FOG::GUIWatcher Message found, attempting to notify GUI!
            5/27/2014 9:16 AM FOG::GUIWatcher Dispatch OK!
            5/27/2014 9:21 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:21 AM FOG::SnapinClient Module is active…
            5/27/2014 9:21 AM FOG::SnapinClient No Tasks found for: D0:67:E5:57:D3:6B|38:59:F9:40:D8:E8
            5/27/2014 9:26 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:26 AM FOG::SnapinClient Unknown error, module will exit.
            5/27/2014 9:31 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:31 AM FOG::SnapinClient Module is active…
            5/27/2014 9:31 AM FOG::SnapinClient Snapin Found:
            5/27/2014 9:31 AM FOG::SnapinClient ID: 9036
            5/27/2014 9:31 AM FOG::SnapinClient RunWith: c:\windows\system32\cscript.exe
            5/27/2014 9:31 AM FOG::SnapinClient RunWithArgs:
            5/27/2014 9:31 AM FOG::SnapinClient Name: W7-adjoin
            5/27/2014 9:31 AM FOG::SnapinClient Created: 2014-05-27 08:28:52
            5/27/2014 9:31 AM FOG::SnapinClient Args: -silent -eulaAccepted
            5/27/2014 9:31 AM FOG::SnapinClient Reboot: No
            5/27/2014 9:31 AM FOG::SnapinClient Starting FOG Snapin Download
            5/27/2014 9:31 AM FOG::SnapinClient Download complete.
            5/27/2014 9:31 AM FOG::SnapinClient Starting FOG Snapin Installation.
            5/27/2014 9:31 AM FOG::SnapinClient FOG Snapin Installtion complete.
            5/27/2014 9:31 AM FOG::SnapinClient Installation returned with code: 1
            5/27/2014 9:31 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:31 AM FOG::SnapinClient Module is active…
            5/27/2014 9:31 AM FOG::SnapinClient No Tasks found for: D0:67:E5:57:D3:6B|38:59:F9:40:D8:E8
            5/27/2014 9:31 AM FOG::GUIWatcher Message found, attempting to notify GUI!
            5/27/2014 9:31 AM FOG::GUIWatcher Dispatch OK!
            5/27/2014 9:36 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:36 AM FOG::SnapinClient Failed to connect to fog server!
            5/27/2014 9:36 AM FOG::SnapinClient Unable to connect to the remote server
            5/27/2014 9:36 AM FOG::SnapinClient at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
            at System.Net.WebClient.DownloadString(Uri address)
            at FOG.SnapinClient.startWatching()
            5/27/2014 9:36 AM FOG::SnapinClient Sleeping for 1 minute.
            5/27/2014 9:37 AM FOG::SnapinClient Attempting to connect to fog server…
            5/27/2014 9:38 AM FOG::SnapinClient Failed to connect to fog server!
            5/27/2014 9:38 AM FOG::SnapinClient Unable to connect to the remote server
            5/27/2014 9:38 AM FOG::SnapinClient at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
            at System.Net.WebClient.DownloadString(Uri address)
            at FOG.SnapinClient.startWatching()
            5/27/2014 9:38 AM FOG::SnapinClient Sleeping for 1 minute.[/CODE]

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

              have you verified that the last line in the vbs script is a carriage return?

              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
              • K
                kwisher
                last edited by

                Yes, I placed the cursor at the end of the last line of text, held the delete key to clear anything that might be there, and then pressed the return key and saved the file.

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

                  and this snapin fails for you on both 32 and 64 bit computers?

                  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
                  • K
                    kwisher
                    last edited by

                    We’re 95% 64-bit here so I haven’t tested on a Win-7 32-bit machine yet with 1.0.1. This snapin previously worked on both architectures.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kwisher
                      last edited by

                      Permissions for the server snapin folder. Are these correct?
                      [CODE]root@fog:/opt/fog/snapins# ls -la
                      total 16
                      drwxr-xr-x 2 www-data root 4096 May 23 09:16 .
                      drwxr-xr-x 6 root root 4096 May 16 13:40 …
                      -rw-r–r-- 1 www-data www-data 934 May 23 10:01 domjoin.vbs
                      -rw-r–r-- 1 www-data www-data 848 May 27 09:18 W7-domjoin.vbs
                      [/CODE]

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

                        yes, those permissions look correct.
                        do you have the %windir%\syswow64\cscript.exe set for the “Snapin Run With”?

                        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
                        • K
                          kwisher
                          last edited by

                          N
                          [quote=“Junkhacker, post: 28293, member: 21583”]yes, those permissions look correct.
                          do you have the %windir%\syswow64\cscript.exe set for the “Snapin Run With”?[/quote]
                          No, c:\windows\system32\cscript.exe as it was in .32. You can see this in my post with the client log. I’ll give your suggestion a try.
                          And as I previously stated, the script will run manually on the client.

                          1 Reply Last reply Reply Quote 0
                          • K
                            kwisher
                            last edited by

                            Your suggested run with command failed:
                            [CODE]5/27/2014 1:54 PM FOG::SnapinClient Snapin Found:
                            5/27/2014 1:54 PM FOG::SnapinClient ID: 9041
                            5/27/2014 1:54 PM FOG::SnapinClient RunWith: %windir%\syswow64\cscript.exe
                            5/27/2014 1:54 PM FOG::SnapinClient RunWithArgs:
                            5/27/2014 1:54 PM FOG::SnapinClient Name: W7-adjoin
                            5/27/2014 1:54 PM FOG::SnapinClient Created: 2014-05-27 12:51:41
                            5/27/2014 1:54 PM FOG::SnapinClient Args: -silent -eulaAccepted
                            5/27/2014 1:54 PM FOG::SnapinClient Reboot: No
                            5/27/2014 1:54 PM FOG::SnapinClient Starting FOG Snapin Download
                            5/27/2014 1:54 PM FOG::SnapinClient Download complete.
                            5/27/2014 1:54 PM FOG::SnapinClient Starting FOG Snapin Installation.
                            5/27/2014 1:54 PM FOG::SnapinClient The system cannot find the file specified
                            5/27/2014 1:54 PM FOG::SnapinClient at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
                            at FOG.SnapinClient.startWatching()
                            5/27/2014 1:54 PM FOG::SnapinClient Attempting to connect to fog server…
                            5/27/2014 1:54 PM FOG::SnapinClient Module is active…
                            5/27/2014 1:54 PM FOG::SnapinClient No Tasks found for: D0:67:E5:57:D3:6B|38:59:F9:40:D8:E8
                            5/27/2014 1:54 PM FOG::GUIWatcher Message found, attempting to notify GUI!
                            5/27/2014 1:55 PM FOG::GUIWatcher Dispatch OK![/CODE]

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

                            274

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project