• Adding second site to existing fog setup.

    2
    0 Votes
    2 Posts
    1k Views
    V

    setup a storage node and a PXE server on the 2nd site.

    the images will FTP over using whatever VPN you have.

    clients will pxe boot and contact your main site for query of jobs.

    the location plugin etc should make them deploy from the local server.

  • Checking Queue

    3
    0 Votes
    3 Posts
    1k Views
    O

    Fog V.032
    Ubuntu 12.04

  • Error connecting to sql server, in FOG

    13
    0 Votes
    13 Posts
    4k Views
    D

    [quote=“Jaymes Driver, post: 26305, member: 3582”]Mysql is working!

    You may want to check the following files and verify that the mysql password is correct:

    /var/www/fog/commons/config.php [COLOR=#ff0000]below[/COLOR]
    /opt/fog/service/etc/config.php [COLOR=#ff0000]comes up with blank doc[/COLOR]

    Can you post the contents of your /tftpboot/pxelinux.cfg/default ? [COLOR=#ff0000]below[/COLOR]

    You may perform this command from one of your windows machines connected to the hub to verify that it can grab the pxelinux file
    [code]
    tftp FOGIPADDRESS get pxelinux.0[/code][/quote]

    DISPLAY boot.txt
    DEFAULT fog.local
    LABEL fog.local
    localboot 0
    LABEL fog.memtest
    kernel fog/memtest/memtest
    LABEL fog.reg
    kernel fog/kernel/bzImage
    append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=127.0.0.1 mode=autoreg keymap= web=10.10.10.5/fog/ loglevel=4 consoleblank=0
    LABEL fog.reginput
    kernel fog/kernel/bzImage
    append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=127.0.0.1 mode=manreg keymap= web=10.10.10.5/fog/ loglevel=4 consoleblank=0
    PROMPT 1
    TIMEOUT 300

    define( “IS_INCLUDED”, true );
    define( “TFTP_HOST”, “10.10.10.5” );
    define( “TFTP_FTP_USERNAME”, “fog” );
    define( “TFTP_FTP_PASSWORD”, “882e1ec394a538f8425014b3eb7171e0” );
    define( “TFTP_PXE_CONFIG_DIR”, “/tftpboot/pxelinux.cfg/” );
    define( “TFTP_PXE_KERNEL_DIR”, “/tftpboot/fog/kernel/” );
    define( “PXE_KERNEL”, “fog/kernel/bzImage” );
    define( “PXE_KERNEL_RAMDISK”, 127000 );
    define( “USE_SLOPPY_NAME_LOOKUPS”, “1”);
    define( “MEMTEST_KERNEL”, “fog/memtest/memtest” );
    define( “PXE_IMAGE”, “fog/images/init.gz” );
    define( “PXE_IMAGE_DNSADDRESS”, “127.0.0.1” );
    define( “STORAGE_HOST”, “10.10.10.5” );
    define( “STORAGE_FTP_USERNAME”, “fog” );
    define( “STORAGE_FTP_PASSWORD”, “882e1ec394a538f8425014b3eb7171e0” );
    define( “STORAGE_DATADIR”, “/images/” );
    define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
    define( “STORAGE_BANDWIDTHPATH”, “/fog/status/bandwidth.php” );
    define( “CLONEMETHOD”, “ntfsclone” ); // valid values partimage, ntfsclone
    define( “UPLOADRESIZEPCT”, 5 );
    define( “WEB_HOST”, “10.10.10.5” );
    define( “WEB_ROOT”, “/fog/” );
    define( “WOL_HOST”, “10.10.10.5” );
    define( “WOL_PATH”, “/fog/wol/wol.php” );
    define( “WOL_INTERFACE”, “eth0” );
    define( “SNAPINDIR”, “/opt/fog/snapins/” );
    define( “QUEUESIZE”, “10” );
    define( “CHECKIN_TIMEOUT”, 600 );
    define( “MYSQL_HOST”, “localhost” );
    define( “MYSQL_DATABASE”, “fog” );
    define( “MYSQL_USERNAME”, “root” );
    define( “MYSQL_PASSWORD”, “********” );
    define( “DB_TYPE”, “mysql” );
    define( “DB_HOST”, MYSQL_HOST );
    define( “DB_NAME”, MYSQL_DATABASE );
    define( “DB_USERNAME”, MYSQL_USERNAME );
    define( “DB_PASSWORD”, MYSQL_PASSWORD );
    define( “DB_PORT”, null );
    define( “USER_MINPASSLENGTH”, 4 );
    define( “USER_VALIDPASSCHARS”, “1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_hB()^!” );
    define( “NFS_ETH_MONITOR”, “eth0” );
    define(“UDPCAST_INTERFACE”,“eth0”);
    define(“UDPCAST_STARTINGPORT”, 63100 ); // Must be an even number! recommended between 49152 to 65535
    define(“FOG_MULTICAST_MAX_SESSIONS”, 64 );
    define( “FOG_JPGRAPH_VERSION”, “2.3” );
    define( “FOG_REPORT_DIR”, “./reports/” );
    define( “FOG_THEME”, “blackeye/blackeye.css” );
    define( “FOG_UPLOADIGNOREPAGEHIBER”, “1” );
    define( “FOG_VERSION”, “0.32” );
    define( “FOG_SCHEMA”, 23);
    DEFINE(‘BASEPATH’, rtrim($_SERVER[‘DOCUMENT_ROOT’], ‘/’) . rtrim(WEB_ROOT, ‘/’));
    ?>

  • Reports - FOG Snapin Log not filtering correctly

    3
    0 Votes
    3 Posts
    1k Views
    Tom ElliottT

    [quote=“Smog, post: 26260, member: 572”]Finally I came up with a solution found [URL=‘http://sourceforge.net/p/freeghost/patches/57/’]here[/URL].[/quote]

    Smog, if you want you could update to FOG 0.33b and this issue is not even relevant any more.

    Thank you for posting the fix as well as the link to the fix.

  • FOG kernel updater GUI will not install kernels

    7
    0 Votes
    7 Posts
    4k Views
    F

    Tom,

    Thank you for your time. This request is finished and resolved. Corrected the information in the Fog Settings. If I had to guess the admin at the time forgot the FOG password and create another account. I just got the “Your new FOG kernel has been installed” message. I will still do some pulls and puts of known images for my comfort. For the issue that initiated this issue I will test kernels and open a new thread if needed.

  • New to Fog .32, Boot bzImage issues

    3
    0 Votes
    3 Posts
    1k Views
    J

    [quote=“Tom Elliott, post: 26225, member: 7271”]The kernel you’re loading is not correct.

    Currently my kernels are 3.14.2,

    The Kernel being reported in the snapshot is 2.6.39.1_FOG_CORE

    Are you sure you’re following the instructions properly?[/quote]

    So I reran the config I tried earlier from the links I posted and its working now, appreciate the help!
    Issue resolved. i look forward to your new projects .33

    Current Config Is:

    -Ubuntu 10.04 (12 and 14 would not work for me with the whole UDPCast issue, even updating it to 20120424 version pre-install. It kept failing on UDCCast Setup and Configure so I ended up on ver 10.04)
    -Fog 0.32 (latest I could find)

    [url=“/_imported_xf_attachments/0/684_ApacheLog.jpg?:”]ApacheLog.jpg[/url]

  • Dell optiplex 9010

    7
    0 Votes
    7 Posts
    3k Views
    V

    Also not all 500GB drives are equal…

    I’ve had some HDDs error out because they are probably a few bytes short of the others.

    If your not sysprepping or you don’t want to do it with sysprep, look up DISKPART and it’s Extend command.

  • TFTP issues

    14
    0 Votes
    14 Posts
    4k Views
    Jaymes DriverJ

    [quote=“David Schneider, post: 26216, member: 23828”]A request that I got for the machines is that the machine cannot be booted up after imaging the laptops. I don’t know why he just said that they need to be on the domain for the laptop to be loaded up. What I did was took his sysprepped .gho image sent to me on a thumb drive and loaded one of the laptops. After loading the laptop I pulled the image off of it using fog. He just want to be sure that the laptops get shutdown after imaging not booted up to the my sysprep screen. Something there gets corrupted if the initial settings are done off of the Domain.[/quote]

    Are the machines you are imaging suppose to be part of a domain? if that is no longer required, I would disable these settings before pushing the image to FOG.

    I kind of gathered that you are using a .gho image and loading it to the laptop, did you boot the laptop to windows before you pushed it to FOG?

    Windows has a process called Sysprep that generalizes the installation so it can be pushed to mulitple machines, if you allowed the laptop to boot after it was imaged and before it was uploaded to fog… Delete your image store, load the .GHO image to a laptop but DO NOT BOOT IT, instead set up a task on the server for an image upload. After the process completes, try to push your image to the laptops.

  • Windows 8 Deployment Problem

    35
    0 Votes
    35 Posts
    12k Views
    T

    [quote=“tjd230, post: 26180, member: 23826”]I did all of that. Just to be sure, I am doing a re-image of one of the machines that failed over the weekend.[/quote]

    Nope, still broken. I cannot wrap my head around why this isn’t working.

  • PXE boot - File not found

    2
    0 Votes
    2 Posts
    2k Views
    Tom ElliottT

    Sabastian M.

    Change your Option 67 from pointing to pxelinux.0 to undionly.kpxe as we’ve since moved to iPXE for booting. pxelinux.0 is no longer used.

  • Ubuntu 14.04 fog Not Found

    4
    0 Votes
    4 Posts
    4k Views
    Tom ElliottT

    It’s all good.

    [code]ln -s /var/www/fog /var/www/html/fog[/code] in case anybody really needs to know again.

  • Ubuntu boots to black screen after enabling root

    3
    0 Votes
    3 Posts
    2k Views
    J

    Thank you.

    I will try that now.

    Justin

  • Install fog, load up webpage, "Unable to connect to Database"

    4
    0 Votes
    4 Posts
    2k Views
    Tom ElliottT

    Toast,

    mysql appears to NOT be working in your situation.

    How do you know mysql works? The “It works!” page is not a mysql issue, that’s telling you apache is working fine. The “Unable to connect to Database” shows you that the DATABASE is actually the issue.

    Did you try the commands I gave you and it’s not working?

  • Deployment Halts

    12
    0 Votes
    12 Posts
    4k Views
    B

    SQL Database.

  • Scheduled Task ClamAV

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Help with Dell Optiplex 9020

    3
    0 Votes
    3 Posts
    1k Views
    J

    You be the man cause I’m out of a jam…:)

  • PXE Boot Issue with Fog 0.33b

    10
    0 Votes
    10 Posts
    4k Views
    B

    Personally I only use the menu for joining new machines to FOG, after that I do everything from the webUI unless I need the debug menu.

    And even now i’m not using that as much thanks to PDQ Invntory, I just export the machines from there into FOG.

  • Browse to http://FOGSERVER/fog/client

    17
    0 Votes
    17 Posts
    6k Views
    Jaymes DriverJ

    I normally append a sudo to every command that installs, or edits, you will usually need the root permissions to complete the actions properly.

    if you run a command and ti doesn’t work because you for got to sudo you can use what is called a Bang Bang to recall your last command and just put sudo in front of it.

    For example:
    [code]
    ln -s var/www/fog /var/www/html/fog[/code]

    Would fail, you need root privileges to move things to that folder, or you have to be an owner of that folder.
    so to re run the command with the terminal still open you can either press the up arrow and scroll back to the beginning and type sudo, which sometimes is the best bet. Sometimes I make errors when my fingers get excited and type isntall 😛

    or you can use the BangBang
    [code]
    sudo !![/code]

    There are others this is just easiest.

  • 0 Votes
    19 Posts
    8k Views
    Tom ElliottT

    Issue was:

    TFTP Server Settings were set incorrectly.

  • Fog 0.33b doesn't begin uploading after task scheduled.

    11
    0 Votes
    11 Posts
    3k Views
    Tom ElliottT

    [code]# DHCP Server Configuration file.

    see /usr/share/doc/dhcp*/dhcpd.conf.sample This file was created by FOG

    use-host-decl-names on;
    ddns-update-style interim;
    ignore client-updates;
    next-server 10.233.219.152;

    subnet 10.233.219.0 netmask 255.255.255.0 {
    option subnet-mask 255.255.255.0;
    range dynamic-bootp 10.233.219.200 10.0.7.250;
    default-lease-time 21600;
    max-lease-time 43200;
    option domain-name-servers 10.233.219.5;
    option routers 10.233.219.152;
    filename “undionly.kpxe”;[/code]

107

Online

12.2k

Users

17.4k

Topics

155.6k

Posts