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

    Host status is unknow 2

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    9
    931
    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.
    • E
      eliaspereira
      last edited by eliaspereira

      hi,

      I have searched the forum and found a few topics, but none of them solved the problem.

      The logs show that everything is ok, but anyway, it still shows that the host is unknown.

      Your version of FOG is up to date.
      You're running the latest stable version: 1.5.9
      Versões do kernel
      bzImage Version: 5.10.71
      bzImage32 Version: 5.10.71
      

      0be47397-6bfe-47e5-9c5c-ee241998af4a-image.png

      ping

      root@fogserver:/opt/fog/service/etc# ping 10.10.4.119
      PING 10.10.4.119 (10.10.4.119) 56(84) bytes of data.
      64 bytes from 10.10.4.119: icmp_seq=1 ttl=127 time=0.770 ms
      64 bytes from 10.10.4.119: icmp_seq=2 ttl=127 time=0.796 ms
      64 bytes from 10.10.4.119: icmp_seq=3 ttl=127 time=0.715 ms
      64 bytes from 10.10.4.119: icmp_seq=4 ttl=127 time=0.770 ms
      ^C
      --- 10.10.4.119 ping statistics ---
      4 packets transmitted, 4 received, 0% packet loss, time 2997ms
      rtt min/avg/max/mdev = 0.715/0.762/0.796/0.044 ms
      

      telnet on 445 port

      root@fogserver:/opt/fog/service/etc# telnet 10.10.4.119 445
      Trying 10.10.4.119...
      Connected to 10.10.4.119.
      Escape character is '^]'.
      

      tail on pinghost.log

      root@fogserver:/opt/fog/service/etc# tail -f /opt/fog/log/pinghost.log 
      [05-09-22 8:51:01 am]  * Attempting to ping 369 hosts
      [05-09-22 8:51:01 am]  * All hosts updated
      [05-09-22 8:56:01 am]  * FOG Web Host IP: 200.132.218.150
      [05-09-22 8:56:01 am]  * This servers ip(s)
      [05-09-22 8:56:01 am]  |	127.0.0.1
      [05-09-22 8:56:01 am]  |	127.0.1.1
      [05-09-22 8:56:01 am]  |	200.132.218.150
      [05-09-22 8:56:01 am]  |	fogserver.sertao.ifrs.edu.br
      [05-09-22 8:56:01 am]  * Attempting to ping 369 hosts
      [05-09-22 8:56:01 am]  * All hosts updated
      
      [05-09-22 9:01:01 am]  * FOG Web Host IP: 200.132.218.150
      [05-09-22 9:01:01 am]  * This servers ip(s)
      [05-09-22 9:01:01 am]  |	127.0.0.1
      [05-09-22 9:01:01 am]  |	127.0.1.1
      [05-09-22 9:01:01 am]  |	200.132.218.150
      [05-09-22 9:01:01 am]  |	fogserver.sertao.ifrs.edu.br
      [05-09-22 9:01:01 am]  * Attempting to ping 369 hosts
      [05-09-22 9:01:01 am]  * All hosts updated
      

      Any ideas?

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

        @eliaspereira Ok this issue is totally a name resolution issue based on the testing you have done so far.

        FOG uses port 445 to query the target system.

        So to start debugging this see if you can ping lab04pc02 If unable to resolve the name lab04pc02 (as named in the fog host definition) then that is your problem. Depending on the linux distro you use you need to use the network manager application to point the FOG Server’s DNS server value towards you internal DNS resolver. So that the FOG server can map lab04pc02 to an IP address.

        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!

        E 1 Reply Last reply Reply Quote 0
        • E
          eliaspereira @george1421
          last edited by

          @george1421 said in Host status is unknow 2:

          @eliaspereira Ok this issue is totally a name resolution issue based on the testing you have done so far.

          FOG uses port 445 to query the target system.

          So to start debugging this see if you can ping lab04pc02 If unable to resolve the name lab04pc02 (as named in the fog host definition) then that is your problem. Depending on the linux distro you use you need to use the network manager application to point the FOG Server’s DNS server value towards you internal DNS resolver. So that the FOG server can map lab04pc02 to an IP address.

          Hello @george1421 , Thank you for your help!

          Can I set fog to ping the IP address instead of the domain name?

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

            @eliaspereira No fog is configured to only use the hostname because often the IP address is assigned by dhcp.

            How many computers are you trying to manage here?

            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!

            E 1 Reply Last reply Reply Quote 0
            • E
              eliaspereira @george1421
              last edited by

              @george1421 said in Host status is unknow 2:

              @eliaspereira No fog is configured to only use the hostname because often the IP address is assigned by dhcp.

              Ok.

              How many computers are you trying to manage here?

              Over 365 computers.

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

                @eliaspereira OK, lets find out a bit more about your network setup.

                1. What device is your dhcp server?
                2. Can you resolve the computers by DNS?
                3. Are the host names registered in FOG match the physical host name on the target computer?

                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!

                E 1 Reply Last reply Reply Quote 0
                • E
                  eliaspereira @george1421
                  last edited by

                  @george1421 said in Host status is unknow 2:

                  @eliaspereira OK, lets find out a bit more about your network setup.

                  1. What device is your dhcp server?

                  We use pfsense as firewall and dhcp server.

                  1. Can you resolve the computers by DNS?

                  Now, yes. I configured the samba4 AD DNS on resolv.conf from fogserver.

                  1. Are the host names registered in FOG match the physical host name on the target computer?

                  Yes.

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

                    @eliaspereira So does it work now that you fixed name resolution on 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!

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      eliaspereira @george1421
                      last edited by

                      @george1421 said in Host status is unknow 2:

                      @eliaspereira So does it work now that you fixed name resolution on the FOG server?

                      At first, yes.

                      Thanks again for the great help!!!

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post

                      181

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project