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

    User Tracker not working

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    2.9k
    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.
    • Polii123P
      Polii123
      last edited by

      Server
      • FOG Version: 1.3.0-RC-36
      • OS: Debian 7
      Client
      • Service Version: 0.11.7
      • OS: Windows 7
      Description

      Hi

      I never used the User Tracker before but today I looked at the login history and not a single host has an entry. I then checked the log on one host but i couldn’t find any errors.

      
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:57 Client-Info Client Version: 0.11.7
       16.12.2016 11:57 Client-Info Client OS:      Windows
       16.12.2016 11:57 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:57 Middleware::Response Success
      ------------------------------------------------------------------------------
      
       16.12.2016 11:57 Service Sleeping for 138 seconds
       16.12.2016 11:59 Middleware::Communication URL: http://fogagh01/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       16.12.2016 11:59 Middleware::Response Success
       16.12.2016 11:59 Middleware::Communication URL: http://fogagh01/fog/management/index.php?sub=requestClientInfo&mac=54:EE:75:3E:0C:DA||00:00:00:00:00:00:00:E0&newService&json
       16.12.2016 11:59 Middleware::Response Success
       16.12.2016 11:59 Middleware::Communication URL: http://fogagh01/fog/service/getversion.php?clientver&newService&json
       16.12.2016 11:59 Middleware::Communication URL: http://fogagh01/fog/service/getversion.php?newService&json
      
       16.12.2016 11:59 Service Creating user agent cache
       16.12.2016 11:59 Middleware::Response Invalid time
       16.12.2016 11:59 Middleware::Response No Printers
       16.12.2016 11:59 Middleware::Response Module is disabled globally on the FOG server
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response Success
       16.12.2016 11:59 HostnameChanger Checking Hostname
       16.12.2016 11:59 HostnameChanger Hostname is correct
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response No snapins
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response No Printers
       16.12.2016 11:59 PrinterManager Getting installed printers
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response Success
       16.12.2016 11:59 PowerManagement Calculating tasks to unschedule
       16.12.2016 11:59 PowerManagement Calculating tasks to schedule
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       16.12.2016 11:59 Client-Info Client Version: 0.11.7
       16.12.2016 11:59 Client-Info Client OS:      Windows
       16.12.2016 11:59 Client-Info Server Version: 1.3.0-RC-36
       16.12.2016 11:59 Middleware::Response Success
      -----------------------------------------------------```
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Polii123
        last edited by

        @Polii123 http://stackoverflow.com/questions/8843776/mysql-table-is-marked-as-crashed-and-last-automatic-repair-failed

        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

        Wayne WorkmanW 1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Check your apache error logs, also I’m pinging @Tom-Elliott.

          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/

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

            @Wayne-Workman Pinging me for what?

            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
            • Polii123P
              Polii123
              last edited by

              Apache error doesn’t show anything

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Polii123
                last edited by

                @Polii123 Just to verify if the db really has no user tracking data in it, try to select the data manually.

                mysql -D fog
                select * from userTracking;
                quit
                

                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/

                Tom ElliottT Polii123P 2 Replies Last reply Reply Quote 1
                • Tom ElliottT
                  Tom Elliott @Wayne Workman
                  last edited by

                  @Wayne-Workman I think user tracking module is globally disabled which would be why it’s not creating entries. I ran through some pretty heavy tests. While I did see some, issues in reporting on logout, it did track logins. Sometimes logout worked others it didn’t
                  I don’t think it is server related as if I recall correctly the logout return is kind of a “beat the clock” thing.

                  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
                  • J
                    Joe Schmitt Senior Developer
                    last edited by

                    @Tom-Elliott Logout is not “beat the clock”. User tracker’s code has not changed since sometime around 0.10.0.

                    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 1
                    • Polii123P
                      Polii123 @Wayne Workman
                      last edited by

                      @Wayne-Workman

                      ERROR 144 (HY000): Table ‘./fog/userTracking’ is marked as crashed and last (automatic?) repair failed

                      Seems to be the issue, how can I fix that?

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

                        @Polii123 http://stackoverflow.com/questions/8843776/mysql-table-is-marked-as-crashed-and-last-automatic-repair-failed

                        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

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                        • Polii123P
                          Polii123
                          last edited by

                          Thanks! It’s working now.

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

                            @Tom-Elliott This would have worked too: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Repair_broken_database

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

                            171

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project