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

Host management page show red exclamation for all hosts

Scheduled Pinned Locked Moved Solved
FOG Problems
client hostname ping
5
8
3.3k
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.
  • C
    chris.dees
    last edited by Jun 15, 2017, 2:43 AM

    Server
    • FOG Version: 1.40
    • OS: Ubuntu 16
    Client
    • Service Version: latest
    • OS: win 10 and 7
    Description

    I have a working FOG setup. I can ip boot and everything, the problem I am having is with the server(Linux) being able to ping and talk to the windows PCs in my domain. From the server, I can ping any IP address but if I try and ping a host name I get: unknown host
    From Windows machines, I can ping the server by IP and Hostname(added a dns entry to ping by hostname)
    I have dug around looking at the resolvconf files and if I open my /etc/resolv.conf file, It is:
    nameserver 127.0.0.1
    Search my-domain
    Nameserver my main DNS server

    If I delete the first line, I am then able to ping all of the windows machines. But of course this file is overwritten every few hours so that won’t work.

    I am using dnsmasq since our voip phone system uses option 66 and 67.

    I am only assuming that the hosts show up as red with an exclamation because the server can’t ping the clients hostname. Is this correct? Is there something I missed? Anything I can try?

    G 1 Reply Last reply Jun 15, 2017, 9:36 AM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jun 15, 2017, 8:51 AM

      @chris-dees Ever since Ubuntu 12.04 the DNS configuration is managed by resolveconf, NetworkManager and dnsmasq. More details see here, here and 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
      • G
        george1421 Moderator @chris.dees
        last edited by george1421 Jun 15, 2017, 3:37 AM Jun 15, 2017, 9:36 AM

        @chris.dees said in Host management page show red exclamation for all hosts:

        nameserver 127.0.0.1

        Dnsmasq is doing this to you. Or more precisely the ubuntu startup script for dnsmasq is doing this to you. @Quazz posted about this a while ago. The dnsmasq startup script is not honoring the flag in the config file to not have dnsmasq act as a dns server.

        ref: https://forums.fogproject.org/topic/7193/ubuntu-14-04-lts-with-dnsmasq-no-external-dns

        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!

        C 1 Reply Last reply Jun 16, 2017, 2:42 AM Reply Quote 0
        • O
          oldirtdog
          last edited by Jun 15, 2017, 12:33 PM

          I am getting this same thing… however, when I ping the hostname of a windows machine on my network, it replies just fine… my resolve.conf shows both of my local DNS servers and my default domain. I can ping google.com just fine as well. What’s strange is it was working just fine before I rebooted the FOG server. After the reboot, now I have red !'s on all of my hosts. Is there something I need to do to refresh them?

          T 1 Reply Last reply Jun 15, 2017, 12:40 PM Reply Quote 0
          • T
            Tom Elliott @oldirtdog
            last edited by Jun 15, 2017, 12:40 PM

            @oldirtdog, @chris-dees Can you check the status of the FOG Ping service?

            systemctl -l status FOGPingHosts
            

            Can you provide the logs for the PingHosts service?

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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

            O 1 Reply Last reply Jun 15, 2017, 12:50 PM Reply Quote 0
            • O
              oldirtdog @Tom Elliott
              last edited by Jun 15, 2017, 12:50 PM

              @Tom-Elliott I am using Ubuntu 14.04 so, systemctl isn’t used… however, Service FOGPingHosts status shows it is running

              1 Reply Last reply Reply Quote 0
              • C
                chris.dees @george1421
                last edited by Jun 16, 2017, 2:42 AM

                @george1421 I think I fixed my issue. I wasn’t able to delete the nameserver 127.0.0.1 line but by modifying the resolv.conf.d/ head file, I was able to insert our local DNS nameserver to the top of the file. Hosts came up green after that. Now, After a whole 24hours and a reboot, all my hosts are still showing green. I have tried to boot to ip yet, is this a good fix or would this mess up dnsmasq at all?

                G 1 Reply Last reply Jun 16, 2017, 10:20 AM Reply Quote 0
                • G
                  george1421 Moderator @chris.dees
                  last edited by Jun 16, 2017, 10:20 AM

                  @chris.dees If it works for you, then it was the right fix. Run with it.

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

                  156

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project