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

Host status is unknow 2

Scheduled Pinned Locked Moved Solved
FOG Problems
2
9
1.0k
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 May 9, 2022, 6:14 AM May 9, 2022, 12:13 PM

    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
    • G
      george1421 Moderator
      last edited by May 9, 2022, 12:32 PM

      @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 May 9, 2022, 1:05 PM Reply Quote 0
      • E
        eliaspereira @george1421
        last edited by May 9, 2022, 1:05 PM

        @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?

        G 1 Reply Last reply May 9, 2022, 1:20 PM Reply Quote 0
        • G
          george1421 Moderator @eliaspereira
          last edited by May 9, 2022, 1:20 PM

          @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 May 9, 2022, 1:23 PM Reply Quote 0
          • E
            eliaspereira @george1421
            last edited by May 9, 2022, 1:23 PM

            @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.

            G 1 Reply Last reply May 9, 2022, 1:25 PM Reply Quote 0
            • G
              george1421 Moderator @eliaspereira
              last edited by May 9, 2022, 1:25 PM

              @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 May 9, 2022, 1:41 PM Reply Quote 0
              • E
                eliaspereira @george1421
                last edited by May 9, 2022, 1:41 PM

                @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.

                G 1 Reply Last reply May 9, 2022, 1:58 PM Reply Quote 0
                • G
                  george1421 Moderator @eliaspereira
                  last edited by May 9, 2022, 1:58 PM

                  @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 May 9, 2022, 2:11 PM Reply Quote 0
                  • E
                    eliaspereira @george1421
                    last edited by May 9, 2022, 2:11 PM

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

                    197

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project