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

    Printers installations suddenly stopped working

    Scheduled Pinned Locked Moved
    Windows Problems
    2
    8
    2.4k
    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.
    • C
      chrisfanning
      last edited by

      Hi,

      We’ve got lots of win7 32bit clients booting with FOG. Thankyou so much for the project.

      We have about 50 PC’s (all the same model) in five different branches (5 fog servers). All of a sudden, in all of the networks, the printers stopped installing themselves. (very occasionally one random client will install the printers correctly).

      We haven’t touched the fog server setup and it had been working fine for over a year, so I’m thinking this might be because of a windows update?

      Any ideas?
      And please, how do I debug this?

      Thanks.
      Chris.

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

        Lets start with one system.

        Make sure that system has FOG Client installed.

        Make sure that system has the Service enabled on the Host, and of course it (should already be) needs to be enabled on the server.

        Add a printer to the System in the Web GUI. Make sure it’s a valid printer. If using network style printing (\someprinterserver\someprintername) Make sure the server is accessible and that printer is on the server.

        Then open command prompt as Administrator (Right click, run as Administrator)

        In the command prompt type:

        [code]net stop “FOG Service”
        echo > c:\fog.log
        net start “FOG Service”[/code]

        Then (I typically use command prompt to read it) open up the file c:\fog.log

        In command prompt you can do:
        [code]type c:\fog.log[/code]

        It will be updating and, unfortunately, I haven’t found a windows tail command equivalent, so I just hit up arrow and enter to reenter the type command so i can view the information as it’s being inserted.

        Search for the PrinterManager stuff and it should give you any error’s or messages of what’s going on.

        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
        • C
          chrisfanning
          last edited by

          Thanks for getting back Tim,

          Ok, I sat down at one client and booted it 4 time. 3 times printer installation fails, and 1 success.
          I’m at a loss.
          Chris.

          Here are the two logs
          *********** fail ***********
          06/02/2014 9:01 FOG Service Engine Version: 3
          06/02/2014 9:01 Starting all sub processes
          06/02/2014 9:01 14 modules loaded
          06/02/2014 9:01 * Starting FOG.AutoLogOut
          06/02/2014 9:01 * Starting FOG.SnapinClient
          06/02/2014 9:01 FOG::ClientUpdater Starting client update process…
          06/02/2014 9:01 FOG::ClientUpdater Sleeping for 433 seconds.
          06/02/2014 9:01 FOG::AutoLogOut Starting process…
          06/02/2014 9:01 * Starting FOG.DirCleaner
          06/02/2014 9:01 FOG::DirCleaner Sleeping for 36 seconds.
          06/02/2014 9:01 * Starting FOG.DisplayManager
          06/02/2014 9:01 FOG::DisplayManager Starting display manager process…
          06/02/2014 9:01 * Starting FOG.GreenFog
          06/02/2014 9:01 FOG::GreenFog Sleeping for 31 seconds.
          06/02/2014 9:01 * Starting FOG.GUIWatcher
          06/02/2014 9:01 FOG::GUIWatcher Starting GUI Watcher…
          06/02/2014 9:01 * Starting FOG.HostNameChanger
          06/02/2014 9:01 * Starting FOG.HostRegister
          06/02/2014 9:01 FOG::HostnameChanger Starting hostname change process…
          06/02/2014 9:01 FOG::HostnameChanger Yielding to other subservices for 7 seconds.
          06/02/2014 9:01 FOG::HostRegister Starting host registration process…
          06/02/2014 9:01 * Starting FOG.MODDebug
          06/02/2014 9:01 * Starting FOG.PrinterManager
          06/02/2014 9:01 FOG::MODDebug Start Called
          06/02/2014 9:01 FOG::MODDebug Sleeping for 100 Seconds
          06/02/2014 9:01 * Starting FOG.SnapinClient
          06/02/2014 9:01 * Starting FOG.TaskReboot
          06/02/2014 9:01 FOG::PrinterManager Starting interprocess communication process…
          06/02/2014 9:01 FOG::TaskReboot Taskreboot in lazy mode.
          06/02/2014 9:01 FOG::TaskReboot Starting Task Reboot…
          06/02/2014 9:01 FOG::SnapinClient Starting snapin client process…
          06/02/2014 9:01 * Starting FOG.UserCleanup
          06/02/2014 9:01 FOG::PrinterManager interprocess comm startup: OK
          06/02/2014 9:01 * Starting FOG.UserTracker
          06/02/2014 9:01 FOG::UserCleanup Sleeping for 11 seconds.
          06/02/2014 9:01 FOG::UserTracker Starting user tracking process…
          06/02/2014 9:01 FOG::HostRegister Exiting because only 0 mac address was found.
          06/02/2014 9:01 FOG::DisplayManager Unable to continue, MAC is null!
          06/02/2014 9:01 FOG::SnapinClient Sleeping for 356 seconds.
          06/02/2014 9:01 FOG::AutoLogOut Unable to continue, MAC is null!
          06/02/2014 9:01 FOG::UserTracker Unable to determine MAC address, exiting…
          06/02/2014 9:01 FOG::HostnameChanger Attempting to connect to fog server…
          06/02/2014 9:01 FOG::UserCleanup Starting user cleanup process…
          06/02/2014 9:01 FOG::UserCleanup Attempting to connect to fog server…
          06/02/2014 9:01 FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:01 FOG::HostnameChanger Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:01 FOG::GreenFog Starting green fog…
          06/02/2014 9:01 FOG::GreenFog Attempting to connect to fog server…
          06/02/2014 9:01 FOG::GreenFog Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:01 FOG::DirCleaner Starting directory cleaning process…
          06/02/2014 9:01 FOG::DirCleaner Attempting to connect to fog server…
          06/02/2014 9:01 FOG::DirCleaner Module is disabled globally on the FOG Server.
          06/02/2014 9:02 FOG::MODDebug Reading config settings…
          06/02/2014 9:02 FOG::MODDebug Reading of config settings passed.
          06/02/2014 9:02 FOG::MODDebug Starting Core processing…
          06/02/2014 9:02 FOG::MODDebug Operating System ID: 6
          06/02/2014 9:02 FOG::MODDebug Operating System Minor: 1
          06/02/2014 9:02 FOG::MODDebug MAC ID 0 3C:D9:2B:70:E5:84
          06/02/2014 9:02 FOG::MODDebug MAC POST String: 3C:D9:2B:70:E5:84
          06/02/2014 9:02 FOG::MODDebug A user is currently logged in
          06/02/2014 9:02 FOG::MODDebug Username: kiosk-pc\Guest
          06/02/2014 9:02 FOG::MODDebug Hostname: KIOSK-PC
          06/02/2014 9:02 FOG::MODDebug Attempting to open connect to: [url]http://fogserver/fog/service/debug.php[/url]
          06/02/2014 9:02 FOG::MODDebug Server responded with: Hello FOG Client
          06/02/2014 9:02 FOG::MODDebug Module has finished work and will now exit.

          ****** success ******
          06/02/2014 9:44 FOG::HostnameChanger Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:44 FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:44 FOG::DirCleaner Starting directory cleaning process…
          06/02/2014 9:44 FOG::GreenFog Attempting to connect to fog server…
          06/02/2014 9:44 FOG::DirCleaner Module is disabled globally on the FOG Server.
          06/02/2014 9:44 FOG::GreenFog Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:44 FOG::PrinterManager Management level = 2
          06/02/2014 9:44 FOG::PrinterManager Removing unwanted printers from host…
          06/02/2014 9:44 FOG::PrinterManager Adding new printers to host…
          06/02/2014 9:44 FOG::PrinterManager 2 found on server side.
          06/02/2014 9:44 FOG::PrinterManager Installation requested for Tutores
          06/02/2014 9:45 FOG::MODDebug Reading config settings…
          06/02/2014 9:45 FOG::MODDebug Reading of config settings passed.
          06/02/2014 9:45 FOG::MODDebug Starting Core processing…
          06/02/2014 9:45 FOG::MODDebug Operating System ID: 6
          06/02/2014 9:45 FOG::MODDebug Operating System Minor: 1
          06/02/2014 9:45 FOG::MODDebug MAC ID 0 3C:D9:2B:70:E5:84
          06/02/2014 9:45 FOG::MODDebug MAC POST String: 3C:D9:2B:70:E5:84
          06/02/2014 9:45 FOG::MODDebug A user is currently logged in
          06/02/2014 9:45 FOG::MODDebug Username: kiosk-pc\Guest
          06/02/2014 9:45 FOG::MODDebug Hostname: KIOSK-PC
          06/02/2014 9:45 FOG::MODDebug Attempting to open connect to: [url]http://fogserver/fog/service/debug.php[/url]
          06/02/2014 9:45 FOG::MODDebug Server responded with: Hello FOG Client
          06/02/2014 9:45 FOG::MODDebug Module has finished work and will now exit.
          06/02/2014 9:45 FOG::PrinterManager Printer Installation Failed: Tutores
          06/02/2014 9:45 FOG::PrinterManager Max install time exceeded (60000)
          06/02/2014 9:45 FOG::PrinterManager Installation requested for Fotocopiadora
          06/02/2014 9:45 FOG::GUIWatcher Message found, attempting to notify GUI!
          06/02/2014 9:45 FOG::PrinterManager Printer Installed: Fotocopiadora
          06/02/2014 9:45 FOG::PrinterManager Major printing operations complete, moving to tracking mode.
          06/02/2014 9:45 FOG::PrinterManager New user detected: kiosk-pc\Guest
          06/02/2014 9:45 FOG::PrinterManager Waiting for tray to load…
          06/02/2014 9:46 FOG::GUIWatcher Dispatch OK!
          06/02/2014 9:46 FOG::GUIWatcher Message found, attempting to notify GUI!
          06/02/2014 9:46 FOG::PrinterManager Setting Default Printer…
          06/02/2014 9:46 FOG::PrinterManager Setting default for Tutores
          06/02/2014 9:46 FOG::PrinterManager Remaining: 6 Sending message to FOG Tray…
          06/02/2014 9:46 FOG::GUIWatcher Dispatch OK!
          06/02/2014 9:46 FOG::PrinterManager Remaining: 5 Sending message to FOG Tray…
          06/02/2014 9:46 FOG::ClientUpdater Attempting to connect to fog server…
          06/02/2014 9:46 FOG::ClientUpdater Module is disabled globally on the FOG Server, exiting.
          06/02/2014 9:46 FOG::PrinterManager Remaining: 4 Sending message to FOG Tray…
          06/02/2014 9:47 FOG::PrinterManager Remaining: 3 Sending message to FOG Tray…
          06/02/2014 9:47 FOG::PrinterManager Remaining: 2 Sending message to FOG Tray…
          06/02/2014 9:47 FOG::PrinterManager Remaining: 1 Sending message to FOG Tray…
          06/02/2014 9:51 FOG::SnapinClient Attempting to connect to fog server…
          06/02/2014 9:51 FOG::SnapinClient Module is active…
          06/02/2014 9:51 FOG::SnapinClient No Tasks found for: 3C:D9:2B:70:E5:84

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

            So it looks like it failes on the Printer named Tutores, but works on everything else.

            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
            • C
              chrisfanning
              last edited by

              Hi Tom,

              That “FOG::printerManager Printer Installation Failed: Tutore” message is actually from the log of a succesful install. Both printers installed ok.

              When the printers don’t install, reading the log, the last thing I see about printers is this message
              “FOG::printerManager interprocess comm startup: OK”
              Then nothing else.

              If I try

              watch smbstatus

              I can see when the client is downloading the driver. When the installation fails, I see that the client doesn’t connect to the samba server at all.

              So, given that “FOG::printerManager interprocess comm startup: OK” is the last message on a failed install, what would you try?

              Thanks,
              Chris.

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

                It sounds like the system can’t communicate with the process, maybe because other systems are accessing it, locking it, during their installation of the process?

                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
                • C
                  chrisfanning
                  last edited by

                  Sorry, I don’t quite understand.
                  You say, ‘communicate with the process’, ¿communicate with what process?
                  Accessing and locking what exactly?

                  How do I troubleshoot this? Do I need to sniff packets on the network to fond out who’s not answering who?

                  By the way, we’re using a snappin on one machine and I’ve just discovered that that also is failing intermittently. (It had been working fine for more than a year).

                  Cheers,
                  Chris.

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

                    Is it possible the SQL database is corrupt or has too many connections on it? Ultimately what happens with the “process” is the FOG Client sends the data to it’s respective service script. FOG Printer Management sends to {$fogwebdir}/service/PrinterManager.php. The php obtains the information and pulls it from the Database, then reports it’s “findings” to the Client that initiated the call.

                    It sounds to me like the mysql server has limited the connections, and may be in a Locked or timed out status.

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

                    161

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project