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

Fog client does not add printers

Scheduled Pinned Locked Moved
FOG Problems
2
11
848
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
    btoffolon
    last edited by Nov 4, 2021, 2:53 PM

    Hi,

    I try to add my network printers with fog for my computers, so i create evrything i need on Windows Server and when i add printer manually its working.

    But i try to add the printers automaticly with the fog client but it’s not working i don’t understand why.

    I put the computer log file here :

    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:33 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:33 Client-Info Client OS:      Windows
     04/11/2021 15:32:33 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:33 Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:34 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:34 Client-Info Client OS:      Windows
     04/11/2021 15:32:34 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:34 Middleware::Response ERROR: Unable to get subsection
     04/11/2021 15:32:34 Middleware::Response ERROR: Object reference not set to an instance of an object.
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:34 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:34 Client-Info Client OS:      Windows
     04/11/2021 15:32:34 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:34 Middleware::Response ERROR: Unable to get subsection
     04/11/2021 15:32:34 Middleware::Response ERROR: Object reference not set to an instance of an object.
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:34 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:34 Client-Info Client OS:      Windows
     04/11/2021 15:32:34 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:34 Middleware::Response ERROR: Unable to get subsection
     04/11/2021 15:32:34 Middleware::Response ERROR: Object reference not set to an instance of an object.
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:34 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:35 Client-Info Client OS:      Windows
     04/11/2021 15:32:35 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:35 Middleware::Response ERROR: Unable to get subsection
     04/11/2021 15:32:35 Middleware::Response ERROR: Object reference not set to an instance of an object.
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:35 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:35 Client-Info Client OS:      Windows
     04/11/2021 15:32:35 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:35 Middleware::Response ERROR: Unable to get subsection
     04/11/2021 15:32:35 Middleware::Response ERROR: Object reference not set to an instance of an object.
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     04/11/2021 15:32:35 Client-Info Client Version: 0.12.0
     04/11/2021 15:32:35 Client-Info Client OS:      Windows
     04/11/2021 15:32:35 Client-Info Server Version: 1.5.9
     04/11/2021 15:32:35 Middleware::Response ERROR: Unable to get subsection
     04/11/2021 15:32:35 Middleware::Response ERROR: Object reference not set to an instance of an object.
     04/11/2021 15:32:35 Service Sleeping for 61 seconds
     04/11/2021 15:33:36 Middleware::Communication URL: http://10.255.41.42/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     04/11/2021 15:33:38 Middleware::Response Success
     04/11/2021 15:33:38 Middleware::Communication URL: http://10.255.41.42/fog/management/index.php?sub=requestClientInfo&mac=C8:9C:DC:F8:DD:BD||00:00:00:00:00:00:00:E0&newService&json
     04/11/2021 15:33:40 Middleware::Authentication Waiting for authentication timeout to pass
    

    I think its maybe need an authentification with the adminastrator credentials from the domain but i don’t know where i can put them ?

    Someone can help me ?

    Thanks !

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 4, 2021, 4:16 PM

      @btoffolon The communication between fog-client and FOG server is definitely not working right. Though I can’t tell you why because we are missing some essential information from the logs. You posted a fair amount of the log but the actual error that is causing the problem ist missing. Please post more of the log file.

      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

      B 1 Reply Last reply Nov 5, 2021, 7:17 AM Reply Quote 0
      • B
        btoffolon @Sebastian Roth
        last edited by Nov 5, 2021, 7:17 AM

        @sebastian-roth Thanks for you answer, here the complete log file.

        Thanks for your help

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Nov 5, 2021, 9:13 AM

          @btoffolon In the logs I found the following:

          04/11/2021 14:08:56 Middleware::Response Invalid security token

          Looks like a “simple hickup” in the communication between FOG server and fog-client because it worked just fine before that error. Please go to the FOG web UI open this particular host’s settings and click the “Resetz Encryption Data” button. This should fix it.

          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

          B 1 Reply Last reply Nov 5, 2021, 10:26 AM Reply Quote 0
          • B
            btoffolon @Sebastian Roth
            last edited by Nov 5, 2021, 10:26 AM

            @sebastian-roth Badly it’s not working, but i don’t have log since yesterday with this host.
            i had printer on a other hosts and try the same thing but it doesn’t work either and the log file does not have log since. I’m in a domain and some users can’t add printers, maybe i need to add credentials somewhere ? i deploy my computers with active directory integration and it’s works so i thought that was enought but maybe i forget something.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Nov 5, 2021, 12:24 PM

              @btoffolon said in Fog client does not add printers:

              i had printer on a other hosts and try the same thing but it doesn’t work either and the log file does not have log since.

              Well if you don’t see new logs coming in it might mean the FOGService is not running on this system. Check the Windows services list to see if it’s running.

              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

              B 1 Reply Last reply Nov 8, 2021, 9:50 AM Reply Quote 0
              • B
                btoffolon @Sebastian Roth
                last edited by Nov 8, 2021, 9:50 AM

                @sebastian-roth Hi,
                I check and the service is shutdown, when i try to start it i have an error from windows it said :

                Windows couldn’t start the service FogService on the local computer.
                Error 1068 : The service or dependency group couldn’t start

                I search on the event viewer and i get this error :

                Nom du journal :System
                Source :       Service Control Manager
                Date :         08/11/2021 10:39:46
                ID de l’événement :7001
                Catégorie de la tâche :Aucun
                Niveau :       Erreur
                Mots clés :    Classique
                Utilisateur :  N/A
                Ordinateur :   SSRV-P01.D-JDARC.local
                Description :
                Le service FOGService dépend du service Service de la passerelle de la couche Application qui n’a pas pu démarrer en raison de l’erreur : 
                Le service ne peut pas être démarré parce qu’il est désactivé ou qu’aucun périphérique activé ne lui est associé.
                XML de l’événement :
                <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
                  <System>
                    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
                    <EventID Qualifiers="49152">7001</EventID>
                    <Version>0</Version>
                    <Level>2</Level>
                    <Task>0</Task>
                    <Opcode>0</Opcode>
                    <Keywords>0x8080000000000000</Keywords>
                    <TimeCreated SystemTime="2021-11-08T09:39:46.388306000Z" />
                    <EventRecordID>7565</EventRecordID>
                    <Correlation />
                    <Execution ProcessID="536" ThreadID="1944" />
                    <Channel>System</Channel>
                    <Computer>SSRV-P01.D-JDARC.local</Computer>
                    <Security />
                  </System>
                  <EventData>
                    <Data Name="param1">FOGService</Data>
                    <Data Name="param2">Service de la passerelle de la couche Application</Data>
                    <Data Name="param3">%%1058</Data>
                  </EventData>
                </Event>
                

                Maybe you have already seen this ?

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Nov 8, 2021, 12:30 PM

                  @btoffolon I haven’t seen that happening before. Seems like the so called Service Control Manager (SCM) is having an issue on this machine?!

                  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

                  B 2 Replies Last reply Nov 8, 2021, 4:21 PM Reply Quote 0
                  • B
                    btoffolon @Sebastian Roth
                    last edited by Nov 8, 2021, 4:21 PM

                    @sebastian-roth i will make son tests, i have others models of computers i come back to you. Thanks

                    1 Reply Last reply Reply Quote 0
                    • B
                      btoffolon @Sebastian Roth
                      last edited by Nov 15, 2021, 4:22 PM

                      @sebastian-roth hi,
                      does the fog client use an user ? my computers are on a domain maybe the service can’t launch because the user used is not allowed ?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Nov 16, 2021, 12:46 AM

                        @btoffolon The fog-client (FOGService) is run as local SYSTEM account.

                        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

                        241

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project