• Clients showing matching MAC addresses

    1
    0 Votes
    1 Posts
    113 Views
    No one has replied
  • Issue Imaging 10th Gen NUC's

    Solved
    3
    0 Votes
    3 Posts
    267 Views
    D

    @george1421 Hi George,

    thanks for that, yes that’s solved my issue.

    I was thrown off by the the Fog version info, stating that it was up to date. didnt see the Kernel update to the side.

    Many thanks! 😊

  • DHCP Failed

    2
    0 Votes
    2 Posts
    337 Views
    george1421G

    @bido Well where its failing we can rule out a lot of things. You have your PXE booting configured correctly because iPXE is running. That is undionly.kpxe. That file is getting transferred to the target kernel and is running. Its iPXE that is having a hard time.

    The next test I want you to do is to install a cheap unmanaged switch between the target computer and the building switch. This test will give us an indication if spanning tree is enabled, but you are not using one of the fast spanning tree protocols (RSTP, MSTP, port-fast, FastSTP or whatever your switch mfg calls it). The dumb switch will keep the building switch from resetting the spanning tree counter while booting. Understand this is only a test to tell us if its spanning tree or not. My gut reaction is yes.

  • Tasktypeedit setup or getting Wake on Lan to work

    7
    0 Votes
    7 Posts
    587 Views
    S

    @mstabrin Yeah, sounds like we found a good working solution for you. Great to hear that it did the trick.

    Edit: I did rename the topic so we and others might find it more easily when looking for WOL.

  • boot uefi don't work

    25
    0 Votes
    25 Posts
    8k Views
    P

    @george1421
    this is the wrong configuration: option 66 was checked.
    a big thank you for your patience and the time spent with me

  • Capturing from a LUKS encrypted drive.

    2
    0 Votes
    2 Posts
    432 Views
    george1421G

    @alexnoel2 said in Capturing from a LUKS encrypted drive.:

    primary drive is encrypted with LUKS

    Am I screwed?

    Only on days of the week with the name ending with a y

    It has been successfully solved before: https://forums.fogproject.org/topic/13845/error-decrypting-luks-partition-prior-to-capture-imaging

    You have the same issue as a windows computer protected with bitlocker. Since FOS Linux can’t read the disk, it clones it as RAW (block by block).

  • Can't capture an Image on Fog (newbie)

    4
    0 Votes
    4 Posts
    669 Views
    J

    @quazz said in Can't capture an Image on Fog (newbie):

    @juntacadaveres Well, it’s pretty clear, boot in recovery mode and fsck -fy it.

    The cause of this problem was that my client was a “clone” of another virtual machine… I have detected that using fog with clones of other virtual machines can cause troubles. Thank you, anyway.
    By the way, I have used virtualbox.

  • FOG image drive failed. What now?

    35
    0 Votes
    35 Posts
    8k Views
    C

    @george1421 said in FOG image drive failed. What now?:

    @cammykool This image error is related to the php code. Apache off load php (the language the web ui is written in) to php-fpm (dedicated php execution engine). The error you see is apache saying that php-fpm did not answer it was done with the task in time so apache timed out.

    There may be some clues to what is at fault in /var/log/php-fpm/error.log tail that and see if it tells you what its not liking. If you set the permissions of 777 on /images nothing should stop it from moving files.

    i had my coworker crack away at it. He got them all to delete and we are in good shape! Everything seems to be working and happy!

  • Can't image

    Moved
    19
    0 Votes
    19 Posts
    2k Views
    S

    @cicero said in Can't image:

    I don’t want to be a pest but would appreciate if I can reach out to you you have great instructions

    You are not. The forum is here to ask questions and people try to help. I would just ask you to not repeat asking more and more questions in the same topic! There is no restriction to open new ones for each question you have and it’s a lot easier for everyone to keep track.

  • Client check-in and restart times

    4
    0 Votes
    4 Posts
    919 Views
    S

    @blankzapper said in Client check-in and restart times:

    I removed WinMGMT as dependency of FOG service, and removed random offset added by FOG server. These are dirty hacks, but they work for me.

    You seem to digg right into it! 🙂 May I ask, what is your actual aim with this? You are more than welcome to help us working on the fog-client code as you seem to be pretty good with this stuff.

    PS: Didn’t even know the MSI installer sets up so many service dependencies…

  • UEFI boot loop issue

    5
    0 Votes
    5 Posts
    858 Views
    J

    @sebastian-roth said in UEFI boot loop issue:

    @jonhwood360 said in UEFI boot loop issue:

    Updating the refind x64 binary

    To which version did you update? This might be helpful for other users as well.

    refind-bin-0.13.0.zip

  • Can not detect disks.

    26
    0 Votes
    26 Posts
    9k Views
    K

    @sebastian-roth Yes i am sure. also for now i am using 2 clonezilla live USBs which seems to work perfectly fine and does recognize the disks/raid card. cloning over the network with these 2 USB sticks seems to work.

  • could not mount images folder (/bin/fog.upload)

    2
    0 Votes
    2 Posts
    373 Views
    No one has replied
  • PXE Boot HP laptop with USB adapter

    8
    0 Votes
    8 Posts
    4k Views
    S

    @tvigneau I suppose you have Windows installed on that machine you see rEFInd - Initializing... after the PXE menu, right?

    If there is no task scheduled for a host the FOG iPXE menu will try to chainload the operating system from the local disk for you. Some hardware works just find while others just don’t play nicely at all. There are a few things you can try:

    Edit this host’s settings in the web UI and try all the different settings for Host EFI Exit Type like SANBOOT, GRUB, EXIT… (obviously REFIND_EFI is what you see right now, being the default on UEFI systems) Some people tried to get their machines to chainload by playing with the options in /var/www/html/fog/service/ipxe/refind.conf - find hints on what to look at in the forums: 1, 2 If that doesn’t help either you can try using a different version of rEFInd. We still have 0.11.4 in use but here you find newer (and older version): https://sourceforge.net/projects/refind/files/ - You want to download refind-bin-0.x.y.zip, extract that and copy the file refind/refind_x64.efi from the archive to your FOG server and drop in /var/www/html/fog/service/ipxe/ (rename the original file before).
  • RancherOS and Fog

    16
    0 Votes
    16 Posts
    1k Views
    george1421G

    @uberthoth Now in regards to your iPXE menu configuration. If you want to see the context of what your menu item will run in open a browser to this url, http://<fog_server_ip/fog/service/ipxe/boot.php?mac=00:00:00:00:00 This is the text that creates the iPXE menu. Specifically look at the top of the document and see how the FOG server’s IP address is assigned to which variables. HINT: You may want to move the rancher boot files out of fog file path into a different one like /os instead of /fog.

  • FOG Upgrade - DHCP Error

    9
    0 Votes
    9 Posts
    907 Views
    S

    @Chad Good to hear you are up and running again!

    I somehow good hooked up to believe you run a Debian server, just because I saw osname='Debian' in the settings file. But both Ubuntu and Debian have this. So don’t worry. The installer should upgrade to PHP 7.4 in your case just as well.

  • The list all hosts tab takes a long time

    14
    0 Votes
    14 Posts
    1k Views
    george1421G

    @nicolas-bricet said in The list all hosts tab takes a long time:

    OK what we are going to do is two step process. The first step is to change (remote) some default startup values that will cause a conflict between mariadb, innodb, and a legacy date format that FOG uses.

    The query you ran SELECT @@GLOBAL.sql_mode global, @@SESSION.sql_mode session; shows us the current global settings of

    +-----------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------- ---+ | global | session | +-----------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------- ---+ | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTI ON | +-----------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------- ---+

    What we are going to do is remove these startup values

    ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,>> NO_ZERO_IN_DATE,NO_ZERO_DATE,<< ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

    That will allow the smooth transition between the ISAM data engine and the much faster innodb data engine. Understand this transition may not have a real impact on query times, but we need to rule out some of the deficiencies in the ISAM data engine. Future FOG databases will come native with the innodb format.

    OK back on track.
    We need to find the configuration file for the mariadb (or mysql) server. There is a configuration file in th e/etc directory. The location varies between distributions. I don’t have a current ubuntu server available to give you the exact location so we will need to search for it.

    Run this command as root or sudo grep -R -e 'sql-mode' /etc/* We will look for a file that has an existing sql-mode key. Normally this query should return no files with this in it, but we check just to make sure. If it finds one then skip over the next paragraph.

    We need to find the config file that contans the [mysqld stanza. So as root or an elevated sudo grep -R -e '\[mysqld\]' /etc/* We are looking for a file that has [mysqld] section. Your search might find two files the default is /etc/my.cnf there may be a file in /etc/my.cnf.d directory. If there is one on /etc/my.cnf.d directory edit that one. If none are found we will stop here because we will need to create a config file. Let me know if you hit this roadblock.

    Now that you have found the right config file lets edit it. Under the [mysqld] section insert or edit the line to look like this.

    [mysqld] sql-mode="ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"

    Save and exit the editor.

    Now you need to stop and restart mysql

    Once that is done log back into the mysql client program as root and rerun that query to ensure NO_ZERO_IN_DATE,NO_ZERO_DATE have been removed from the startup settings.

    The final command will convert the hosts table from ISAM format to innodb format

    Key this into the mysql client

    use fog; ALTER TABLE hosts ENGINE=InnoDB;

    It should take a few seconds to run.

    Now run the query

    SELECT TABLE_NAME,ENGINE FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'fog' and ENGINE = 'MyISAM';

    You should see the hosts table in innodb format.

    Now run your hosts management query in the web ui. What are the results.

    While we are at it (after you do the above test) we probably should convert the rest of the tables in case there are any joins going on in the queries and also to have a consistent db format.

    Run this query (copy and paste will be your friend here. You can paste the query in all in one go.

    ALTER TABLE LDAPServers ENGINE=InnoDB; ALTER TABLE clientUpdates ENGINE=InnoDB; ALTER TABLE dirCleaner ENGINE=InnoDB; ALTER TABLE globalSettings ENGINE=InnoDB; ALTER TABLE greenFog ENGINE=InnoDB; ALTER TABLE groupMembers ENGINE=InnoDB; ALTER TABLE groups ENGINE=InnoDB; ALTER TABLE history ENGINE=InnoDB; ALTER TABLE hookEvents ENGINE=InnoDB; ALTER TABLE hostAutoLogOut ENGINE=InnoDB; ALTER TABLE hostMAC ENGINE=InnoDB; ALTER TABLE hostScreenSettings ENGINE=InnoDB; ALTER TABLE hosts ENGINE=InnoDB; ALTER TABLE imageGroupAssoc ENGINE=InnoDB; ALTER TABLE imagePartitionTypes ENGINE=InnoDB; ALTER TABLE imageTypes ENGINE=InnoDB; ALTER TABLE images ENGINE=InnoDB; ALTER TABLE imagingLog ENGINE=InnoDB; ALTER TABLE inventory ENGINE=InnoDB; ALTER TABLE ipxeTable ENGINE=InnoDB; ALTER TABLE keySequence ENGINE=InnoDB; ALTER TABLE location ENGINE=InnoDB; ALTER TABLE locationAssoc ENGINE=InnoDB; ALTER TABLE moduleStatusByHost ENGINE=InnoDB; ALTER TABLE modules ENGINE=InnoDB; ALTER TABLE multicastSessions ENGINE=InnoDB; ALTER TABLE multicastSessionsAssoc ENGINE=InnoDB; ALTER TABLE nfsFailures ENGINE=InnoDB; ALTER TABLE nfsGroupMembers ENGINE=InnoDB; ALTER TABLE nfsGroups ENGINE=InnoDB; ALTER TABLE notifyEvents ENGINE=InnoDB; ALTER TABLE os ENGINE=InnoDB; ALTER TABLE oui ENGINE=InnoDB; ALTER TABLE plugins ENGINE=InnoDB; ALTER TABLE powerManagement ENGINE=InnoDB; ALTER TABLE printerAssoc ENGINE=InnoDB; ALTER TABLE printers ENGINE=InnoDB; ALTER TABLE pxeMenu ENGINE=InnoDB; ALTER TABLE scheduledTasks ENGINE=InnoDB; ALTER TABLE schemaVersion ENGINE=InnoDB; ALTER TABLE snapinAssoc ENGINE=InnoDB; ALTER TABLE snapinGroupAssoc ENGINE=InnoDB; ALTER TABLE snapinJobs ENGINE=InnoDB; ALTER TABLE snapinTasks ENGINE=InnoDB; ALTER TABLE snapins ENGINE=InnoDB; ALTER TABLE supportedOS ENGINE=InnoDB; ALTER TABLE taskLog ENGINE=InnoDB; ALTER TABLE taskStates ENGINE=InnoDB; ALTER TABLE taskTypes ENGINE=InnoDB; ALTER TABLE tasks ENGINE=InnoDB; ALTER TABLE userCleanup ENGINE=InnoDB; ALTER TABLE userTracking ENGINE=InnoDB; ALTER TABLE users ENGINE=InnoDB; ALTER TABLE virus ENGINE=InnoDB; ALTER TABLE wolbroadcast ENGINE=InnoDB;

    Now run the query again to see if I missed any tables.

    SELECT TABLE_NAME,ENGINE FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'fog' and ENGINE = 'MyISAM';

    If I missed any tables just create your own ALTER TABLE commands

    OK so why INNODB format over ISAM. There are many reasons but the most impactful is that ISAM has table locking on an update where INNODB only locks the row on an update. So when there is an update query for ISAM only one writer is allowed at a time for the entire table even if the second writer and the first writer are updating different rows in the table. INNODB only locks the row that is going to be changed leaving other processes to be able to write to other rows and move on. This change is most impactful when you have many FOG Client computers hitting the server every 5 minutes. SO since you are doing a read query when access the hosts via the web ui, this change may not have an impact at all. BUT we need to rule out ISAM as the performance drag on your system.

  • No configuration methods succeeded

    6
    0 Votes
    6 Posts
    2k Views
    S

    @wbilel There is an interesting hint in the new topic @jtappen opened: https://forums.fogproject.org/post/141287

    I’m sure I’ve seen your original error message too about no configuration methods. I can’t remember if this was solved via BIOS update - or if it was more switch-port related.

  • Fog for Dev - Save each capture in its own folder automatically.

    6
    0 Votes
    6 Posts
    642 Views
    S

    @wayne-workman said in Fog for Dev - Save each capture in its own folder automatically.:

    Research about FOG’s post download scripts.

    Sorry but those are only run on deploy, not on capture.

  • 'Target partition size(11 MB) is smaller than source(11 MB)' Sudden Issue

    4
    0 Votes
    4 Posts
    536 Views
    S

    @gbarron said in 'Target partition size(11 MB) is smaller than source(11 MB)' Sudden Issue:

    Thanks for the quick response and I 100% understand if we have to wait for logs to continue troubleshooting.

    Yeah sorry, can’t help you much without the partition layout files mentioned. Meanwhile can you take a picture of the error on screen and post that here. Just for reference. Sometimes there is something hidden in the screen that might help as well.

    You are right, it’s kinda strange this has worked before and now you get this error. Unfortunately my crystal ball runs out of energy… 😉

    I’m hoping to get access soon but technically I’m a temp right now so not sure.

    FOG is a hands on tool. Without access to the server via SSH your hands are pretty much tied up.

163

Online

12.3k

Users

17.4k

Topics

155.6k

Posts