• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • B
    BPSTravis Developer
    last edited by May 22, 2014, 3:38 PM

    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 May 22, 2014, 3:39 PM

      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 May 27, 2014, 12:42 PM

        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
        • J
          Junkhacker Developer
          last edited by May 27, 2014, 1:04 PM

          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 May 27, 2014, 2:23 PM

            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
            • J
              Junkhacker Developer
              last edited by May 27, 2014, 2:48 PM

              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 May 27, 2014, 4:12 PM

                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 May 27, 2014, 4:13 PM

                  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
                  • J
                    Junkhacker Developer
                    last edited by May 27, 2014, 4:46 PM

                    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 May 27, 2014, 4:51 PM

                      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 May 27, 2014, 4:58 PM

                        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
                        2 / 2
                        • First post
                          25/26
                          Last post

                        188

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project