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

    Either DHCP failed or we were unable to access http://(ip)/fog//index.php for connection testing

    Scheduled Pinned Locked Moved
    General Problems
    3
    31
    2.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

      @kevinnew22 Try wget http://192.168.4.251/fog/index.php from that command line. Take another picture and post here.

      This is definitely a spanning tree issue from what we see in the picture! No IP on boot but DHCP picks up one when running a bit later.

      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 Reply Quote 1
      • george1421G
        george1421 Moderator @kevinnew22
        last edited by

        @kevinnew22 I agree with Sebastian that it is a problem with your network switch it time fixes the problem.

        When you boot no IP address, wait 60 seconds and then query for dhcp and get IP address. This is a flag that says original spanning tree is used.

        Another test would be to placed a very inexpensive (cheap) unmanaged switch between the pxe booting computer and the building network switch. If that fixes the problem then it is positive a spanning tree issue. You will need to turn on portfast or RSTP on those network ports.

        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
        • K
          kevinnew22 @Sebastian Roth
          last edited by kevinnew22

          @Sebastian-Roth Boa tarde, fiz alguns testes aqui tenho outra maquina na filial que possui um linux instalado, nela consigo baixar a pagina, mas no cliente Fog não.1.jpeg

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @kevinnew22
            last edited by george1421

            @kevinnew22 Can you ping the fog server [192.168.4.251] from this computer?

            I don’t know if that target computer has traceroute command but try too traceroute 192.168.4.251 to see what network route it takes to get to the 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!

            K 1 Reply Last reply Reply Quote 0
            • K
              kevinnew22 @george1421
              last edited by

              @george1421 Consigo sim

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @kevinnew22
                last edited by

                @kevinnew22 hmmm…
                You can ping the fog server at that address but wget fails? That is very strange.

                Will you show us a picture of this command ip addr show?

                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!

                K 1 Reply Last reply Reply Quote 0
                • K
                  kevinnew22 @george1421
                  last edited by

                  @george1421 aqui esta a foto do ping, ip addr show e traceroute.6.jpeg 4.jpeg 2.jpeg

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @kevinnew22
                    last edited by

                    @kevinnew22 Very good the pictures show complete connection.

                    I think I see what the problem is with your wget check.

                    The error was "bad address ‘http’ "
                    I see you typed http|//192.168.4.251/fog/index.php
                    Look at the pipe symbol ( | ) after the http instead of the colon ( : ) that should be there. That is why the wget was not happy. My guess is that the wget will work.

                    You are back to the problem that time fixes your network connection on this target computer. Please have your networking group look at the switch port this target computer is connected to. Make sure that RSTP is enabled.

                    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!

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kevinnew22 @george1421
                      last edited by

                      @george1421 Fiz certo agora, foto com o comando wget e configurações no switch, tenho varios desses switch.10.JPG 9.JPG 8.jpeg

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @kevinnew22
                        last edited by

                        @kevinnew22 said in Either DHCP failed or we were unable to access http://(ip)/fog//index.php for connection testing:

                        I think we have 2 errors here.

                        1. Lets just call it spanning tree that is keeping the target computer from getting an IP address.
                        2. The wget command.

                        For number 1
                        Do you have an unmanaged switch you can connect the target computer to and then connect the unmanaged switch to the building network switch. I see that RSTP is enabled, but for some reason its not working.

                        Is the dhcp server at the remote site?

                        For number 2
                        The wget command should respond with success. Is there some kind of firewall on the vpn tunnel that might stop http traffic but allow pings?

                        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!

                        K 1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @george1421 @kevinnew22 Seems like the wget commmand behaves a bit strange. I have just tried myself and it’s somehow awkward. Lets better try using curl:

                          curl -Ikfs http://192.168.4.251/fog/index.php
                          

                          Possibly there is some kind of webfilter or firewall between the host machine and your FOG server? Both are on different subnets.

                          As well I just noticed that you seem to have another node in your network as one of the pictures shows: storage=192.168.0.151:/shares/fog/

                          So there is a lot more than you’ve actually told us about. It seems to be a customized and more complex setup and we can’t properly help you if we don’t know all the details.

                          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 Reply Quote 0
                          • K
                            kevinnew22 @george1421
                            last edited by kevinnew22

                            @george1421 1: vou verificar novamente STP, 2: dhcp esta local, tenho Vlans também no meu cenário. exites firewall mas esta liberado os ips para acesso.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kevinnew22 @Sebastian Roth
                              last edited by

                              @Sebastian-Roth a foto abaixo com o comando pedido, sim esta personalizado com NÓ de rede esta com NAS da Seagate.11.jpeg

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @kevinnew22 Definitely a spanning tree issue. Try connecting a dumb mini switch in between and I am fairly sure you won’t see that error anymore on that machine.

                                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 Reply Quote 0
                                • K
                                  kevinnew22 @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth Certo vou fazer outros testes então.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kevinnew22 @Sebastian Roth
                                    last edited by

                                    @Sebastian-Roth Analisem a foto eu verifiquei que servidor WEB faz a troca automática se eu digitar http://192.168.4.251/fog/index.php para
                                    http://192.168.4.251/fog/management/index.php, e por algum motivo no client do fog nao esta redirecionando anisem a foto por favor .12.JPG

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      @kevinnew22 In the scripts we use curl which does work out of the box! I am sure this is a spanning tree issue. I won’t repeat this anymore.

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

                                      152

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project