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

Installation woes: dhcp...Failed!

Scheduled Pinned Locked Moved Solved
FOG Problems
5
42
19.7k
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 @JJ Fullmer
    last edited by Dec 16, 2015, 8:11 PM

    @Arrowhead-IT said:

    Just so you know. The reason I chose not to use DHCP with FOG is because I had the mistaken assumption that FOG would automatically manage it in some way, or that the gui would have some control over it. It does not, you’ll be doing a bunch of manual configuration.

    I guess now is as good a time as ever to say I’m working on an add-on that does just this.

    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/

    J 1 Reply Last reply Dec 16, 2015, 9:04 PM Reply Quote 2
    • T
      Tom Elliott
      last edited by Dec 16, 2015, 8:16 PM

      I still feel this needs to be addressed.
      @Wayne-Workman said:

      @kbramhall Isolated subnet? Does it have an internet connection?

      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 0
      • K
        kbramhall @george1421
        last edited by Dec 16, 2015, 8:18 PM

        @george1421 I’ll give that a shot. Thanks

        T 1 Reply Last reply Dec 16, 2015, 8:22 PM Reply Quote 0
        • K
          kbramhall @JJ Fullmer
          last edited by Dec 16, 2015, 8:22 PM

          @Arrowhead-IT That is good to know. I am pretty sure all we need is to push IPs from a given IP pool to each of these devices.

          1 Reply Last reply Reply Quote 1
          • T
            Tom Elliott @kbramhall
            last edited by Dec 16, 2015, 8:22 PM

            @kbramhall All of this banter is going to go nowhere if the network you’re trying to install this thru does not have Internet access.

            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

            K 1 Reply Last reply Dec 16, 2015, 8:24 PM Reply Quote 1
            • K
              kbramhall @Tom Elliott
              last edited by Dec 16, 2015, 8:24 PM

              @Tom-Elliott If the FOG server is on-net with the devices won’t that make an internet connection unnecessary?

              T 1 Reply Last reply Dec 16, 2015, 8:25 PM Reply Quote 0
              • T
                Tom Elliott @kbramhall
                last edited by Dec 16, 2015, 8:25 PM

                @kbramhall YEs, but not during the installation process.

                The installer needs to download the files to do the install to begin with.

                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

                K 1 Reply Last reply Dec 16, 2015, 8:30 PM Reply Quote 1
                • K
                  kbramhall @Tom Elliott
                  last edited by Dec 16, 2015, 8:30 PM

                  @Tom-Elliott The CentOS machine currently has internet access that’s how I downloaded the installer.

                  T 1 Reply Last reply Dec 16, 2015, 8:32 PM Reply Quote 0
                  • T
                    Tom Elliott @kbramhall
                    last edited by Dec 16, 2015, 8:32 PM

                    I’m confused.

                    Are you downloading the installer, then disconnecting internet?

                    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
                    • T
                      Tom Elliott
                      last edited by Dec 16, 2015, 8:33 PM

                      Basically,

                      Does the internet work? Is it installing other packages, but failing to install dhcp?

                      I need clear concise answers.

                      Forgive my methods, but understand:

                      The CentOS machine has internet, it’s how I downloaded the installer, vs. The FOG Server is on Net with the clients, is not concise.

                      I’m assuming, at this point, the CentOS machine you are referring to is the same as your FOG Server?

                      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

                      K 2 Replies Last reply Dec 16, 2015, 8:41 PM Reply Quote 1
                      • K
                        kbramhall @Tom Elliott
                        last edited by Dec 16, 2015, 8:41 PM

                        @Tom-Elliott Sorry about that. Yes, the CentOS server is the what we’re running FOG on. I’ll just say FOG server moving forward to avoid any confusion. Yes it is successfully downloading other packages (httpd, php, php-cli, php-common, etc) but is not downloading the dhcp package. It has internet connectivity and will for the remainder of the setup. Once everything is up and running we’ll remove the internet connection and put it on an isolated subnet physically connected to the devices it needs to connect to.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kbramhall @Tom Elliott
                          last edited by Dec 16, 2015, 8:48 PM

                          @Tom-Elliott I attempted to go through the installer and saying no to DHCP and DNS but if failed to install tftp-server this time. Attached is the foginstall.log file.0_1450298881023_foginstall.log

                          J 2 Replies Last reply Dec 16, 2015, 9:00 PM Reply Quote 1
                          • G
                            george1421 Moderator
                            last edited by george1421 Dec 16, 2015, 3:02 PM Dec 16, 2015, 8:58 PM

                            To not add too much more noise to this thread. It looks like yum isn’t able to resolve the external repositories dns names.

                            On this fog server, you set a static IP address, did you remember to update /etc/resolv.conf with the DNS servers the FOG server will use to query for internet names?

                            Since you have direct internet access can you ping www.google.com? Or one of the repositories mirrors.gigenet.com?

                            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!

                            W K 2 Replies Last reply Dec 16, 2015, 9:01 PM Reply Quote 1
                            • J
                              JJ Fullmer Testers @kbramhall
                              last edited by Dec 16, 2015, 9:00 PM

                              @kbramhall Considering that you only just set this up, maybe it’s worth trying a different distro. I’ve had better experiences with ubuntu server and fog then cent OS. But I am more familiar with debian so I might be biased.
                              But maybe it’s an issue with the OS install.
                              What happens when you run

                              yum update
                              

                              ?
                              If that doesn’t seem to connect to anything, then
                              What does your resolv.conf say?

                              cat /etc/resolv.conf
                              

                              Might be a dns server thing. That’s sometimes the issue when you can’t seem to install a package

                              Have you tried the FogApi powershell module? It's pretty cool IMHO
                              https://github.com/darksidemilk/FogApi
                              https://fogapi.readthedocs.io/en/latest/
                              https://www.powershellgallery.com/packages/FogApi
                              https://forums.fogproject.org/topic/12026/powershell-api-module

                              K 1 Reply Last reply Dec 16, 2015, 9:44 PM Reply Quote 1
                              • W
                                Wayne Workman @george1421
                                last edited by Wayne Workman Dec 16, 2015, 3:02 PM Dec 16, 2015, 9:01 PM

                                @george1421 @Arrowhead-IT Good point. Right now I think we’ve got it narrowed down to either a DNS issue or a proxy issue.

                                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 2
                                • J
                                  JJ Fullmer Testers @Wayne Workman
                                  last edited by JJ Fullmer Dec 16, 2015, 3:04 PM Dec 16, 2015, 9:04 PM

                                  @Wayne-Workman said:

                                  @Arrowhead-IT said:

                                  Just so you know. The reason I chose not to use DHCP with FOG is because I had the mistaken assumption that FOG would automatically manage it in some way, or that the gui would have some control over it. It does not, you’ll be doing a bunch of manual configuration.

                                  I guess now is as good a time as ever to say I’m working on an add-on that does just this.

                                  @Wayne-Workman ooooh! I like that idea!

                                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                                  https://github.com/darksidemilk/FogApi
                                  https://fogapi.readthedocs.io/en/latest/
                                  https://www.powershellgallery.com/packages/FogApi
                                  https://forums.fogproject.org/topic/12026/powershell-api-module

                                  T 1 Reply Last reply Dec 16, 2015, 9:09 PM Reply Quote 1
                                  • T
                                    Tom Elliott @JJ Fullmer
                                    last edited by Dec 16, 2015, 9:09 PM

                                    @Arrowhead-IT, @Wayne-Workman, @kbramhall, @george1421 I notice a few issues in the log. First is a typo (Staring Redhat install) that has no impact. But further down line 1: …/lib/redhat/functions.sh n#: or something very similar. @kbramhall how set are you to using 1.2.0? Would you be willing to try trunk? I think it may help out tremendously in the install process. Of course please verify /etc/resolv.conf has the proper dns info.

                                    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

                                    K 1 Reply Last reply Dec 16, 2015, 9:47 PM Reply Quote 2
                                    • J
                                      JJ Fullmer Testers @kbramhall
                                      last edited by JJ Fullmer Dec 16, 2015, 3:21 PM Dec 16, 2015, 9:18 PM

                                      @kbramhall said:

                                      @Tom-Elliott I attempted to go through the installer and saying no to DHCP and DNS but if failed to install tftp-server this time. Attached is the foginstall.log file.0_1450298881023_foginstall.log

                                      I took a look at the install log and noticed this bit

                                      ../lib/redhat/functions.sh: line 1: n#: command not found
                                      

                                      I’ve seen that before. You need to both make sure that you’re running as the root user and make sure you’re running the install script from the bin folder.
                                      i.e. cd into where you downloaded/untarred the fog installer and then

                                      cd bin
                                      ./installfog.sh
                                      

                                      I figured out when making the automated update scripts that you can’t run it with the full path like
                                      /home/fog/installFoder/bin/installfog.sh
                                      because it use the trailing … to get to some included scripts. So you have to start the script from its happy home.

                                      Also, what happens when you try to install the packages that failed manually?
                                      I would try them one at a time. It looks like these ones…

                                      yum install tftp-server
                                      yum install xinetd
                                      yum install vsftpd
                                      yum install gcc
                                      yum install gcc-c++
                                      yum install lftp
                                      

                                      And I just had another thought, are you sure the firewall is completely disabled? I just remembered a recent experience where a fresh install cent OS wouldn’t do internet things until I flushed the iptables.
                                      Which if memory serves is

                                      iptables -F
                                      or
                                      iptables -f
                                      

                                      Hopefully something there helps

                                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                                      https://github.com/darksidemilk/FogApi
                                      https://fogapi.readthedocs.io/en/latest/
                                      https://www.powershellgallery.com/packages/FogApi
                                      https://forums.fogproject.org/topic/12026/powershell-api-module

                                      1 Reply Last reply Reply Quote 3
                                      • K
                                        kbramhall @george1421
                                        last edited by Dec 16, 2015, 9:41 PM

                                        @george1421 Yep, I can ping friendly names like mirrors.gigenet.com and google.com 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kbramhall @JJ Fullmer
                                          last edited by Dec 16, 2015, 9:44 PM

                                          @Arrowhead-IT As we’re troubleshooting I’m thinking it is definitely something with our internal networking configuration. The DNS servers we are using include google’s 4.2.2.2 and an internal DNS server.

                                          J 1 Reply Last reply Dec 16, 2015, 9:58 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            27/42
                                            Last post

                                          218

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project