• Corrupt Database after Harddrive was filled to 100%

    4
    0 Votes
    4 Posts
    1k Views
    O

    i deleted another image and rebooted the server and ITS WORKING!!!

    YAY!

  • Blank Screen During Host Registration

    5
    0 Votes
    5 Posts
    2k Views
    E

    The problem was that this was an AIO motherboard and it was trying to use a built in display.
    [url]http://www.intel.com/support/motherboards/desktop/sb/CS-033024.htm[/url]

  • Silly Multicast Question (Queue)

    2
    0 Votes
    2 Posts
    1k Views
    Jaymes DriverJ

    [quote=“RLane, post: 32598, member: 23505”]In previous versions of FOG, there was a limit (10 by default) where when you multicast for active PCs. Now, using 1.1.2, is that setting or default changed? I had a group with 32 computers in a lab and started them today assuming only specified number (figured 10 as default) would start, but all of them started. Sadly I have 10/100 switches to the class rooms and a Gb backbone. Has this changed or am I just missing the setting?

    I figured something like this would be displayed when I started my multicast:

    [url]http://www.fogproject.org/wiki/images/3/3d/Queue.jpg[/url]

    Edit: I guess reading the wiki further states this was only for [I]ten[/I] unicast tasks, but multicast is considered one task itself. Is there a way to break the multicast down into parts other than making a separate group? I don’t know why 32 multicasts would be significantly slower than 8.[/quote]

    Sounds like you figured it out there towards the end, Unicast has a limit to how many machines can be imaged at once, it can be increased or decreased by modifying the configuration settings.

    As far as Multicast goes, your best bet is to start a group and name is Session1, Session2, etc. and put 10 or 12 machines in there and run the multicast for the group.

    Unfortunately at the moment there are no ways to break down a multitask imaging task any further, but it may be something we will look into in the future.

    Personally, I prefer to unicast to multiple machines at once, as you stated there is already a 10 client limit, and you can set up multiple machines to image and when a space opens in the queue it will fill it otherwise it will wait. This may be a little more beneficial to you than multicasting since you seem to want your machines to wait their turn so not to bog down the network, I’ve had multicast hurt me more times than it has helped.

    If you want to use the Queue you need to use Unicast. Multicast makes sure all hosts are on the same “checkpoint” before proceeding and does not rely on the Queue.

  • FOG Multicast Stalls On Second Attempt

    1
    0 Votes
    1 Posts
    620 Views
    No one has replied
  • Nfs mount - bad file descriptor / permission denied

    10
    0 Votes
    10 Posts
    24k Views
    M

    I ran into this recently this problem as well with the following error(s) from TFTP boot,

    [QUOTE][I][SIZE=12px]/images/dev on /images failed: bad file descriptor[/SIZE][/I][/QUOTE] and
    [QUOTE][I][SIZE=12px]fatal error: failed to mount nfs volume[/SIZE][/I][/QUOTE]

    The difference in my case was that where the OP had encountered
    [QUOTE][I][SIZE=12px]/images/dev/ failed, reason given by server: permission denied[/SIZE][/I][/QUOTE], I had encountered
    [QUOTE][I][SIZE=12px]/images/dev/ failed, reason given by server: no such file or directory[/SIZE][/I][/QUOTE].

    Why did I run into this? Well, it’s because I was running FOG off of an old converted XP box with limited hard drive space. I had planned the whole platform to a newer box but, well, we know how 'I was planning on getting to it" works. In any event, I had run out of storage space and had moved some of the images off of the current FOG platform’s HDD to an external storage device. In the process, I inadvertently moved the [I]/images/dev[/I] directory. This was the root of the issue.

    TL;DR version:
    Check to make sure you didn’t delete/move your [I]/images/dev directory[/I]

  • Problem configuring new storage node / creating images

    17
    0 Votes
    17 Posts
    6k Views
    P

    ok it works. i changed the exports back to it’s defaults and now it works!

    thanks tom for your help and thanks gilberto!

    now this post can be closed!

  • Multicast not working

    3
    0 Votes
    3 Posts
    2k Views
    B

    The server and the hosts are on the same vlan and switch. Its also the same network configuration our .32 fog server is on and its multicast is working.

  • Manual Migration to FOG 1.1.2

    9
    0 Votes
    9 Posts
    4k Views
    A

    I understand that using PHPmyadmin is more of a ‘brute force’ solution … and although I advocate it -> but only in extreme circumstances where you botched up your migration in the first place.

    Migrating manually with PHPmyadmin and manipulating the database is a very slow and painful task … believe me, I know. Column orders, commas, quotation marks - all super important when you are combing your database for import.

    again - last-ditch solution.

  • Change windows hostname - 'early' just after imaging, before booting

    3
    0 Votes
    3 Posts
    1k Views
    Tom ElliottT

    It’s a part of the init.gz and I may have a workaround for this coming down the shoots.

  • FOG 1.1.1 : NAS and NFS issue : unable to change folder permission

    13
    0 Votes
    13 Posts
    9k Views
    Jonathan CoolJ

    Hi.
    I found a temporary solution : after the upload, i connect to the NAS by FTP and move the files into …/fogimages/dev/@MAC to …/fogimages/“folder named in FOG interface”.
    After that, the download task works on an other computer but only for Mint Linux OS … (other distrib’ not tested yet). With Windows 7 image, i have an error message …
    Maybe i need to create a new topic about this new issue ?

  • Issues, cannot delete host, cannot add image to host

    7
    0 Votes
    7 Posts
    3k Views
    J

    Been there - done that!

    Tom’s reply worked perfectly! After months of playing with this thing, I finally have a working FOG server! Yea!

    Thanks Guys

  • Upgrade from version 0.32 to 1.0.1 PXE-M0F errors

    9
    0 Votes
    9 Posts
    4k Views
    P

    @Tom I have made the changes as you suggested. Restarted the Ubuntu box, restarted my connection. Just to be sure everything is all puka. Now I get the message as per screen shot attached and the laptop booth to WinTosh

    [url=“/_imported_xf_attachments/1/1122_WP_20140709_14_32_06_Smart.jpg?:”]WP_20140709_14_32_06_Smart.jpg[/url]

  • Hangs before image upload (not during)

    2
    0 Votes
    2 Posts
    1k Views
    Tom ElliottT

    When you register the system, the “Do you want to image the system now?” is not referring to uploading an image. It’s referring to “Downloading” the image to the client.

    Also, update to 1.1.2 as there was a bug with 1.1.1 where registering the host and assigning the image id did not work properly.

    You’ll likely need to delete the hosts as they most likely got created with hostID=‘0’ which is in valid.

    From terminal you can do this:
    [code]mysql -u root [ -p’MYSQLPASSWORD IF SET’ #ONLY ENTER THIS IF YOU SET A PASSWORD ] fog
    delete from hosts WHERE hostID=‘0’;[/code]

    Then re-register the host.

  • Installed a clean version of 1.1.2 database errors after reboot

    3
    0 Votes
    3 Posts
    1k Views
    B

    restarting the mysql service did the trick. Thank you!

  • Custom Fog Registration menu

    3
    0 Votes
    3 Posts
    2k Views
    S

    and the fog.custom.reg

    [HTML]#!/bin/sh
    . /usr/share/fog/lib/funcs.sh
    clearScreen;
    displayBanner;
    hd=“”;
    getHardDisk;

    setupDNS ${dns}

    sysman=“”;
    sysman64=“”;
    sysproduct=“”;
    sysproduct64=“”;
    sysversion=“”;
    sysversion64=“”;
    sysserial=“”;
    systype=“”;
    biosversion=“”;
    biosvendor=“”;
    biosdate=“”;
    mbman=“”;
    mbproductname=“”;
    mbversion=“”;
    mbserial=“”;
    mbasset=“”;
    cpuman=“”;
    cpuversion=“”;
    cpucurrent=“”;
    cpumax=“”;
    mem=“”;
    hdinfo=“”;
    caseman=“”;
    casever=“”;
    caseserial=“”;
    casesasset=“”;
    sysserial64=“”;
    systype64=“”;
    biosversion64=“”;
    biosvendor64=“”;
    biosdate64=“”;
    mbman64=“”;
    mbproductname64=“”;
    mbversion64=“”;
    mbserial64=“”;
    mbasset64=“”;
    cpuman64=“”;
    cpuversion64=“”;
    cpucurrent64=“”;
    cpumax64=“”;
    mem64=“”;
    hdinfo64=“”;
    caseman64=“”;
    casever64=“”;
    caseserial64=“”;
    casesasset64=“”;

    echo “”;
    echo “”;
    if [ -n “$hd” ]; then
    part=$hd’1’;
    echo " * Using disk device…$hd";

    echo " * Starting host registration..."; mac=`ifconfig | grep HWaddr | head -n1 | base64`; exists=`wget -O - --post-data="mac=${mac}" "http://${web}service/man.hostexists.php" 2>/dev/null` if [ "$exists" = "#!ok" ]; then host=""; imageid=""; osid="NQ=="; blImage=""; blDoAD=""; echo echo -n " Enter the hostname of this computer: "; read host; host=`echo $host | base64`; while [ "$imageid" = "" ] do res=`wget -O - "http://${web}service/imagelisting.php" 2>/dev/null` i=0 OLDIFS=$IFS; IFS='

    ';
    for line in $res
    do
    i=$((i+1));
    echo $line;
    if [ “$i” = “20” ]
    then
    echo -n “Press Enter to Proceed…”
    read dummy;
    clearScreen
    i=0;
    fi
    done

    echo echo -n " Enter the image ID for this computer: "; read imageid; imageid=`echo $imageid | base64`; done if [ "$blDoAD" = "" ] then echo echo -n " Would you like to add this host to AD (using default settings)? (y/N) "; read tmpAd; blDoAD="0"; case "$tmpAd" in Y | yes | y | Yes | YES ) blDoAD="1"; ;; [nN]*) ;; *) ;; esac fi echo echo " If you entered all the required information, "; echo -n " would you like to image this computer now? (y/N) "; read blImage; realdoimage="0"; case "$blImage" in Y | yes | y | Yes | YES ) tmp=""; echo echo echo " You have selected to image this host. This"; echo " will destroy all current data on this computer."; echo " Are you sure you wish to continue?"; sleep 1; echo -n " If so type \"fog\": "; read tmp; tmp=`echo $tmp | tr '[A-Z]' '[a-z]'` if [ "$tmp" = "fog" ]; then echo echo " This host will reboot and imaging will start!"; echo realdoimage="1"; else echo echo " You have NOT confirmed imaging, so we will not send an image!"; echo fi sleep 3; ;; [nN]*) ;; *) ;; esac echo echo -n " * Attempting to register host................."; res=""; while [ "${res}" = "" ] do res=`wget -O - --post-data="mac=${mac}&advanced=1&host=${host}&imageid=${imageid}&osid=${osid}&doimage=${realdoimage}&doad=${blDoAD}" "http://${web}service/auto.register.php" 2>/dev/null` echo "${res}"; sleep 2; done; else echo " * Unable to register host for the following reasons:"; echo " ${exists}"; sleep 10; fi doInventory; echo echo echo echo " System Information"; echo " ------------------"; echo echo " * System Manufacturer: $sysman"; echo " * System Product Name: $sysproduct"; echo " * System Version: $sysversion"; echo " * System Serial Number: $sysserial"; echo " * Computer Form Factor: $systype"; sleep 1; echo echo " BIOS Information"; echo " ----------------"; echo echo " * BIOS Version: $biosversion"; echo " * BIOS Vendor: $biosvendor"; echo " * BIOS Date: $biosdate"; sleep 1 echo echo " Motherboard Information"; echo " -----------------------"; echo echo " * Motherboard Manufacturer: $mbman"; echo " * Motherboard Product Name: $mbproductname"; echo " * Motherboard Product Version: $mbversion"; echo " * Motherboard Serial Number: $mbserial"; echo " * Motherboard Asset Tag: $mbasset"; sleep 1 echo echo " CPU Information"; echo " ---------------"; echo echo " * CPU Manufacturer: $cpuman"; echo " * CPU Version: $cpuversion"; echo " * CPU Current Speed: $cpucurrent"; echo " * CPU Max Speed: $cpumax"; sleep 1 echo echo " Memory Information"; echo " ------------------"; echo echo " * Memory: $mem"; sleep 1 echo echo " Hard Disk Information"; echo " ---------------------"; echo echo " * Hard Disk: $hdinfo"; sleep 1 echo echo " Case Information"; echo " ----------------"; echo echo " * Case Manufacturer: $caseman"; echo " * Case Version: $casever"; echo " * Case Serial Number: $caseserial"; echo " * Case Asset Number: $casesasset"; echo echo echo echo echo poststring="mac=${mac}&sysman=${sysman64}&sysproduct=${sysproduct64}&sysversion=${sysversion64}&sysserial=${sysserial64}&systype=${systype64}&biosversion=${biosversion64}&biosvendor=${biosvendor64}&biosdate=${biosdate64}&mbman=${mbman64}&mbproductname=${mbproductname64}&mbversion=${mbversion64}&mbserial=${mbserial64}&mbasset=${mbasset64}&cpuman=${cpuman64}&cpuversion=${cpuversion64}&cpucurrent=${cpucurrent64}&cpumax=${cpumax64}&mem=${mem64}&hdinfo=${hdinfo64}&caseman=${caseman64}&casever=${casever64}&caseserial=${caseserial64}&casesasset=${casesasset64}"; echo -n " * Attempting to send inventory................"; res=""; while [ "$res" = "" ]; do res=`wget -O - --post-data="${poststring}" "http://${web}service/inventory.php" 2>/dev/null` echo "$res"; sleep 3; done

    else
    echo “hard disk not found!”;
    fi
    sleep 10
    [/HTML]

  • Active Directory OU Settings FOG 1.1.2

    8
    0 Votes
    8 Posts
    4k Views
    JunkhackerJ

    this has already been changed in svn, so that if the default field contains 1 or less entries, then the field on the hosts will be a text box. the way that the OU field was implemented in 1.1.2 was mostly an oversight/incomplete implementation caused by the discovery/fix of a bad bug that made us release the new version sooner then we had originally intended.

  • Fog[1.1.1] Can't add to the directory with organisational units.

    8
    0 Votes
    8 Posts
    3k Views
    J

    Glad you figured it out. I always just copy and paste my OU format from AD directly. It’s listed under the targeted folder’s properties.

  • Fog Centralized management issues

    2
    0 Votes
    2 Posts
    1k Views
    Tom ElliottT

    I think I got this.

  • Fog Version: 1.1.1

    7
    0 Votes
    7 Posts
    2k Views
    S

    Just to update you, I have just tested updating the image in fog 1.1.2 which uses part clone to capture and the progress bar is now working. 😉

    Thanks for the help, appreciated. 🙂

  • 0.32 storage with 1.x server

    6
    0 Votes
    6 Posts
    2k Views
    J

    Added a new storage and still the same display.

    [ATTACH]1115[/ATTACH]

    Hardware Information

    General Information
    Storage Node VaubanVieux
    IP 10.121.84.7
    Kernel 2.6.32-31-generic
    Hostname fog0210003P
    Uptime 15:53:13 up 1 day, 7:04, 0 users, load average: 0.16, 0.13, 0.05
    CPU Type GenuineIntel
    CPU Count 1
    CPU Model Intel® Xeon® CPU E5-2620 0 @ 2.00GHz
    CPU Speed 1995.192
    CPU Cache 15360 KB
    Total Memory 497
    Used Memory 146
    Free Memory 350
    File System Information
    Total Disk Space 196.8 GB
    Used Disk Space 89.4 GB
    Network Information
    lo Information
    lo TX 14.93 KiB
    lo RX 14.93 KiB
    lo Errors 0
    lo Dropped 0
    eth3 Information
    eth3 TX 10.8 MiB
    eth3 RX 7.61 MiB
    eth3 Errors 0
    eth3 Dropped 0

    [url=“/_imported_xf_attachments/1/1115_Sans titre.jpg?:”]Sans titre.jpg[/url]

113

Online

12.4k

Users

17.5k

Topics

156.0k

Posts