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

    Fog Service does not start due to time-out

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    18
    4.6k
    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.
    • F
      Frank
      last edited by

      Server
      • FOG Version: 1.3.5-RC14
      • OS: Ubuntu 14.05
      Client
      • Service Version: 0.11.10
      • OS: Windows 10
      Description

      Sometimes Fog Service does not start, and in Events Viewer appears an error with code 7009 about time-out (30000 ms)while connecting with FOGService.
      I don’t know if it is actually a bug because perhaps is related to busy slow system.
      It could be useful if other people reports the same issue.

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

        I’ve heard of this happening on a few other locations, and we’ll probably ask for the client log located typically at c:\fog.log.

        I don’t know if we will have a solution to what’s described here, but at least we might be able to provide more information.

        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 0
        • F
          Frank
          last edited by

          0_1489580840910_fog.log
          Here goes fog.log file. Now its 13:27 here and you will see last time log is about 8:40. I’ve restarted the computer several times since and fog agent has not started due same timeout error.

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

            @Frank Is the host in some tasking currently scheduled on the FOG Server?

            I don’t think this would have anything to do with it, but the last message in the log appears to indicate there was a tasking given to it.

             15/03/2017 8:40 Service Sleeping for 171 seconds
             15/03/2017 8:41 Middleware::Communication URL: http://172.16.1.43/fog/service/jobs.php?mac=00:0E:0C:5E:17:AE||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
             15/03/2017 8:41 Middleware::Response Success
             15/03/2017 8:41 Power Creating shutdown request
             15/03/2017 8:41 Power Parameters: /r /c "TaskReboot" /t 0
             15/03/2017 8:41 Bus {
              "self": true,
              "channel": "Power",
              "data": "{\r\n  \"action\": \"shuttingdown\"\r\n}"
            }
             15/03/2017 8:41 Bus Emmiting message on channel: Power
            

            Is this still the case, or did the system properly restart, and this is when you noticed the issue with the “startup timeout”?

            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

            F 3 Replies Last reply Reply Quote 0
            • F
              Frank @Tom Elliott
              last edited by

              @Tom-Elliott Yes, it was an image capture, and it went ok, but agent has not started at boot time since that.

              1 Reply Last reply Reply Quote 0
              • J
                Joe Schmitt Senior Developer
                last edited by

                Is it only not starting after imaging? If so is your image syspreped? Did you follow the sysprep guide with client in the wiki?

                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.

                F 2 Replies Last reply Reply Quote 0
                • F
                  Frank @Tom Elliott
                  last edited by

                  @Tom-Elliott There is no task currently. The task indicated in log file was a capture, which finished ok. After that, fog agent has not started at boot time.

                  1 Reply Last reply Reply Quote 0
                  • F
                    Frank @Tom Elliott
                    last edited by

                    @Tom-Elliott I’ve optimized disk and agent have started at boot. So it seems strongly related to system performance. I’m goig to make another capture just to check.

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      Is it possible an Antivirus program is preventing startup of the client? (Just going on a wild guess 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! 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 0
                      • Wayne WorkmanW
                        Wayne Workman @Frank
                        last edited by

                        @Frank Please answer @Joe-Schmitt’s questions below - he’s the guy that wrote the fog 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
                        • F
                          Frank @Joe Schmitt
                          last edited by

                          @Joe-Schmitt The image is not syspreped. I have optimized disk, and after that agent have started again on boot. But after capturing image once again, problem have risen again, and agent does not start on boot.

                          1 Reply Last reply Reply Quote 0
                          • F
                            Frank @Joe Schmitt
                            last edited by

                            @Joe-Schmitt After a second boot, agent started. I guess it is a difficult issue to track.

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

                              @Frank Do you have an AV client on the system? (I’m just asking because I, too, want to figure out what’s happening.)

                              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

                              F 2 Replies Last reply Reply Quote 0
                              • F
                                Frank @Tom Elliott
                                last edited by

                                @Tom-Elliott Sorry for the delay. Nom client does not have any AV client but windows defender, that I have taken off the scheduler. I’m wondering if it’s something related to any driver. I’m going to apply latest patches and see what happens.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Frank @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Hi again.
                                  I’ve tested another (smaller) image and all the tests (capture, deploy, fog agent boot start) went ok. So I think it’s strongly related to client computer capabilities. I’m testing with an old HP dc5700 Core2 Duo 2 GB RAM. I guess there won’t be issues on a little newer computer.

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

                                    Just wondering if this is still a problem with newer versions of the 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! 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

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      Frank @Tom Elliott
                                      last edited by

                                      @Tom-Elliott I will try to test it with the old machine again.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        @Frank Is this still an issue with the newer client?

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

                                        203

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project