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

Fog server refusing connection to clients

Scheduled Pinned Locked Moved Unsolved
Windows Problems
4
16
1.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.
  • G
    george1421 Moderator @george1421
    last edited by Mar 21, 2019, 12:47 PM

    @george1421 I was able to get the MDT server up and running.

    This is the install.cmd file for installing the FOG client in the Golden image before image capture. The only thing different from what you need to do is for the golden image we need to stop the fog service so that it doesn’t start running during WinSetup/OOBE.

    @Echo Off
    start /wait msiexec.exe /i FOGService.msi /quiet USETRAY="0" WEBADDRESS="192.168.1.53"
    net stop "FogService"
    sc config "FogService" start= disabled
    

    I can’t seem to find the firewall command, it was a firewall advanced command syntax. I’ll keep looking for a little bit, but not very long since it appears your systems are starting to chat in.

    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!

    S 1 Reply Last reply Mar 21, 2019, 2:26 PM Reply Quote 0
    • S
      Samuel1010 @george1421
      last edited by Samuel1010 Mar 21, 2019, 8:27 AM Mar 21, 2019, 2:26 PM

      @george1421

      Okay interesting, so on mine I have the batch file look for existing installations of FOG, if theres non then just run the MSI, seems to have worked for that one client, but theres no way of telling since registering on the fog server seems sporadic right now

      Also found the firewall things here;

      https://wiki.fogproject.org/wiki/index.php/Client_Setup#Firewall_Exceptions

      1 Reply Last reply Reply Quote 1
      • S
        Samuel1010
        last edited by Mar 22, 2019, 6:11 PM

        Appears I’ve got somewhere with this, now i’m having the following in my log

        Service ERROR: Input string was not in a correct format.
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Mar 23, 2019, 3:08 PM

          @Samuel1010 Please give us some more context. In which log do you see this error? Please post more information or possibly a picture of where you see this.

          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

          S 1 Reply Last reply Mar 29, 2019, 1:00 PM Reply Quote 0
          • S
            Samuel1010 @Sebastian Roth
            last edited by Mar 29, 2019, 1:00 PM

            @Sebastian-Roth

            Sorry for the late reply, had a catastrophe with our server and had to rebuild it.

            The only thing imported are the images and now I’m on Ubuntu.

            The log is on my Windows 7 PC in the user folder, this is the most recent after the server rebuild

            So what I’m expecting is having computers with the FOG client on, to be displayed in the hosts menu in FOG, but they arent listed, they get listed if I register them in PXE.

            My log is reading;

             3/29/2019 8:58 AM Service ERROR: Unable to parse sleep time
             3/29/2019 8:58 AM Service ERROR: Input string was not in a correct format.
             3/29/2019 8:58 AM Service Sleeping for 60 seconds
             3/29/2019 8:58 AM Bus::Client ERROR: No connection could be made because the target machine actively refused it
             3/29/2019 8:58 AM Bus::Client ERROR: No connection could be made because the target machine actively refused it
             3/29/2019 8:59 AM Middleware::Response Success
            
            ------------------------------------------------------------------------------
            ----------------------------------AutoLogOut----------------------------------
            ------------------------------------------------------------------------------
             3/29/2019 8:59 AM Client-Info Client Version: 0.11.16
             3/29/2019 8:59 AM Client-Info Client OS:      Windows
             3/29/2019 8:59 AM Client-Info Server Version: 
             3/29/2019 8:59 AM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            -----------------------------DefaultPrinterManager----------------------------
            ------------------------------------------------------------------------------
             3/29/2019 8:59 AM Client-Info Client Version: 0.11.16
             3/29/2019 8:59 AM Client-Info Client OS:      Windows
             3/29/2019 8:59 AM Client-Info Server Version: 
             3/29/2019 8:59 AM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            --------------------------------DisplayManager--------------------------------
            ------------------------------------------------------------------------------
             3/29/2019 8:59 AM Client-Info Client Version: 0.11.16
             3/29/2019 8:59 AM Client-Info Client OS:      Windows
             3/29/2019 8:59 AM Client-Info Server Version: 
             3/29/2019 8:59 AM Middleware::Response Success
             3/29/2019 8:59 AM DisplayManager ERROR: Invalid settings provided
            ------------------------------------------------------------------------------
             
            
             3/29/2019 8:59 AM Service ERROR: Unable to parse sleep time
             3/29/2019 8:59 AM Service ERROR: Input string was not in a correct format.
             3/29/2019 8:59 AM Service Sleeping for 60 seconds
             3/29/2019 8:59 AM Bus::Client ERROR: No connection could be made because the target machine actively refused it
             3/29/2019 8:59 AM Bus::Client ERROR: No connection could be made because the target machine actively refused it
            ```
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Mar 31, 2019, 4:20 PM

              @Samuel1010 said in Fog server refusing connection to clients:

              Service ERROR: Unable to parse sleep time

              I am wondering if your settings file is corrupt. Can you please take a look at C:\Program Files (x86)\FOG\settings.json and post the full contents 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

              S 1 Reply Last reply Apr 1, 2019, 12:13 PM Reply Quote 0
              • S
                Samuel1010 @Sebastian Roth
                last edited by Apr 1, 2019, 12:13 PM

                @Sebastian-Roth

                {
                  "HTTPS": "0",
                  "Tray": "1",
                  "Server": "fogserver",
                  "WebRoot": "/fog",
                  "Version": "0.11.16",
                  "Company": "FOG",
                  "RootLog": "1"
                }
                

                Just checked again on my hosts, still only showing the ones I’ve added via registration in pxe

                T 1 Reply Last reply Apr 1, 2019, 2:24 PM Reply Quote 0
                • T
                  Tom Elliott @Samuel1010
                  last edited by Apr 1, 2019, 2:24 PM

                  @Samuel1010 is there a dns entry for the name fogserver and does it point at your actual fogserver?

                  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

                  S 1 Reply Last reply Apr 1, 2019, 2:36 PM Reply Quote 0
                  • S
                    Samuel1010 @Tom Elliott
                    last edited by Apr 1, 2019, 2:36 PM

                    @Tom-Elliott

                    Yeah I have it under the A name in my DNS, the actual client for other computers uses IP as well, so both are being used

                    T 1 Reply Last reply Apr 1, 2019, 3:18 PM Reply Quote 0
                    • T
                      Tom Elliott @Samuel1010
                      last edited by Apr 1, 2019, 3:18 PM

                      @Samuel1010 Is the fogserver still configured with either selinux and/or firewall?

                      sudo sestatus
                      sudo iptables -L -n

                      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

                      S 1 Reply Last reply Apr 1, 2019, 5:39 PM Reply Quote 0
                      • S
                        Samuel1010 @Tom Elliott
                        last edited by Apr 1, 2019, 5:39 PM

                        @Tom-Elliott

                        Chain INPUT (policy ACCEPT)
                        target       prot  opt  source                     Destination 
                        
                        Chain FORWARD (policy ACCEPT)
                        target       prot  opt  source                     Destination 
                        
                        Chain OUTPUT (policy ACCEPT)
                        target       prot  opt  source                     Destination 
                        

                        For iptables. Appreciate the help on this!

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        1 / 1
                        • First post
                          15/16
                          Last post

                        241

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project