Snapins fail to deploy with 1.0.1
-
Yes… yes… i’m dumb. Thanks. I didn’t realize that the config file got overwritten again.
-
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 1746Client 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] -
have you verified that the last line in the vbs script is a carriage return?
-
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.
-
and this snapin fails for you on both 32 and 64 bit computers?
-
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.
-
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] -
yes, those permissions look correct.
do you have the %windir%\syswow64\cscript.exe set for the “Snapin Run With”? -
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. -
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]