• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG 1.6.0-beta.2644 DHCP

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    6 Posts 2 Posters 81 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jmeyer
      last edited by jmeyer

      Hello,
      I have installed FOG 1.6.0-beta.2644 with DHCP.
      I end with

      Setting up and starting DHCP Server (Kea)...................Failed
      Kea base configuration failed validation (kea-dhcp4 -t); see /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.2644.log
      

      Error logs :

      '/etc/kea/kea-dhcp4.conf' <-> '/etc/kea/kea-dhcp4.conf.1783500988' renommé
      Syntax check failed with: Unable to open file /etc/kea/kea-dhcp4.conf
      

      This break TFTP directory creation even with the -X option.

      Looks to come from Kea.

      root@FOGSERVERDEV:~/fogproject/bin# kea-dhcp4 -t /etc/kea/kea-dhcp4.conf
      Syntax check failed with: Unable to open file /etc/kea/kea-dhcp4.conf
      

      Temporary fix is to run a second time installfog.sh and put a # before “configureDHCP”.

      Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @jmeyer
        last edited by

        @jmeyer I’m trying ot take a look, but kea is a new thing since isc-dhcp has been deprecated and is nearing its potential EOL.

        So we moved toward KEA as the dhcp server, and while it has been added, I can attest I don’t have enough methods of testing.

        I suspect the issue is related to different OS baselines:

        (e.g. Fedora/RedHat stores config in /etc/kea, but Debian/ubuntu is deciding to store in /etc/kea-dhcp-server - or something I don’t know, just trying to show the issue)

        I’m working on trying to validate in the background.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott @jmeyer
          last edited by

          @jmeyer Can you please get me some more information?

          1. Is /etc/kea a real, populated directory? Right owner/perms?
            ls -ld /etc/kea; ls -la /etc/kea

          2. What’s the OS, and is a MAC layer confining kea-dhcp4?

          Debian/Ubuntu:

          cat /etc/os-release | head -2; aa-status 2>/dev/null | grep -i kea; dmesg 2>/dev/null | grep -i 'apparmor.*kea' | tail

          RHEL/Fedora:

          cat /etc/os-release | head -2; getenforce; ausearch -m avc -ts recent 2>/dev/null | grep -i kea | tail

          Plus the tail of the install error log around the DHCP step (/opt/fog/log/error_*.log or wherever the run pointed $error_log).

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          J 1 Reply Last reply Reply Quote 0
          • J
            jmeyer @Tom Elliott
            last edited by jmeyer

            @Tom-Elliott

            drwxr-x— 2 _kea _kea 4096 8 juil. 12:39 /etc/kea
            total 12
            drwxr-x— 2 _kea _kea 4096 8 juil. 12:39 .
            drwxr-xr-x 81 root root 4096 8 juil. 11:31 …
            -rw-rw-r-- 1 root root 2236 8 juil. 12:39 kea-dhcp4.conf

            PRETTY_NAME=“Debian GNU/Linux 13 (trixie)”
            NAME=“Debian GNU/Linux”
            kea-dhcp4
            kea-lfc
            /usr/sbin/kea-dhcp4 (938) kea-dhcp4

            I don’t have error log anymore.

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @jmeyer
              last edited by

              @jmeyer So this issue is fixed on the latest now is what you’re saying?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              J 1 Reply Last reply Reply Quote 0
              • J
                jmeyer @Tom Elliott
                last edited by

                @Tom-Elliott no, i have bypass dhcp configuration during install.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                106

                Online

                12.7k

                Users

                17.6k

                Topics

                156.7k

                Posts
                Copyright © 2012-2026 FOG Project