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

Fail install on DHCP service installation 1.3.x

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
1.3k
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.
  • B
    bakgat
    last edited by Jan 19, 2016, 3:22 PM

    Hi,

    I’ve cloned fogproject through git. When I run install, the installation fails on starting up dhcp server (I’ve asked to install dhcp service as well)

    This is the error:

    /lib/common/functions.sh: line 238: let: octet4+=: syntaxerror: operator expected
    Could not find DHCP file
    

    (I’ve translated from dutch, so I hope the error is clear)-

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jan 19, 2016, 9:51 AM Jan 19, 2016, 3:50 PM

      @Developers

      In your fog trunk directory: lib/common/functions.sh

      Line 1501

      Change it from:

      [[ -z $startrange ]] && startrange=$(addToAddress $network)
      

      To:

      [[ -z $startrange ]] && startrange=$(addToAddress $network 10)
      

      @bakgat You can do this manually if you want to get going right now, or you can wait for the next developmental push, which will likely be sometime today.

      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/

      B 1 Reply Last reply Jan 20, 2016, 8:02 AM Reply Quote 0
      • B
        bakgat
        last edited by Jan 20, 2016, 8:00 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • B
          bakgat @Wayne Workman
          last edited by Jan 20, 2016, 8:02 AM

          @Wayne-Workman
          Thank you for the solution.
          I’ve added this manually. The error about the expected operator is clearly solved.

          But now I get

          Could not find dhcp config file
          

          when Fog tries to start DHCP

          W 1 Reply Last reply Jan 20, 2016, 2:34 PM Reply Quote 0
          • W
            Wayne Workman @bakgat
            last edited by Wayne Workman Jan 20, 2016, 8:35 AM Jan 20, 2016, 2:34 PM

            @bakgat First look inside of /var/log You should see some files in there with the name fog_error_[version].log Errors from the installer are redirected to these files. Post the last few lines of those files (or the whole log). It’ll help with figuring out what’s going on.

            The dhcp configuration file on CentOS 7 / Fedora it’s located at /etc/dhcp/dhcpd.conf
            You might also try to install dhcp manually. on CentOS 7 and Fedora 19-21 you’d use yum install dhcp, on Fedora 22 and up it’s dnf install dhcp

            You might also see what is written for start and end ranges inside of /opt/fog/.fogsettings if that file exists.

            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
            • 1 / 1
            1 / 1
            • First post
              4/5
              Last post

            124

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project