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

FOGService can't contact FOGServer

Scheduled Pinned Locked Moved Solved
Windows Problems
7
17
5.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.
  • B
    brizio
    last edited by Joe Schmitt Jun 16, 2015, 8:45 AM Jun 16, 2015, 10:47 AM

    Dear Support team,
    we are facing a weird issue today.
    We have been using FOG (version 1.2.0 on CENTOS 6.6) for several months so far; few days ago we installed it into a new LAB made up by 60 Pc.
    When we installed the FOGService on the source PC the service can’t access the FOG host (server ip is 192.168.1.254).
    The weird thing is that if we access the server from a browser (http://192.168.1.254/fog) we can successfully see all the fog webapp pages.

    The FOG Log is:

    11/06/2015 16.35 FOG::GUIWatcher Starting GUI Watcher...
     11/06/2015 16.35 FOG::HostnameChanger Starting hostname change process...
     11/06/2015 16.35 FOG::HostnameChanger Yielding to other subservices for 9 seconds.
     11/06/2015 16.35  * Starting FOG.HostRegister
     11/06/2015 16.35 FOG::HostRegister Starting host registration process...
     11/06/2015 16.35  * Starting FOG.MODDebug
     11/06/2015 16.35 FOG::MODDebug Start Called
     11/06/2015 16.35 FOG::MODDebug Sleeping for 100 Seconds
     11/06/2015 16.35  * Starting FOG.PrinterManager
     11/06/2015 16.35  * Starting FOG.SnapinClient
     11/06/2015 16.35 FOG::PrinterManager Starting interprocess communication process...
     11/06/2015 16.35 FOG::SnapinClient Starting snapin client process...
     11/06/2015 16.35  * Starting FOG.TaskReboot
     11/06/2015 16.35 FOG::PrinterManager  interprocess comm startup: OK
     11/06/2015 16.35 FOG::TaskReboot Taskreboot in lazy mode.
     11/06/2015 16.35  * Starting FOG.UserCleanup
     11/06/2015 16.35 FOG::TaskReboot Starting Task Reboot...
     11/06/2015 16.35  * Starting FOG.UserTracker
     11/06/2015 16.35 FOG::UserCleanup Sleeping for 15 seconds.
     11/06/2015 16.35 FOG::UserTracker Starting user tracking process...
     11/06/2015 16.35 FOG::SnapinClient Sleeping for 462 seconds.
     11/06/2015 16.35 FOG::DisplayManager Attempting to connect to fog server...
     11/06/2015 16.35 FOG::HostRegister Attempting to connect to fog server...
     11/06/2015 16.35 FOG::PrinterManager Attempting to connect to fog server...
     11/06/2015 16.35 FOG::UserTracker Attempting to connect to fog server...
     11/06/2015 16.35 FOG::HostRegister Failed to connect to fog server!
     11/06/2015 16.35 FOG::HostRegister Impossibile effettuare la connessione al server remoto.
     11/06/2015 16.35 FOG::HostRegister    in System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
       in System.Net.WebClient.DownloadString(Uri address)
       in FOG.HostRegister.registerHost()
     11/06/2015 16.35 FOG::HostRegister Sleeping for 1 minute.
     11/06/2015 16.35 FOG::DisplayManager Failed to connect to fog server!
     11/06/2015 16.35 FOG::DisplayManager Impossibile effettuare la connessione al server remoto.
     11/06/2015 16.35 FOG::DisplayManager    in System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
       in System.Net.WebClient.DownloadString(Uri address)
       in FOG.DisplayManager.doWork()
     11/06/2015 16.35 FOG::DisplayManager Sleeping for 1 minute.
     11/06/2015 16.35 FOG::UserTracker Failed to connect to fog server!
     11/06/2015 16.35 FOG::UserTracker Impossibile effettuare la connessione al server remoto.
     11/06/2015 16.35 FOG::PrinterManager Sleeping for 1 minute.
     11/06/2015 16.35 FOG::UserTracker    in System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
       in System.Net.WebClient.DownloadString(Uri address)
       in FOG.UserTracker.track()
     11/06/2015 16.35 FOG::UserTracker Sleeping for 1 minute.
     11/06/2015 16.35 FOG::HostnameChanger Attempting to connect to fog server...
    

    (sorry but some words are in italian; Impossibile effettuare la connessione al server remoto means “Impossible to contact the remote server”).

    We try to reinstall the service with a different users, we ran the installer as Administrator, we removed windows firewall, disable the antivirus, uninstall all the software but without any luck.

    Another weird thing is that if we deploy an image used into another LAB, the FOGService starts normally and it can access the server.

    Can someone help us?

    C 1 Reply Last reply Jun 16, 2015, 12:46 PM Reply Quote 0
    • T
      Tim.Trageser
      last edited by Jun 16, 2015, 12:21 PM

      I am going to go out on a limb and make a suggestion. If you can use the same image in a different LAB and the FOGService is able to connect then you should compare the Network path between each Lab to the FOG Server. It sounds like something is different.

      1 Reply Last reply Reply Quote 1
      • C
        ch3i Moderator @brizio
        last edited by Jun 16, 2015, 12:46 PM

        @brizio Hi, your lab is on the same VLAN than the server ? (I’ve seen that you can access over http) I tell you that to ensure you have not ACL between your FOG server and your lab.

        1 Reply Last reply Reply Quote 0
        • B
          brizio
          last edited by Jun 16, 2015, 4:15 PM

          Few details to add:

          • all the 60 Pc labs are on the same network portion: they are plugged to 3 HP Procurve Switch they access the Campus WAN via a small router (192.168.1.1);
          • the Fog Server is phisically in the lab, connected to the first HP switch;
          • if i install another win7 image on any of these 60 Pc then the FogService installed there can access the FogServer
          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Wayne Workman Jun 16, 2015, 11:32 AM Jun 16, 2015, 5:30 PM

            Sometimes it takes a few reboots for the client to connect. It has to get a certificate from the FOG server in order to trust the server… so it takes a few reboots.

            If that doesn’t work, uninstall the FOG Client Service and just reinstall and give SPECIAL care in ensuring you type in the FOG IP correctly (don’t use the name).

            You’ll also want all the services on the client (during install) turned on.

            Another thing to check is the client firewall… and maybe even anti virus.

            You’ll know the client is successfully connected / authenticated when you see “Hello FOG Client” in the log (using the legacy client).

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • B
              brizio
              last edited by Jun 16, 2015, 7:26 PM

              I’ve tried everything.
              I removed the antivirus, disabled the firewall, uninstalled and reinstalled the Service (the IP address was correct). I uninstalled all the additional software too (skype, vlc, chrome, etc…).
              I also tried to sniff traffic using Whireshark: I noticed that the client never starts the TCP connection to the server…

              1 Reply Last reply Reply Quote 0
              • J
                Joe Schmitt Senior Developer
                last edited by Jun 16, 2015, 8:18 PM

                Mind uploading the ini file in the etc folder of the client installation?

                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.

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman
                  last edited by Jun 16, 2015, 10:09 PM

                  Which installer are you using? the MSI or the EXE ?

                  I’ve always used the MSI.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • B
                    brizio
                    last edited by Jun 17, 2015, 5:54 AM

                    Usually I use the “classic” setup.exe.
                    But this time I tried both.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Trevelyan
                      last edited by Jun 17, 2015, 8:19 AM

                      What happens if you go to “Services” and then restart the FOG service there?

                      Also - are you using SSDs :)?

                      1 Reply Last reply Reply Quote 0
                      • B
                        brizio
                        last edited by brizio Jun 17, 2015, 2:29 AM Jun 17, 2015, 8:28 AM

                        Thanks Trevelyan; we actually restarted the Service several time but without luck: the behaviour was the same (unable to contact the fogserver).
                        We don’t use SSD drive neither on server or client.

                        I’m wondering if it could be something related to the .NET libraries or to some other kind of restriction on the Microsoft side…

                        1 Reply Last reply Reply Quote 0
                        • T
                          Trevelyan
                          last edited by Jun 17, 2015, 9:36 AM

                          Are you using an ip or a hostname? Maybe the FOG client isn’t using the right IP?

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Jun 17, 2015, 10:13 AM

                            Does the fog server have a Firewall running that’s blocking web access? I know, you can’t get to the GUI if the firewall is blocking port 80, but I wonder if the system(s) you’re using to access the GUI are located on the same subnet, and that subnet is allowed through the firewall.

                            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

                            1 Reply Last reply Reply Quote 1
                            • W
                              Wayne Workman
                              last edited by Jun 17, 2015, 12:05 PM

                              We should go into basic troubleshooting-mode for this one…

                              Does any computer’s fog client contact the server?

                              Can you move a problematic computer to the same switch that FOG is connected to and try that?

                              Can you try a different patch cable?

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • B
                                brizio
                                last edited by Jun 17, 2015, 12:12 PM

                                Dear Wayne,
                                thank you for your support.
                                If I deploy another image on the same client PC it can succesfully connect to the FOG server (so i don’t think is a problem on the switch or on the cable).
                                I’ve tried from several PC, some of them are on the same switch that FOG is connected to and some of them are connected to another switch; but the issue remains.

                                W 1 Reply Last reply Jun 17, 2015, 12:33 PM Reply Quote 0
                                • W
                                  Wayne Workman @brizio
                                  last edited by Jun 17, 2015, 12:33 PM

                                  @brizio said:

                                  Dear Wayne,
                                  thank you for your support.
                                  If I deploy another image on the same client PC it can succesfully connect to the FOG server (so i don’t think is a problem on the switch or on the cable).
                                  I’ve tried from several PC, some of them are on the same switch that FOG is connected to and some of them are connected to another switch; but the issue remains.

                                  If other FOG Clients can successfully contact the FOG server, then it must be something with that particular image on that particular model.

                                  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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    brizio
                                    last edited by Jun 17, 2015, 1:15 PM

                                    Yes, Wayne; I guess so…
                                    We spent a couple of days recreating a new image from scratch and it’s working: we’ll use that.

                                    Thanks everybody for the support.

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

                                    172

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project