• 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.1k
    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.
    • S
      Samuel1010 @george1421
      last edited by Samuel1010

      @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

        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

          @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 Reply Quote 0
          • S
            Samuel1010 @Sebastian Roth
            last edited by

            @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

              @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 Reply Quote 0
              • S
                Samuel1010 @Sebastian Roth
                last edited by

                @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

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Samuel1010
                  last edited by

                  @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 Reply Quote 0
                  • S
                    Samuel1010 @Tom Elliott
                    last edited by

                    @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

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Samuel1010
                      last edited by

                      @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 Reply Quote 0
                      • S
                        Samuel1010 @Tom Elliott
                        last edited by

                        @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
                        • First post
                          Last post

                        185

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project