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

Newbe Fog installation issue

Scheduled Pinned Locked Moved Solved
Linux Problems
7
35
5.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.
  • S
    Sebastian Roth Moderator
    last edited by Sep 11, 2018, 2:38 PM

    @mstumpo Which guide did you follow to install Ubuntu and FOG? Please take a picture of the screen where the install stopped. As wee take a look at the error_log/fog...1.5.4.log file and post the last 50 lines of that file here.

    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
    • R
      red_john @mstumpo
      last edited by Sep 12, 2018, 5:58 AM

      @mstumpo

      You might want to check out this guide:
      https://youtu.be/nKoqTvuOJpw

      It does a good job of explaining the installation process and the best practice for file partitons.

      1 Reply Last reply Reply Quote 0
      • M
        mstumpo
        last edited by Sep 12, 2018, 3:28 PM

        OK, so I went with CentOS, got that installed and installed Fog, however, when I go to the URL to complete the database initialization, I get 'Database connection unavailable. Fog was reinstalled without error but same issue. I provided a password for all requests for one and they are all the same. Not sure how to proceed.

        Q 1 Reply Last reply Sep 12, 2018, 3:50 PM Reply Quote 0
        • Q
          Quazz Moderator @mstumpo
          last edited by Sep 12, 2018, 3:50 PM

          @mstumpo Do you happen to know which version you’re trying to install?

          1.5.4 should be compatible with Ubuntu 18.04

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Wayne Workman Sep 12, 2018, 10:17 AM Sep 12, 2018, 4:16 PM

            The tests I have going use Ubuntu 18.04 Server, not desktop.
            There’s another issue open on github about this very thing I believe: https://github.com/FOGProject/fogproject/issues/261
            That guy’s answer was to add the universe repository. I guess Ubuntu desktop 18.04 doesn’t come with that repo enabled by default.

            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 1
            • S
              Sebastian Roth Moderator
              last edited by Sep 12, 2018, 9:28 PM

              @Wayne-Workman said in Newbe Fog installation issue:

              I guess Ubuntu desktop 18.04 doesn’t come with that repo enabled by default.

              When I did the testing with Ubuntu 18.04 server I ran into the missing universe section issue. Not sure about desktop though.

              @mstumpo said:

              OK, so I went with CentOS, got that installed and installed Fog, however, when I go to the URL to complete the database initialization, I get 'Database connection unavailable.

              Are you able to connect to the database via console command? Open a terminal on your FOG server and run mysql -u root -p. If your password is empty simply hit ENTER when it asks for a password.

              In case you cannot login make sure the database is actually running sudo systemctl status mysql

              In case you want/need to reset the DB password, find instructions here: https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password

              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

              W 1 Reply Last reply Sep 12, 2018, 11:40 PM Reply Quote 0
              • W
                Wayne Workman @Sebastian Roth
                last edited by Sep 12, 2018, 11:40 PM

                @Sebastian-Roth said in Newbe Fog installation issue:

                When I did the testing with Ubuntu 18.04 server I ran into the missing universe section issue. Not sure about desktop though.

                That is very strange. I didn’t add any repositories to my 18.04 server. I made sure vim and git were installed, and configured SSL the way my setup needs it, that was it. I do fully update the OS before very test run though.

                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
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Sep 13, 2018, 12:09 AM Sep 13, 2018, 6:08 AM

                  @Wayne-Workman said in Newbe Fog installation issue:

                  I didn’t add any repositories to my 18.04 server.

                  Maybe this has changed from 18.04 to 18.04.1??? Just a wild guess. Not sure if I am keen to try out. Not sure if there is anything in the setup causing that repository section to be added?!

                  @mstumpo Sorry we rumble on about such things in your topic. Stopping it now!

                  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
                  • D
                    danuel
                    last edited by Sep 16, 2018, 2:29 PM

                    For UBuntu 18.4.01 LTS + fogproject-1.5.4
                    Try Run this: 🙂

                    sudo echo "deb http://cz.archive.ubuntu.com/ubuntu bionic main universe" >> /etc/apt/sources.list
                    sudo apt-get update
                    sudo apt-get upgrade
                    sudo tar -xzvf fogproject-1.5.4.tar.gz
                    sudo cd fogproject-1.5.4/bin
                    sudo chmod 777 installfog,sh
                    sudo ./installfog.sh
                    

                    Now you are able to installation 🙂

                    O que está em baixo está certo!
                    O que está em cima está errado!

                    1 Reply Last reply Reply Quote 0
                    • M
                      mstumpo
                      last edited by Sep 17, 2018, 2:54 PM

                      OK, got Fog installed and can access the console on the local computer. However, when I attempt to PING or open the console from a remote station on the same subnet, I can’t do either. I am assuming it is a firewall issue on the local CentOS station. Not being familiar with Linux, I found the firewall dialog and enabled HTTP and TFTP, neither of which works. In addition, when booting a station to PXE, it gets an IP address, Subnet and gateway IP, but TFTP time out. Any thoughts please?

                      G 1 Reply Last reply Sep 17, 2018, 2:58 PM Reply Quote 0
                      • G
                        george1421 Moderator @mstumpo
                        last edited by Sep 17, 2018, 2:58 PM

                        @mstumpo There are two prerequisites that you need to do before installing fog or you will have pains later.

                        1. Disable the linux firewall. For centos the command are
                          systemctl disable firewalld
                          systemctl stop firewalld
                        2. Set selinux (akin to Windows UAC) to permissive. Edit the file /etc/selinux/config and change SELINUX=enforcing to SELINUX=permissive. Then reboot 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!

                        M 2 Replies Last reply Sep 17, 2018, 3:12 PM Reply Quote 0
                        • M
                          mstumpo @george1421
                          last edited by Sep 17, 2018, 3:12 PM

                          @george1421 OK, great. Thanks for the info. I’ll be there later today and will try this.

                          1 Reply Last reply Reply Quote 0
                          • M
                            mstumpo @george1421
                            last edited by Sep 17, 2018, 6:18 PM

                            @george1421 OK, those worked and I can now open the Fog console from my laptop. I still can’t get a computer to PXE boot to Fog server. TFTP now does not show timeout, goes right to Intel Agent exiting and boots windows 7.

                            G 1 Reply Last reply Sep 17, 2018, 6:27 PM Reply Quote 0
                            • G
                              george1421 Moderator @mstumpo
                              last edited by Sep 17, 2018, 6:27 PM

                              @mstumpo OK so what did you set dhcp options 66 and 67 to?

                              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!

                              M 1 Reply Last reply Sep 17, 2018, 6:31 PM Reply Quote 0
                              • M
                                mstumpo @george1421
                                last edited by Sep 17, 2018, 6:31 PM

                                @george1421 66 - 10.0.0.164 (fogserver IP) and 67 (undionly.kpxe).

                                G 1 Reply Last reply Sep 17, 2018, 6:34 PM Reply Quote 0
                                • G
                                  george1421 Moderator @mstumpo
                                  last edited by Sep 17, 2018, 6:34 PM

                                  @mstumpo Do you see it download (or appear to load) undionly.kpxe? You should see the fog menu if it does. Understand by default the fog menu has a very short timeout defined. So if you miss the menu, it will attempt to boot from the first hard drive.

                                  Also be aware that undionly.kpxe is for bios based systems, you need a uefi kernel ( ipxe.efi ) if your target computer is uefi based.

                                  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!

                                  M 1 Reply Last reply Sep 17, 2018, 6:37 PM Reply Quote 0
                                  • M
                                    mstumpo @george1421
                                    last edited by Sep 17, 2018, 6:37 PM

                                    @george1421 No, I did not. The test station is Windows 7 so the undionly.kpxe should be OK. There is no menu at all. Stations grabs IP information via PXE, TFTP line option goes by quickly and then Intel agent indicates exiting and Windows 7 boots.

                                    G 1 Reply Last reply Sep 17, 2018, 6:41 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @mstumpo
                                      last edited by Sep 17, 2018, 6:41 PM

                                      @mstumpo said in Newbe Fog installation issue:

                                      Intel agent indicates exiting

                                      OK this means that its still not grabbing the file. You should see the iPXE banner as it boots.

                                      From a windows computer, install the tftp client feature. Then from a dos command prompt key in tftp <fog_server_ip> GET undionly.kpxe I’m only interested in if it is downloading that file or not.

                                      Also is the target pxe computer on the same subnet as the FOG server and DHCP 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!

                                      M 1 Reply Last reply Sep 17, 2018, 6:50 PM Reply Quote 0
                                      • M
                                        mstumpo @george1421
                                        last edited by Sep 17, 2018, 6:50 PM

                                        @george1421 OK, I ran the command. Get Error on server : Permission denied. connect request failed.
                                        Yes, all stations, fog server, DHCP/DNS servers, etc. are on the same subnet.

                                        G 1 Reply Last reply Sep 17, 2018, 6:55 PM Reply Quote 0
                                        • G
                                          george1421 Moderator @mstumpo
                                          last edited by Sep 17, 2018, 6:55 PM

                                          @mstumpo Well this is an interesting one.

                                          1. Can you ping the fog server from the windows client?
                                          2. You may need to temporarily drop the windows firewall to make tftp work since it functions similarly to ftp with a command channel and a data channel back.
                                          3. On the fog server key in the following netstat -an|grep 69. You should see a line that looks like this:
                                          udp        0      0 0.0.0.0:69              0.0.0.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!

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            11/35
                                            Last post

                                          158

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project