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

Fog http wrong

Scheduled Pinned Locked Moved
FOG Problems
2
10
483
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
    bnstv
    last edited by bnstv May 11, 2021, 10:17 AM May 11, 2021, 4:08 PM

    I am getting the DCHP filed or we were unable to access http://192.168.5.123/fog//index.php but that is the wrong IP. I have checked the /tftpboot/default.ipxe and it is correct in there. I also checked /opt/fog/.fogsettings and it is set correct in there as well. These were suggested in another thread here https://forums.fogproject.org/topic/14025/fog-http-server-not-updating-after-ip-change/5

    After changing, I reran the install as well based on the wiki on IP change

    Is there a change I am missing?

    B 1 Reply Last reply May 11, 2021, 4:34 PM Reply Quote 0
    • B
      bnstv @bnstv
      last edited by May 11, 2021, 4:34 PM

      @bnstv Update:
      I discovered where I missed the change for the IP but I am still getting the error just with my new IP address

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by May 11, 2021, 5:04 PM

        @bnstv Please post a picture of the error on screen. Which version of FOG do you use?

        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

        B 1 Reply Last reply May 11, 2021, 5:48 PM Reply Quote 1
        • B
          bnstv @Sebastian Roth
          last edited by bnstv May 11, 2021, 11:51 AM May 11, 2021, 5:48 PM

          @sebastian-roth
          Currently running fog 1.5.8 but I do see there is 1.5.9 out. Every time I try to add the picture I get an error that just says error so I put it in a google drive and will link it here

          https://drive.google.com/file/d/1NU18ZsnI_dnfn2nFDc4XlhYrx7sel_lG/view?usp=sharing

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by May 11, 2021, 7:09 PM

            @bnstv At the end it tells you “Press enter to continue”. Please do so to hopefully get to a shell. Run the following commands, take a picture again:

            ip a s
            ping -c 1 192.168.15.xx
            curl -v http://192.168.15.xx/fog//index.php >/dev/null
            

            Use the correct FOG server IP instead of 192.168.15.xx.

            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

            B 1 Reply Last reply May 12, 2021, 3:35 PM Reply Quote 1
            • B
              bnstv @Sebastian Roth
              last edited by May 12, 2021, 3:35 PM

              @sebastian-roth unfortunately I do not get shell after pressing enter. This is what I get instead

              fog1.png fog2.png

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by May 13, 2021, 5:41 PM

                @bnstv Just took another look at the pictures. It keeps saying no lease, failing. This I would think is telling us the client does not get an IP from the DHCP server. We know you have a DHCP in your network and it is working because otherwise you wouldn’t be able to PXE boot up to that point (unless you do manual USB booting - which I think you would have told us).

                So question is, why does it get an IP from the DHCP at the first PXE boot steps. Often this is due to spanning tree or energy saving capability of the network driver. Please connect a dumb mini switch between the client machine and your build switch/network plug and try again.

                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

                B 1 Reply Last reply May 13, 2021, 6:30 PM Reply Quote 1
                • B
                  bnstv @Sebastian Roth
                  last edited by May 13, 2021, 6:30 PM

                  @sebastian-roth correct, this has been pxe booting and not done manually through usb. Putting in the dumb mini switch got past that. Thank you!

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by May 13, 2021, 8:48 PM

                    @bnstv said in Fog http wrong:

                    Putting in the dumb mini switch got past that. Thank you!

                    Nice, so talk to your networking colleagues to see if they can play with the switch settings. Let them set the port to “port fast” (this is what it is called in Cisco switches, not sure about others) and disable energy saving (EEE) on this port your client is connected to. Do it one setting after the other to find out which one is causing the issue.

                    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

                    B 1 Reply Last reply May 17, 2021, 3:31 PM Reply Quote 1
                    • B
                      bnstv @Sebastian Roth
                      last edited by May 17, 2021, 3:31 PM

                      @sebastian-roth said in Fog http wrong:

                      port fast

                      Thank you! I jumped in the switch and enabled port fast and that has taken care of the problem. Thank you for all your help!

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

                      168

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project