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

    Multiple blank images created automatically

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    7
    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.
    • B
      Benoit
      last edited by

      Hello,

      We are using Fog in french school to manage our computers.
      We are running Fog 1.2.0 on Ubuntu 15.10. Everything was ok until yesterday, today many blank images are created automatically in images management. We do not change Fog configuration at all.
      It log into sql, and delete all blank images with the command : delete from fog.images where imageName in (’ ',NULL)
      Images are deleted, but they start again to create themself automatically.
      In one minute, about 100 blank images are created.

      In try to repair my sql database, restart the sql service, reboot fog server, and still the same issue.
      No active task pending.

      Anyone could help me ?

      0_1467205302220_probleme fog.jpg

      Regards,

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

        My guess is somebody is spamming the server with some erroneous data. Is your FOG server internet accessible?

        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
        • B
          Benoit
          last edited by

          Thanks for your quick reply !

          Fog server is behind a specific firewall and proxy server developed for school environement.

          If it’s the case, is there a way to prevent that ?

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

            @Benoit Well I’d recommend trying trunk out as there’s been significant improvements to hopefully limit the potential of SQL injection, XSS, but I’d also take a look at what’s being sent to the server first.

            Can you post your apache’s access log file here so we can see what’s going on (kind of)?

            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
            • B
              Benoit
              last edited by

              Here is my access.log file … i now what it is, but i do not understand the content of that file …

              0_1467206866264_access log.zip

              thanks a lot !

              1 Reply Last reply Reply Quote 0
              • B
                Benoit
                last edited by

                In the log file i can see that ip 172.19.81.167 appear many times.

                I try to ping -a that ip and no netbios name is back, so i guess this machine is not registered in my dns server.

                1 Reply Last reply Reply Quote 0
                • B
                  Benoit
                  last edited by Benoit

                  I found that was wrong, it was one host that was blocked on start on fog without any task pending on it ??
                  IP 172.19.81.167.

                  We have to find what host ( there is 800 computers in school) without having his hostname.

                  I have to compare export of hosts in Fog with mac adress and the apache log file.

                  After i have to find in my GLPI inventory where was that netbios name in the school rooms.

                  The computer failed to start on PXE. I shutdown it too quickly to save the error message.

                  After shutdown it, i delete again with mysql command blank images and fog runs fine again.

                  Thanks for your help searching in apache log ! i understand how it works now.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  124

                  Online

                  12.2k

                  Users

                  17.3k

                  Topics

                  155.4k

                  Posts
                  Copyright © 2012-2024 FOG Project