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

FOG Compatibility Test Failed

Scheduled Pinned Locked Moved Solved
Hardware Compatibility
7
71
35.0k
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.
  • W
    Wayne Workman @techlover28
    last edited by Feb 3, 2016, 1:13 PM

    @techlover28 It’s not pointing to 1.2.0.

    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!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    T 1 Reply Last reply Feb 4, 2016, 4:32 AM Reply Quote 0
    • W
      Wayne Workman @techlover28
      last edited by Feb 4, 2016, 4:08 AM

      @techlover28 Please update and try again, the changes I’ve made have been merged. Maybe it’s fixed now?

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • T
        techlover28 @Wayne Workman
        last edited by techlover28 Feb 3, 2016, 10:33 PM Feb 4, 2016, 4:32 AM

        @Wayne-Workman Sorry I should have downloaded and installed it instead of just looking at the text. I have downloaded it and trying to install it now.

        I am getting an error:

        Setting up and starting DHCP Server…/lib/common/functions.sh: line 1705: 255.255.255.0: command not found
        Failed!

        I think it should be something to do with GIT.

        T 1 Reply Last reply Feb 4, 2016, 4:39 AM Reply Quote 0
        • T
          techlover28 @techlover28
          last edited by Feb 4, 2016, 4:39 AM

          I am trying to make an understanding with GIT and going to try again installing version 6181 after setting GIT up.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Feb 4, 2016, 7:09 AM

            @techlover28 No I think there is a fix needed that @Wayne-Workman can shoot up pretty soon!

            In line 1705 instead of:

                        [[ -z $submask ]] && $( cidr2mask $(getCidr $interface))
            

            should be (I reckon):

                        [[ -z $submask ]] && $submask=$( cidr2mask $(getCidr $interface))
            

            You can edit this in your local files and test till you hear from Wayne.

            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

            T 1 Reply Last reply Feb 4, 2016, 8:20 AM Reply Quote 1
            • T
              techlover28 @Sebastian Roth
              last edited by Feb 4, 2016, 8:20 AM

              @Sebastian-Roth I have edited functions.sh file - replaced 1705 line.

              I am facing the same issue again.

              Setting up and starting DHCP Server…/lib/common/functions.sh: line 1705: =255.255.255.0: command not found
              Failed!

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Feb 4, 2016, 9:13 AM

                Sorry! Should be (remove $😞

                            [[ -z $submask ]] && submask=$( cidr2mask $(getCidr $interface))
                

                @george1421 You are absolutely right about people need to get enough sleep!

                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

                T 1 Reply Last reply Feb 4, 2016, 9:34 AM Reply Quote 1
                • T
                  techlover28 @Sebastian Roth
                  last edited by techlover28 Feb 4, 2016, 3:36 AM Feb 4, 2016, 9:34 AM

                  @Sebastian-Roth Thank you for the instant response.

                  I have edited it and removed the “$” symbol.

                  It has failed again.

                  Setting up and starting DHCP Server…Failed!

                  It seems that “dhcpd.conf” has the “option subnet-mask 255.255.255.0;” line in it. When I remove it, I am able to start the DHCPd service.

                  subnet 192.168.1.0 netmask 255.255.255.0{
                  option subnet-mask 255.255.255.0;
                  range dynamic-bootp 192.168.1.253 192.168.1.254;
                  default-lease-time 21600;
                  max-lease-time 43200;
                  
                  W 1 Reply Last reply Feb 4, 2016, 3:31 PM Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Feb 4, 2016, 9:52 AM

                    I have that option in my config too. Does not cause an issue?! I can’t see what’s wrong with it.

                    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

                    T 1 Reply Last reply Feb 4, 2016, 9:55 AM Reply Quote 0
                    • T
                      techlover28 @Sebastian Roth
                      last edited by techlover28 Feb 4, 2016, 3:56 AM Feb 4, 2016, 9:55 AM

                      @Sebastian-Roth I am not sure why it is causing the issue. When I remove it, DHCP service works, when I keep it, DHCP service does not come up.

                      May be because we are configuring mask (255.255.255.0) two times?

                      Q 1 Reply Last reply Feb 4, 2016, 10:04 AM Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth Feb 4, 2016, 3:58 AM Feb 4, 2016, 9:58 AM

                        @techlover28 Please take a look at your syslog while having the option in place and restarting dhcpd. Do tail -f /var/log/messages on one console and restart the service on another. See what error message comes up.

                        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

                        T 1 Reply Last reply Feb 4, 2016, 10:14 AM Reply Quote 1
                        • Q
                          Quazz Moderator @techlover28
                          last edited by Feb 4, 2016, 10:04 AM

                          @techlover28 That should not cause an issue, but I do note that in my dhcp configs there’s a space between netmask 255.255.255.0 and {

                          Might be irrelevant, but I’ve yet to see a valid config without that space.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Feb 4, 2016, 10:06 AM

                            @Quazz Thought about that too, but tested with and without space and it’s fine either way.

                            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 2
                            • T
                              techlover28 @Sebastian Roth
                              last edited by techlover28 Feb 4, 2016, 4:18 AM Feb 4, 2016, 10:14 AM

                              @Sebastian-Roth Ah! sorry. Behavior has changed from the previous versions. In previous version, it used to say “unrecognized command” or something (not sure about the exact errors) in messages.

                              But in the current version (6181), install.sh does fail on DHCP but not because of “options” thing. Should be something else. It doesn’t give the same error under messages which it used to in old version.

                              In fog_error_6181.log, we see this:

                              Shutting down dhcpd: ESC[60G[ESC[0;32m  OK  ESC[0;39m]
                              Starting dhcpd: ESC[60G[ESC[0;32m  OK  ESC[0;39m]
                              status: unrecognized service
                              

                              In messages, we see this:

                              Feb  4 15:30:18 Phoenix dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
                              Feb  4 15:30:18 Phoenix dhcpd: Wrote 0 class decls to leases file.
                              Feb  4 15:30:18 Phoenix dhcpd: Wrote 0 leases to leases file.
                              Feb  4 15:30:18 Phoenix dhcpd: Listening on LPF/em2/f8:bc:12:3b:48:3d/192.168.1.0/24
                              Feb  4 15:30:18 Phoenix dhcpd: Sending on   LPF/em2/f8:bc:12:3b:48:3d/192.168.1.0/24
                              Feb  4 15:30:18 Phoenix dhcpd: 
                              Feb  4 15:30:18 Phoenix dhcpd: No subnet declaration for em1 (10.201.6.176).
                              Feb  4 15:30:18 Phoenix dhcpd: ** Ignoring requests on em1.  If this is not what
                              Feb  4 15:30:18 Phoenix dhcpd:    you want, please write a subnet declaration
                              Feb  4 15:30:18 Phoenix dhcpd:    in your dhcpd.conf file for the network segment
                              Feb  4 15:30:18 Phoenix dhcpd:    to which interface em1 is attached. **
                              Feb  4 15:30:18 Phoenix dhcpd: 
                              Feb  4 15:30:18 Phoenix dhcpd: Sending on   Socket/fallback/fallback-net
                              Feb  4 15:35:50 Phoenix dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
                              Feb  4 15:35:50 Phoenix dhcpd: Copyright 2004-2010 Internet Systems Consortium.
                              Feb  4 15:35:50 Phoenix dhcpd: All rights reserved.
                              Feb  4 15:35:50 Phoenix dhcpd: For info, please visit https://www.isc.org/software/dhcp/
                              

                              It appears to be a system specific issue. I should be able to get rid of it soon.

                              W 1 Reply Last reply Feb 4, 2016, 2:31 PM Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Feb 4, 2016, 11:33 AM

                                Is this with “option subnet-mask”?? Looks ok from the logs I reckon:

                                Feb  4 15:30:18 Phoenix dhcpd: Listening on LPF/em2/f8:bc:12:3b:48:3d/192.168.1.0/24
                                Feb  4 15:30:18 Phoenix dhcpd: Sending on   LPF/em2/f8:bc:12:3b:48:3d/192.168.1.0/24
                                

                                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

                                T 1 Reply Last reply Feb 4, 2016, 3:31 PM Reply Quote 0
                                • Q
                                  Quazz Moderator
                                  last edited by Feb 4, 2016, 11:39 AM

                                  With option subnetmask included, could you run

                                  dhcpd -t -cf /path/to/dhcpd.conf
                                  

                                  And post the output here? (or on pastebin if it’s a lot)

                                  1 Reply Last reply Reply Quote 1
                                  • W
                                    Wayne Workman @techlover28
                                    last edited by Wayne Workman Feb 4, 2016, 8:36 AM Feb 4, 2016, 2:31 PM

                                    @techlover28 Can we see your entire dhcpd.conf file please?

                                    Also, dhcp ignoring interface em1 is fine, since you don’t want dhcp served on that network.
                                    But if you want that error to go away, just create a blank declaration for that interface’s network.

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      techlover28 @Sebastian Roth
                                      last edited by techlover28 Feb 4, 2016, 9:37 AM Feb 4, 2016, 3:31 PM

                                      @Sebastian-Roth @Sebastian-Roth Yes it is with “option subnet-mask”. But install.sh is still failing.

                                      A quick question, do “ldap” errors won’t affect the working of DHCP? I can ignore it then.

                                      @Quazz Please find the output below:

                                       # dhcpd -t -cf /etc/dhcp/dhcpd.conf
                                      Internet Systems Consortium DHCP Server 4.1.1-P1
                                      Copyright 2004-2010 Internet Systems Consortium.
                                      All rights reserved.
                                      For info, please visit https://www.isc.org/software/dhcp/
                                      Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
                                      

                                      @Wayne-Workman Please find the complete DHCPd.conf below:

                                      # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
                                      # This file was created by FOG
                                      #Definition of PXE-specific options
                                      # Code 1: Multicast IP Address of bootfile
                                      # Code 2: UDP Port that client should monitor for MTFTP Responses
                                      # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
                                      # Code 4: Number of seconds a client must listen for activity before trying
                                      #         to start a new MTFTP transfer
                                      # Code 5: Number of seconds a client must listen before trying to restart
                                      #         a MTFTP transfer
                                      option space PXE;
                                      option PXE.mtftp-ip code 1 = ip-address;
                                      option PXE.mtftp-cport code 2 = unsigned integer 16;
                                      option PXE.mtftp-sport code 3 = unsigned integer 16;
                                      option PXE.mtftp-tmout code 4 = unsigned integer 8;
                                      option PXE.mtftp-delay code 5 = unsigned integer 8;
                                      option arch code 93 = unsigned integer 16;
                                      use-host-decl-names on;
                                      ddns-update-style interim;
                                      ignore client-updates;
                                      next-server 192.168.1.1;
                                      # Specify subnet of ether device you do NOT want service.
                                      # For systems with two or more ethernet devices.
                                      # subnet 136.165.0.0 netmask 255.255.0.0 {}
                                      subnet 192.168.1.0 netmask 255.255.255.0{
                                          option subnet-mask 255.255.255.0;
                                          range dynamic-bootp 192.168.1.253 192.168.1.254;
                                          default-lease-time 21600;
                                          max-lease-time 43200;
                                          class "UEFI-32-1" {
                                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                                              filename "i386-efi/ipxe.efi";
                                          }
                                          class "UEFI-32-2" {
                                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                                              filename "i386-efi/ipxe.efi";
                                          }
                                          class "UEFI-64-1" {
                                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                                              filename "ipxe.efi";
                                          }
                                          class "UEFI-64-2" {
                                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                                              filename "ipxe.efi";
                                          }
                                          class "UEFI-64-3" {
                                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                                              filename "ipxe.efi";
                                          }
                                          class "Legacy" {
                                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                                              filename "undionly.kkpxe";
                                          }
                                      }
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Wayne Workman @techlover28
                                        last edited by Feb 4, 2016, 3:31 PM

                                        @Tom-Elliott @techlover28

                                        What’s wrong with this line?
                                        range dynamic-bootp 192.168.1.253 192.168.1.254;

                                        I would recommend we add 10 to the network base (in the ConfigureDHCP function) instead of 253.

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        T 1 Reply Last reply Feb 4, 2016, 3:33 PM Reply Quote 0
                                        • T
                                          techlover28 @Wayne Workman
                                          last edited by Feb 4, 2016, 3:33 PM

                                          @Wayne-Workman I believe that would be a right thing to do.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 4 / 4
                                          4 / 4
                                          • First post
                                            61/71
                                            Last post

                                          241

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project