Hi all, thx a lot for your Help! Got it workin now!
Best posts made by Timo
-
RE: Beginner need help at Snapin
Latest posts made by Timo
-
Fog Server not responding after Snapin Jobs
Hi there, i have a Fog Server on Ubuntu 14.04 running, it must be the latest Trunk Release from FOG
THis morning i placed a couple of heavy large Snaping Jobs ( an sfx setup file up to 4GB) to run on 15 Machines, since that my Fog webend isn’t responding anymore. So what can i do now to clear this Snapin Jobs i think they will slow down my Fog Server?! even after whole Ubuntu Server restart, the Fog Server isn’t responding over the WEb Frontend
Even on the Client Machines they got connection Time Out when FOG Windows Client tryin to connect
-
Problem updating 1.4.0-RC-9.3 to latest GIT
Server
- FOG Version: 1.4.0-RC-9.3
- OS: Ubuntu 14.04.5
Description
Hi there, im tryin to update as usual via GIT, but in my first attempt it hangs at “Packages upgraded as needed” so i have to end that with CTRL-C
Now it hangs right in the beginning with no error on “Adding needed Repository” the Server got an direct Internet Connection, i have already checked it everything is fine, the GIT Pull before was fine, what can i do?
-
RE: Fog Client is not updating
Good Morning, i follow the thread, cause i’ve nearly same issues, at last i switched from Git Version 1.3. RC6 to RC11, then i’ve experienced the same issue with the Client Updater
Tomorrow i’ve done a git pull and rerun the installfog.sh even twice, cause that was the advice from Joe Schmitt.
Now i encounter the error on an example client “Response ERROR: Unable to get subsection Middleware::Response ERROR: Object reference not set to an instance of an object.”
how can i fix that? the Client on Windows has updated to 0.11.5
-
Shutdown after Snapin Rollout
Hi there, today i’ve started an Snapin with marked “Shutdown after Install” but unfortunately nothing happens, after the Snapin has finished
FOG Server 7254 with Fog Client 0.9.12 on Windows 7 X64 Clients
What is maybe wrong?
-
RE: FOG Snapin Client download error
If i run it on the Client in an Dos box , with cscript bootstrap.vbs it comes up with an error after a few seconds "WinHttp.WinHttpRequest: For this operation is not enough memory available But has enough free Memory (60GB)
-
RE: FOG Snapin Client download error
@Jbob said in FOG Snapin Client download error:
@Timo Batch lacks the ability to download a file natively. Here is a vbs script which should do what you are looking for.
Save the code as “Bootstrap.vbs”, and update the
http://fog-server/MyProgram.exe
line to reflect a real URL where your snapin can be downloaded, the easiest way may be to just copy your snapin file to/var/www/html/
, and then it is accessible viahttp://{fog-server}/MyProgram.exe
, where Myprogram.exe is the file name. Also update references toMyProgram.exe
to your program’s file name.Note that this code is untested.
Use the following snapin settings:
Snapin Run With: cscript
Snapin Run With Args: //B //Nologo
Snapin File: Bootstrap.vbs
Bootstrap.vbs code:
'http://www.robvanderwoude.com/vbstech_internet_download.php HTTPDownload "http://fog-server/MyProgram.exe", "C:\" Dim objShell Set objShell = WScript.CreateObject( "WScript.Shell" ) objShell.Run("C:\MyProgram.exe") Set objShell = Nothing Dim fso Set fso = CreateObject("Scripting.FileSystemObject") fso.DeleteFile("C:\MyProgram.exe") Set fso = Nothing Sub HTTPDownload( myURL, myPath ) ' This Sub downloads the FILE specified in myURL to the path specified in myPath. ' ' myURL must always end with a file name ' myPath may be a directory or a file name; in either case the directory must exist ' ' Written by Rob van der Woude ' http://www.robvanderwoude.com ' ' Based on a script found on the Thai Visa forum ' http://www.thaivisa.com/forum/index.php?showtopic=21832 ' Standard housekeeping Dim i, objFile, objFSO, objHTTP, strFile, strMsg Const ForReading = 1, ForWriting = 2, ForAppending = 8 ' Create a File System Object Set objFSO = CreateObject( "Scripting.FileSystemObject" ) ' Check if the specified target file or folder exists, ' and build the fully qualified path of the target file If objFSO.FolderExists( myPath ) Then strFile = objFSO.BuildPath( myPath, Mid( myURL, InStrRev( myURL, "/" ) + 1 ) ) ElseIf objFSO.FolderExists( Left( myPath, InStrRev( myPath, "\" ) - 1 ) ) Then strFile = myPath Else WScript.Echo "ERROR: Target folder not found." Exit Sub End If ' Create or open the target file Set objFile = objFSO.OpenTextFile( strFile, ForWriting, True ) ' Create an HTTP object Set objHTTP = CreateObject( "WinHttp.WinHttpRequest.5.1" ) ' Download the specified URL objHTTP.Open "GET", myURL, False objHTTP.Send ' Write the downloaded byte stream to the target file For i = 1 To LenB( objHTTP.ResponseBody ) objFile.Write Chr( AscB( MidB( objHTTP.ResponseBody, i, 1 ) ) ) Next ' Close the target file objFile.Close( ) End Sub
Hi there, at this moment i’m trying your script but i think it hangs in the download it now takes over 10 minutes, but i have no status window what is happening. The download from my fogserver manually tested runs fine
-
RE: FOG Snapin Client download error
@Jbob said in FOG Snapin Client download error:
@Timo for now you could set the snapin file to a batch script which downloads the exe from a samaba share or something and runs it.
Hi Jbob thx for your help. How can i realize that? I’ve an Synology NAS where i can store that, do you have an example script, maybe?
-
RE: FOG Snapin Client download error
@Sebastian-Roth said in FOG Snapin Client download error:
@Timo This seems to be a restriction in C# following the discussion here: http://www.codeproject.com/Questions/142532/appending-and-splitting-files-larger-than-gb
Possibly this is only happening because you have 32 bit Windows installed?? Please check! Or this might be a general restriction and we need to read large snapin files as chunks, @Jbob?
Hi Sebastian, no the Client runs an Windows 7 x64 Installation
-
RE: FOG Snapin Client download error
Sure i can, thx for your help, i really appreciate it
-
RE: FOG Snapin Client download error
GIT 7248 the same…just forgot one thing from the Error Log Service Error:“Object reference not set to an object instance”