• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Kiweegie
    3. Posts
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 30
    • Posts 204
    • Best 18
    • Controversial 0
    • Groups 0

    Posts made by Kiweegie

    • RE: FOG::SnapinClient Download Failed; Zero size file.

      @Wayne-Workman no rest for you on a Sunday either I see šŸ™‚

      We disable client side firewalls via GPO so that’s not blocking it. I think the issue is fog-server side rather than the end clients. I had hoped the error in fog.log may have been encountered before or documented somewhere to give me an idea of where it was going wrong.

      Unsure if it has any bearing on things but I have multiple storage nodes set up at remote locations and I’m trying to get the WOL and snapins replication working there too. Currently image replication is working on a few but not all storage nodes (3 out of 7) though this may just be bandwidth related as I’ve dialled transfers down to 500Kbps.

      regards Kiweegie

      posted in FOG Problems
      K
      Kiweegie
    • RE: FOG::SnapinClient Download Failed; Zero size file.

      @Wayne-Workman Thanks Wayne, I had actually tried that, sorry I should have mentioned that. I’ll do some more digging on that when I get back to the office tomorrow.

      As a side note I did try deploying a snapin to my own machine but as that one was imaged with the old server its using an old Fog client it didn’t work and gave me a completely different error.

      14/06/2015 12:53 FOG::SnapinClient Attempting to connect to fog server...
      14/06/2015 12:53 FOG::SnapinClient Unknown error, module will exit
      
      

      I’ve seen reference in these forums to legacy vs new fog client and I’m presuming the new one pulls through on any machine imaged with new (1.2.0?) version of Fog. Can anyone point me to a definitive explanation of this? There has been a lot of change in the new Fog version seemingly and finding information in this forum is not always as straight forward as it should be.

      thanks all, Kiweegie.

      posted in FOG Problems
      K
      Kiweegie
    • RE: FOG::SnapinClient Download Failed; Zero size file.

      I thought it might be permissions or ownership - my propblem is I don’t know who the owner should be or what acces rights are needed.

      the snapins directory shows as

      drwxrwxr-x  4 fog    apache 4096 Jun 11 13:41 snapins
      

      and the snapins therein

      -rw-r--r-- 1 fog  fog    27684864 Jun  1 19:12 LogMeIn_Pro.msi
      

      If anyone has a working snapin system could you check what ownership and perms you have set?

      ta

      posted in FOG Problems
      K
      Kiweegie
    • RE: FOG::SnapinClient Download Failed; Zero size file.

      Hi ch3i

      No snapins currently work - I’ve tested with 2 known ones which did work on earlier versions of fog - I’m using the same .msi or .exe files and same switches but they (the 2 different one I’ve tried so far) both fail with the same error as previously.

      I have the location plugin installed as well as WOL plugin and Pushbullet in case any of them have an impact on snapins - don’t see how.

      I’m trying to deploy from main fog server to a client in the same location/subnet as main server too.

      regards Kiweegie.

      posted in FOG Problems
      K
      Kiweegie
    • FOG::SnapinClient Download Failed; Zero size file.

      Hi all

      I’ve uploaded a snapin to new fog server running SVN_3509 for the Logmein pro client in MSI format, something we had been deploying successfully on Fog 0.32.

      On the snapin page in the gui I have set:

      Name = no spaces
      Snapin run with = c:\windows\system32\msiexec.exe
      Snapin run with argument = /i
      Snapin argument = /qn

      On the client in c:\fog.log I’m seeing this

       13/06/2015 13:06 FOG::SnapinClient Attempting to connect to fog server...
       13/06/2015 13:06 FOG::SnapinClient Module is active...
       13/06/2015 13:06 FOG::SnapinClient Snapin Found: 
       13/06/2015 13:06 FOG::SnapinClient     ID: 7
       13/06/2015 13:06 FOG::SnapinClient     RunWith: c:\windows\system32\msiexec.exe
       13/06/2015 13:06 FOG::SnapinClient     RunWithArgs: /i
       13/06/2015 13:06 FOG::SnapinClient     Name: Logmein_Pro
       13/06/2015 13:06 FOG::SnapinClient     Created: 2015-06-11 10:59:22
       13/06/2015 13:06 FOG::SnapinClient     Args: /qn
       13/06/2015 13:06 FOG::SnapinClient     Reboot: No
       13/06/2015 13:06 FOG::SnapinClient Starting FOG Snapin Download
       13/06/2015 13:06 FOG::SnapinClient Download Failed; Zero size file.
      

      I’ve tried adding a regular .exe snapin too but that fails with same error.

      I’ve tried searching forum for this error but not turned anything up as yet. Can anyone nudge me in the right direction please?

      regards. Kiweegie

      posted in FOG Problems
      K
      Kiweegie
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @Tom-Elliott HI Tom, I’m nearly there but something is still not quite right…

      I want to have a set of images (but not all) replicate from my main server to my remote sites. To that end I’ve got the following set up.

      Site1 = Main server and one Storage Node
      Sites2-8 - Storage Node at each site

      Site1 has 2 storage groups, default and replication
      Main server (DefaultMember) points to the default storage group
      Storage node site1 points to the replication storage group and is set as the Master node for that storage group
      Remote sites Storage nodes also point to the replication storage group

      Within each storage node I’ve configured the Management Username and Management Password with the credentials provided in the storage node setup proces. Also double checked these were correct as shown in

      /opt/fog/.fogsettings
      

      But replication fails to kick in. If I swapped it around so everything pointed to the default storage group I could see that replication started off. Image was initially scp’d to the Site1 storage node so there is an image there to copy. And I’ve updated the Image itself in management interface to link to the right storage group.

      Added to this, now when I try and kick off a regular image task from main server I get this error

      It’s likely something very simple I’ve overlooked…

      Any pointers?

      cheers, Kiweegie

      posted in FOG Problems
      K
      Kiweegie
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @Tom-Elliott aha - that makes more sense, was actually the ā€œotherā€ boxes which should have been providing creds but were not, sorted now.

      one last question, is is possible to get a login set up for the wiki as most how-tos online seem to be linked back there… I can open new thread for that if preferred.

      thanks again for the help Tom, greatly appreciated.

      regards, Kiweegie.

      posted in FOG Problems
      K
      Kiweegie
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      Tom I’ve upgraded to trunk on all boxes - oddly on 2 of them it has added in fog username and password at this part of the install.

          What mysql connection type would you like? (MYSQLI_ASYNC)
               MYSQLI_STORE_RESULT is normal
               MYSQLI_ASYNC is what is Defaulted and recommended
                Any value not equal to MYSQLI_ASYNC and not blank will use store result
        * Setting password for FOG User...OK
        * New password set for:
            username: fog
            password: ********
      

      I’m presuming this is not right as the other ones just run the first part, ask for the fogstorage password then continue on. I’ve tried wiping /opt folder and starting a fresh install but both still doing this. Ones an Ubuntu14.04 box the other is Centos 6.4.

      I could reinstall the OS and start again but I’d really prefer not to if possible.

      Once I’m done and have working is it worth your/others while for me to post detailed steps back here for visibility?

      ta.

      posted in FOG Problems
      K
      Kiweegie
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      Wow. That was… fast.

      Understood Tom, will try that now.

      cheers!

      posted in FOG Problems
      K
      Kiweegie
    • Multiple TFTP servers multi subnet fog 1.2.0

      Afternoon fellow Fog users…

      I’m in the process of updating our multi site office to using Fog 1.2.0. I have 1 main site running a normal node and storage node on one subnet and 7 remote sites all on different subnets running storage nodes.

      I would like to use the main server in head office to house all the host and image definitions and be the command and control centre but have images stored on the remote storage nodes so the image files pull over the LAN not the WAN. Up til now I’ve been running standalone servers at each site but this means tweaking the image so it has the ā€œlocalā€ fog server address in C:\Program Files (x86)\FOG\etc\config.ini

      I have already configured this part but think I need to enable TFTP service on all the remote nodes due different subnets. I’ve followed this post from the wiki:

      My issue is this step under 1.x.x heading…

      Edit the main

      /opt/fog-setup/fog_version/bin/.install.sh
      

      script. Locate the section titled # Storage Node installation. Insert the following line after configureFTP; and save the script:

      configureTFTPandPXE;
      

      On my Ubuntu and Centos boxes I have downloded the installer to /opt/fog_1.2.0 so I’d expect the above path to be

      /opt/fog_1.2.0/bin
      

      The script there is actually installfog.sh not install.sh and if I try editing that file it shows:

      #!/bin/sh
      
      script /var/log/foginstall.log -c ./.install.sh
      
      

      I can find the 2nd script mentioned in instructions ok:

      /opt/fog-setup/fog_version/lib/ubuntu/config.sh
      

      So either the instructions I’m reading are out of date or wrong or (more likely) I’m completely misunderstanding something. I’ve searched the current forum for Multiple TFTP Server but not found any hits.

      My question therefore is: Are there updated instructions for this under Fog 1.2.0? And I guess my other question is, is this still the best method for multiple site setup? Any other gotchas I should be aware of? I read somewhere WOL doesn’t work, is that correct?

      regards, Kiweegie.

      p.s. loving the new forum layout and Fog in general…

      posted in FOG Problems
      K
      Kiweegie
    • RE: Fog 1.2.0 and iPXE boot loop

      Hi Tom/Wolfbane

      thanks for the info and for getting documentation updated which will no doubt help others doing this. In our case the networking team have confirmed that STP is enabled but that portfast is not. We’re looking to roll this out again in a couple weeks but for now have gone back to 0.32.

      Our network team have advised tha as well as configuring portfast they will also configure BPDU Guard to avoid network loops which could bring network down as discussed in [URL=ā€˜https://learningnetwork.cisco.com/thread/3160’]this cisco thread[/URL].

      I’ll confirm once we have this up and running and include any other gotchas we encounter.

      thanks again, Kiweegie

      posted in FOG Problems
      K
      Kiweegie
    • RE: Fog 1.2.0 and iPXE boot loop

      I’ve attached my foginstall.log and last bits of my apache error.log too in case thats useful at all. There are a stack of entries against multiple different IP addresses in the Apache log showing File does not exist: /var/www/fog

      regards Kiweegie.

      [url=ā€œ/_imported_xf_attachments/1/1449_foginstall.log.txt?:ā€]foginstall.log.txt[/url][url=ā€œ/_imported_xf_attachments/1/1450_apache_error.log.txt?:ā€]apache_error.log.txt[/url]

      posted in FOG Problems
      K
      Kiweegie
    • RE: Fog 1.2.0 and iPXE boot loop

      Hi Tom and many thanks for the speedy reply…

      We do have Spanning tree enabled but not Portfast as per my original message

      [QUOTE]I’ve seen posts re others having an ā€œinfinity loopā€ and reference to making sure switches have [B]Spanning Tree enabled (ours do)[/B] and [B]Portfast enabled (ours don’t)[/B] but this was on one forum post and is not mentioned anywhere on the userguide as far as I can see. Links below are the 2 I’ve found with reference to ā€œinfinity loopā€[/QUOTE]

      I can get our network team to enable Portfast but wanted to confirm that was a requirement first as I’ve not seen it documented anywhere other than a comment you made on a post to another forum member.

      I’m not sure what you mean re the Modules though - could you elaborate on how to use the truncate piece and what that achieves?

      To recap, this is a clean install of Ubuntu 12.04 and a clean install of Fog 1.2.0, not an upgrade from ealier version. I’ve copied the original images directory over but all else is configured fresh.

      regards Kiweegie

      posted in FOG Problems
      K
      Kiweegie
    • Fog 1.2.0 and iPXE boot loop

      Good morning all,

      I’ve been searching the forums for the past few days re my issue to no avail so hoping someone here can help or point me in the right direction to look. Most ā€œofficialā€ documentation on the forums refernces the 0.3x versions

      Recently upgraded our old Fog Server running Ubuntu 10.04 32bit and Fog 0.32 due to various (non-fog) related performance issues. We now are running Ubuntu 12.04.05 32bit and Fog 1.2.0 which we are keen to try out to support new Windows 8 deployments.

      DHCP scope has been changed from pxelinux.0 to[FONT=Tahoma][B] undionly.kpxe[/B][/FONT]

      Clients are a mix of (very) old IBM S50s running XP, Lenovo Thinkcentre Edge 72s running Windows 7/8 and Dell 3010/390’s the same plus a hodgepodge of others.

      [B]THE ISSUE[/B]

      On boot the machine gets regular PXE menu which then changes to an iPXE menu and then at the end it throws an error but disappears to quickly to see and repeats the boot process in an endless loop.

      I’ve attached 2 images showing the PXE and iPXE menus I do see on screen during boot - sorry they are low quality as taken on my phone. I’ve also attached fog.log from one of the clients.

      [B]WHAT I’VE FOUND[/B]

      I’ve seen posts re others having an ā€œinfinity loopā€ and reference to making sure switches have Spanning Tree enabled (ours do) and Portfast enabled (ours don’t) but this was on one forum post and is not mentioned anywhere on the userguide as far as I can see. Links below are the 2 I’ve found with reference to ā€œinfinity loopā€

      [url]http://fogproject.org/forum/threads/dell-optiplex-960-boot-loop.10769/[/url]
      [url]http://fogproject.org/forum/threads/cant-do-pxe-boot-on-hp-probook-645-fog-1-2-0.11297/[/url]

      The machines we use here are either using an old BIOS pre UEFI due to their age, or in the case of new machines are being booted in Legacy mode with Secure boot turned off.

      Having read a little of the documentation on the [url]http://ipxe.org[/url] site it would apper that ROMs need to be flashed to support ipxe or you need to set up chainloading to link ipxe to an existing pxe rom. I’ve also found this [URL=ā€˜http://ipxe.org/howto/msdhcp#pxe_chainloading’]link [/URL]which refers to configuring the DHCP server via Define User Classes.

      [URL=ā€˜http://www.fogproject.org/wiki/index.php/Boot_looping_and_Chainloading’]This link[/URL] on the fog forums details how to set up chainloading - is this the correct step to follow for latest version of Fog? Or do I just need new boot files as others have tried? And if so can someone advise how to set the defauly boot from undionly.kpxe to undionly.kkpxe for instance if that’s what is required.

      Any help anyone could give with the above would be greatly appreciated.

      regards, Kiweegie.

      [url=ā€œ/_imported_xf_attachments/1/1446_PXE menu.png?:ā€]PXE menu.png[/url][url=ā€œ/_imported_xf_attachments/1/1447_iPxe menu.png?:ā€]iPxe menu.png[/url][url=ā€œ/_imported_xf_attachments/1/1448_fog.log.txt?:ā€]fog.log.txt[/url]

      posted in FOG Problems
      K
      Kiweegie
    • RE: Snapin not listed after upload and add

      This is old so may have been sorted already but I’'ve seen similar issue when trying to upload a snapin with same executable file name as already exists on another snapin.

      In my use case I created a snapin for screenpresso.exe. This application does not auto update so each time they bring a new version out we need to add a new snapin. The first time I did this I had same issue you did - called the snapin screenpresso_versionX and uploaded but didn’t show up. This was because the actual installer was called screenpresso.exe and was already in use on the server on the origiinal snapin.

      You need to ensure the exe file you upload is a unique file name - same for when you are going an installer and uninstaller using same .exe

      Hope this helps someone…

      posted in FOG Problems
      K
      Kiweegie
    • RE: Multiple sites

      +1 for standalone fog servers. We tried the multisite patch which worked a treat initially but as we have different OU’s for each site in AD it was actually simpler to set each site up with it’s own fogserver. AD integration then drops each sites pc into the relevant OU automatically,

      Depending on the size of each site the hardware doesn’t need to be over the top - we were running quite happily with an IBM M52 running I think a P4 and 512MB and it was absolutely fine for sites ranging from 6 to 40 users. If you have a slow link to the remote sites I would imagine you a standalone server at each site would be the preferred option. You copy (rsync, scp whatever) the base image to your remote server(s) and the deployment is then done on the LAN not the WAN.

      Yes updating 60 sites will be a pain initially (especially if you update the images regularly) but the benefits of being able to deploy images, wake up hosts, virus check, wipe, deploy snapins the list goes on - are all worth the initial setup effort.

      posted in General
      K
      Kiweegie
    • RE: Reports

      I actually found another user on the forums who posted a similar request to my own. I cross posted there hoping to get more views and thanks to some SQL help from user Moss managed to edit the host report to now include group names.

      I’ll post the ā€œedited highlightsā€ here but if someone would like the complete php file or if it’s permitted to post here I can do so

      Firstly I downloaded a copy of the [B]Host List.php[/B] file from [B]/var/www/fog/management/reports/[/B] to work on

      Under the echo ( ā€œ<div>ā€ ); section I added this line:

      [CODE]$report->addCSVCell(_(ā€œGroup Nameā€));[/CODE]

      then the SQL reads now as:

      [CODE]$sql = "SELECT
      *
      FROM
      hosts
      left outer join images on ( hostImage = imageID )
      left outer join supportedOS on ( hostOS = osID )
      left outer join groupMembers on ( hostID = gmHostID)
      left outer join groups on ( gmGroupID = groupID)
      ";[/CODE]

      And lastly add this to the last array section

      [CODE]$report->addCSVCell($ar[ā€œgroupNameā€]);[/CODE]

      I actually stripped out a number of things to keep the report more concise for my own use - I only really want to see which bank of desks a particular pc is sitting at. From the looks of things if you know your SQL and/or PHP or are prepared to learn it (or like me cobble something together from the existing code and a lot of forum searches) the reporting feature can do quite a lot.

      Hope this helps someone else out there.

      cheers (and apologies to mods for cross threading - won’t happen again šŸ™‚ )

      posted in General
      K
      Kiweegie
    • RE: Report for groups

      Moss you are a legend.

      left outer join groupMembers on ( hostID = gmHostID)
      left outer join groups on ( gmGroupID = groupID)

      added to the SQL works a treat. Thanks for your help. Thats made life so much easier (or the opposite more likely as I now have another language to learn). Cheers!

      posted in General
      K
      Kiweegie
    • RE: Report for groups

      Hey Moss,

      ok learning more about SQL than I ever thought I would (or would need to). Your pointer to location of the reports in fog has definitely helped.

      I’ve managed to get this working albeit with the group ID showing rather than the name (working on that and will post back once I’ve sussed it).

      Under the echo ( ā€œ<div>ā€ ); section I added this line:

                  $report->addCSVCell(_("Group"));
      

      then the SQL reads now as:

                                  $sql = "SELECT
                                                  *
                                          FROM
                                                  hosts
                                                  left outer join images on ( hostImage = imageID )
                                                  left outer join supportedOS on ( hostOS = osID )
                                                  inner join groupMembers on ( hosts.hostID = groupMembers.gmHostID)
                                                  ";
      

      Important bit is the last line referencing inner join

      And lastly add this to the last array section

      $report->addCSVCell($ar[ā€œgmGroupIDā€]);

      Save the file on your local machine upload to fogserver and voila - an extra column after the host showing the group id - which I have managed to manually edit to match my desk bank numbering scheme as a quick and dirty hack

      posted in General
      K
      Kiweegie
    • RE: Report for groups

      Hey Moss,

      that’s pretty helpful, though oddly with both SQL entries i get the same output? In any case enough to go on for now - I’ve hand edited the gmGroupID to match actual bank numbers so it’s easier to view the output. I’m even less of a coder/DBA than you but if I could get example report code from someone I could have a crack at editing it for my needs. I’m guessing to upload a report to Fog it would require integration with the GUI as well - think a feature request might be the best way.

      posted in General
      K
      Kiweegie
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 9 / 11