• failing to install package php-mysqlnd

    Linux Problems
    5
    0 Votes
    5 Posts
    2k Views
    R

    Solved for me on Linux Mint 22.1

    The base problem is that php-mysqlnd is a “virtual package” that is included in the package php-mysql, and trying to install it individually (as the FOG install script does) fails with apt dumping a list of php mysql versions and that “You should explicitly select one to install.” Even if php-mysql is already installed.

    The solution for me was to remove php-mysqlnd as an install target in the FOG install scripts. As of this date, that includes:

    In file [fog install pkg path]/lib/ubuntu/config.sh:

    remove ‘php-mysqlnd’ from line 26 "packages="apache2[…]

    In the file [fog install pkg path]/lib/common/functions.sh:

    remove the lines

    php-mysql*) for phpmysql in $(echo php-mysqlnd php-mysql); do eval $packagelist "$phpmysql" >>$error_log 2>&1 if [[ $? -eq 0 ]]; then x=$phpmysql break fi done ;;
  • 0 Votes
    3 Posts
    982 Views
    M

    @george1421 Thank you so much! I enabled portfast on the switch port, and it works on physical PCs.

    Kernel panic - not syncing: VFS: Unable to mount root fs on "/dev/ram0" or unknown-block(1,0) Kernel Offset: disabled ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on "/dev/ram0" or unknown-block(1,0)

    But sometimes this error appears even if I haven’t changed anything in the configuration and files. Even if I update or roll back the init.xz or bzImage file to a previous version, it doesn’t help. The only thing that seems to work is setting up a completely new FOG server, but after some time, the problem can come back. How I can find right version or how I can solve this problem? Most time it error on PCs with UEFI

  • Printer not showing for non Admin User Accounts

    Unsolved Windows Problems
    1
    0 Votes
    1 Posts
    123 Views
    No one has replied
  • Dell Optiplex 7020: Multicast problem

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    882 Views
    No one has replied
  • Help needed for multiple Ubuntu desktops deployment

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    895 Views
    george1421G

    @uzee FOG doesn’t change or really step into the target system during deployment. You CAN do this if you write a post install script that will get called once the target image is deployed to the target computer. In the case of a linux computer you could potentially set the target computer’s name here by updating the /etc/hostname file or anything else you can do with a bash script. The FOG Client can also be configured to make changes to the target computer or install applications based on instructions from the fog server. Its really identifying what you want to do and how much automation you want to script. Its all possible with FOG and a little creativity on your end. Since you already know Ubuntu (linux) bending FOG to what you want will be easier than coming strictly from a MS Windows background.

  • multicast flow

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    844 Views
    S

    version is 1.5.10

  • Image capture issue from VM

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    866 Views
    U

    I was not able to figure out capturing the image from a VM, I decided to use an actual desktop as the master/golden image. It made more sense as it would include the right hardware type, drivers, etc. I have captured the image finally. Now on to deployment

  • Image sync Main / Master node

    Unsolved General
    1
    0 Votes
    1 Posts
    984 Views
    No one has replied
  • FOGBackup.sh does not back up the database

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    798 Views
    No one has replied
  • No Network Interfaces Found Error

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    862 Views
    george1421G

    @Ryxn I checked and that nic has been in the linux kernel for several years.

    And secondly when you checked for missing firmware the kernel wasn’t complaining about missing something.

    Its a good thing you were able to get the error while in debug mode. Because that was going to be the next quest for you. To get the system when its behaving badly.

    So when you get it into debug mode and its complaining about no nic lets do the following.

    ip a s should show if the network interface has an ip address, I’m going to suspect no because it complained about it earlier in the boot process.

    lspci -k -nn | more Look through this list until you find the entry. The number in the square brackets will be what you posted earlier. [8086&1502]. See if the nic is visible to the kernel. AND if it is it should mention what kernel driver its using. I’ll give you a for example using my laptop.

    0000:00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection ( 13) I219-V [8086:15fc] (rev 20) Subsystem: Dell Ethernet Connection (13) I219-V [1028:0a22] Kernel driver in use: e1000e Kernel modules: e1000e

    lastly if everything looks good, kernel sees the nic, there is a kernel driver assigned. Lets see if time fixes your problem.

    When you ran the ip a s command it listed all of the network interfaces and if it has IP addresses. You will need to know the interface name for your network adapter. It may be something like eno1 or ens192, or something else. Get that device name.

    Now run this command /sbin/udhcpc -i $iface --now replacing the whole word $iface with the device name listed from the ip command. This will tell the network adapter to again poll for an IP address from your dhcp server. If it picks up an IP address this time, then time does solve your problem and you will need to look into your network configuration and make sure that port-fast or fast-stp is enabled on your network port.

  • 0 Votes
    1 Posts
    550 Views
    No one has replied
  • FOG Dashboard showing wrong date of captured images?

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    687 Views
    No one has replied
  • Secure LDAP authentication

    General
    4
    0 Votes
    4 Posts
    1k Views
    AUTH IT CenterA

    @DBCountMan said in Secure LDAP authentication:

    Do I need to have a cert that is trusted by my domain’s root CA in the FOG’s root store?

    As far as I know, no.

    @DBCountMan said in Secure LDAP authentication:

    BTW the screenshot at the bottom of that thread you linked shows “Use LDAP SSL” but I do not have that option.

    The last screenshot is from the 1.6-alpha version of FOG Server.

    The screenshot in https://forums.fogproject.org/post/155590 is from the current stable 1.5.10.xxxx version and as you can see it uses 636 port.

  • Literally cant even run ./installfog.sh -_-

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    824 Views
    J

    @tacOS said in Literally cant even run ./installfog.sh -_-:

    I keep getting told to run “su -” or “sudo -i”, while and after having run one, the other, or BOTH. just the same error over and over.

    It’s a workaround but I managed to continue by editing installfog.sh and deleting the if-fi block that has this message. I think it’s using a very specific way of testing that might not work in every distro ( like the previous block that checks if the user ID is 0 to see if it’s root and it won’t work on distros that randomize the root’s ID). I’m working on Garuda Linux (Arch based), and I’ve hit another wall at the end with TFT but at least it’s installed.

  • Different distribution

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    452 Views
    No one has replied
  • 0 Votes
    1 Posts
    606 Views
    No one has replied
  • Del Pro 14 Premium PXE fails

    Hardware Compatibility
    9
    0 Votes
    9 Posts
    2k Views
    george1421G

    @Donutsrule5

    OK lets see if we can boot from a usb drive. This tutorial will instruct you on how to build a usb boot image. https://forums.fogproject.org/post/69606 the google drive link below will take you to step 7 in the thread.

    https://drive.google.com/file/d/1psCrPVzBTvlakLkCMvhdoScAEZp1CKE6/view?usp=drive_link

    Once you build the usb boot drive, take the kernel and init.xz from your current version of fog and replace the ones on the flash drive with the ones in from the FOG server. The files are in /var/www/html/fog/service/ipxe directory.

    Once you have the usb drive ready, pxe boot into the grub menu on the flash drive, then go into debug mode. After several pages of text you need to clear with the enter key you will be dropped at a fos linux command prompt. If you can get that far then fos linux is OK and the problem is probably with ipxe or the handoff between the two.

    If you want to image with the flash drive, schedule the task in the fog server BEFORE you usb boot and select option 1 from the menu. If you get it out of sequence you will get an error that says something about Null. Basically its saying you don’t have a task scheduled on the fog server so there is nothing to do. Lets see if we can get it to boot this way.

  • 0 Votes
    3 Posts
    546 Views
    F

    @Small0145 No, it’s not.

  • [BUG] iPXE Boot Loop & Menu Failure After FOG 1.5.10.1660 Upgrade

    Unsolved FOG Problems
    22
    0 Votes
    22 Posts
    3k Views
    S

    @george1421 said in [BUG] iPXE Boot Loop & Menu Failure After FOG 1.5.10.1660 Upgrade:

    If undionly.kpxe worked in bios mode then snp.efi should work in uefi mode

    Hi George, the BIOS claims its in UEFI mode but when booting it looks suspiciously like legacy (larger text etc). Its an old Viglin with a second generation i3 which is being retired this October so its not too much of a deal now I have a workaround.

  • Mellanox ConnectX 3 imaging issues.

    Unsolved FOG Problems
    6
    0 Votes
    6 Posts
    731 Views
    george1421G

    @aurfalien said in Mellanox ConnectX 3 imaging issues.:

    So all good here.

    Did FOS Linux have the driver enabled for that 10GbE card (i.e. were you able to image with FOG once you got past the iPXE menu)?

    FWIW: For uefi mode snp.efi or snponly.efi should work if undionly.kpxe worked in bios mode. I’m saying it should because ConnectX3 is a somewhat older card (circa 2017/2018).