• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Tom Elliott
    3. Best
    • Profile
    • Following 27
    • Followers 83
    • Topics 141
    • Posts 19,399
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Multicast: "No Active Task found for Host" on 1.5.10.2482 despite #1391 — msClients stays 0

      @Mikeee89 Thanks for the detailed report. It pointed straight at the cause.

      Cause: when udp-sender exits, the multicast manager closed the session and marked every host’s task Complete at the same time. The clients were still post-processing (UUID reset, NTFS flag, hostname). So when each client then reported back, its task was already gone: “No Active Task found for Host”. The imaging log row stayed open, which is where the “2026 years” duration comes from. This came in with the fix for #820.

      Fix: the manager still closes the session when the sender exits, but now leaves each host’s task for that host to close itself. PR #1776 (dev-branch), #1777 (working-1.6). I reproduced your exact error against a copy of a 1.5.10 database, and the patched code returns success and closes the imaging log.

      On your other observations:

      • msClients is reset to 0 when a session completes, so 0 after the run is expected. -2 is the marker for a session created from Image Management, not a counter underflow.
      • The multicast.log.udpcast.<id> file is deleted at the end of every session, and has been for years. That is a separate question, not part of this bug.
      • “has been killed” is printed even when the sender exited by itself. The wording is misleading, but nothing is actually killed.

      Once it merges, update to the latest dev-branch and the task should close normally.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Starting and checking status of web services................Failed!

      @robertkwild Something else is already listening on port 80, so Apache cannot start:

      (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
      

      FOG needs port 80 (and 443) for itself. Find what holds it:

      sudo ss -ltnp 'sport = :80'
      

      The hostname suggests this box was a Clonezilla/DRBL server, so it is likely a web server left from that, or nginx/lighttpd from an earlier attempt. Stop and disable that service (for example sudo systemctl disable --now nginx), then re-run the installer.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: could not load the secure boot enrollment menu

      @robertkwild Thanks for the screenshot. That error is a bug in the installer, not in your DHCP options.

      020c618f means the FOG web server answered HTTP 401 for mmx64.efi. On a fresh install, the installer copies MokManager into the web folder before it downloads the Secure Boot files, so mmx64.efi is never there.

      To fix it now, run the installer one more time. The second run finds the downloaded file and copies it. Then pick “Enroll Secure Boot Key” again.

      To confirm before you re-run, check that this file is missing:

      ls -l /var/www/html/fog/service/secureboot/mmx64.efi
      

      Tracked in https://github.com/FOGProject/fogproject/issues/1868.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: LDAP broken since upgrade to 1.6

      @rogalskij To answer your two questions directly:

      How does FOG know to use only ITStaff? The LDAP Group is that reference. Create an LDAP Group named ITStaff on your server, and give it a role on its Role Association tab. The Group Search DN only tells FOG where to look for groups. When a user signs in, FOG checks which of your LDAP Groups the user belongs to. A user in none of them gets no access.

      That check runs only when Group Matching is ticked on the LDAP server. Please confirm it is ticked. When it is off, every account that can bind to your AD can sign in, and gets the fallback role (Technician by default).

      Username: yes. Set User Name Attribute on the server to sAMAccountName, and users sign in with their plain AD username.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: LDAP broken since upgrade to 1.6

      @rogalskij Glad to be of help and your finding did notice an issue that was also addressed on the dev-branch so thank you!

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG Agent on new image PC not communicating with server

      @rogalskij The host shows the agent enrolled, but it has not checked in since you approved it. On 0.1.24, two things cause that.

      • Audit mode. If this PC is a reference machine in audit mode, or has not finished OOBE, the agent waits on purpose. It does nothing until Windows setup finishes. Check HKLM\SYSTEM\Setup\State\ImageState. Any value other than IMAGE_STATE_COMPLETE means the agent is waiting. It starts by itself after Sysprep and OOBE complete. You can capture the image with the agent in it. On each deployed PC, the agent sees a different hardware identity. It drops the reference machine’s certificate and enrolls as itself.
      • An http:// server address. The server knows the agent only by its client certificate, and that works only over https. With an http:// address, enrollment works, but every check-in after approval fails. Install the 0.1.25 MSI by hand: it switches an http:// address to https:// on its own. Or reinstall with SERVER=https://your-server/fog.

      C:\ProgramData\FOG\fog-agent.log tells you which one it is. “Windows setup has not finished” means the first. “server refused this certificate” means the second. Please post that log if neither line is there.

      Two side notes. The agent opens no listening port, so it needs no firewall rule. The “No such device or address” ping status is the server failing to resolve the host name. It is not related to the agent.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • 1
    • 2
    • 128
    • 129
    • 130
    • 131
    • 132
    • 132 / 132