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

    Fog imaging error

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    11
    2.7k
    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.
    • K
      kverkiss
      last edited by

      Hello all,

      I have a problem reimaging one of our workstation. Brand and model is Lenovo M81.
      When trying to upload an image for the first time,. I am getting a error message saying that there’s a buffer IO error. I have tried different kernels and upgraded to the most recent SVN version. The first impression is that the image task is going fine but after a couple of sectors, the process stops with the buffer IO errors.

      I did check the hard drive on possible errors but there is none.
      I only made a change to the disk using fixparts.

      Is anybody able to assist me with this?

      Below some log files:
      Errror.jpg

      error2.jpg

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

        @kverkiss what boot file are you using? I’d recommend trying undionly.kkpxe with Lenovos.

        Do you normally have no output from your “system activity” and “disk information” areas ???

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          These files have NOTHING to do with imaging or the buffer io problems you’re seeing.

          As I understand it, buffer errors would seem, to me, to indicate more a problem with RAM than a problem with disk. While I suppose there is some buffering that occurs on disk, particularly if there is a cache on the disk, as you’re getting these errors during the upload process, my money would be on the RAM of that particular system.

          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
          • K
            kverkiss
            last edited by

            @Tom the problem is resolved with the buffer IO errros. When I used fixparts /dev/sda I didn’t use ‘w’ to write it to the partition table.
            @Wayne, I am indeed using undionly.kkpxe for all my hardware. I had output in my system activity when it stopped working after the SVN upgrade. Same applies for disk info.

            Since the last 20 revisions I am struggleing a lot to keep everything stable. Even after upgrading to the most recent SVN which is asking me to upgrade my database, when accessing the managment website for update the database I am no longer getting this website asking me to update the database. Also since the last 20 revisions.

            Now at this moment I have uploaded the image without any problerms, however I can no longer register any hosts, all kinds of PHP errors show up… the overview which is empty should also be caused by these errors.

            ation')\n#2 {main}\n  thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107
            [Tue Sep 08 15:14:51 2015] [error] [client 10.10.7.13] PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class Registration does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('Registration')\n#1 /var/www/fog/service/auto.register.php(3): FOGBase->getClass('Registration')\n#2 {main}\n  thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107
            [Tue Sep 08 15:14:55 2015] [error] [client 10.10.7.13] PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class Registration does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('Registration')\n#1 /var/www/fog/service/auto.register.php(3): FOGBase->getClass('Registration')\n#2 {main}\n  thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107
            [Tue Sep 08 15:14:57 2015] [error] [client 10.10.7.13] PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class Registration does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('Registration')\n#1 /var/www/fog/service/auto.register.php(3): FOGBase->getClass('Registration')\n#2 {main}\n  thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107
            
            The whole register process is just looping.
            
            1 Reply Last reply Reply Quote 0
            • K
              kverkiss
              last edited by

              These errors appear with quick register:

              [Tue Sep 08 15:22:52 2015] [error] [client 10.10.7.19] PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class ServiceModule does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('ServiceModule')\n#1 /var/www/fog/service/servicemodule-active.php(3): FOGBase->getClass('ServiceModule')\n#2 {main}\n  thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107
              
              
              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                I think you need to re-install the version of FOG you are using - do not SVN up anymore, do not upgrade what you have anymore - I’m just recommending reinstalling what you have.

                But only this time, I’m recommending you use the -y argument like this:

                ./installfog.sh -y
                

                This auto-updates the DB for you.

                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/

                K 1 Reply Last reply Reply Quote 0
                • K
                  kverkiss @Wayne Workman
                  last edited by

                  @Wayne-Workman

                  Ok Wayne. I will do that.
                  Can I completly backup all my database settings, inventory and images etc?
                  Strangly enough, when using SVN version 3600 everything starts to work again.

                  Thanks for your help.

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

                    @kverkiss Yes you can backup - I’d recommend that. Try to use the web interface to do that. do a total configuration save - and do a host export using host management.

                    If the web interface fails you, there are other methods you can use to backup listed here:
                    https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL

                    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/

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kverkiss
                      last edited by

                      Some more errors (screenshot)
                      new.jpg

                      1 Reply Last reply Reply Quote 0
                      • K
                        kverkiss @Wayne Workman
                        last edited by

                        @Wayne-Workman

                        Hey Wayne, this problem is resolved. The problem appeared to be within the machine which the image was uploaded from. The hard disk containted IO errors which were untracable by Windows scandisk and chkdsk. Using a different hard drive resolved the problem.

                        Thanks for your help!.

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

                          @kverkiss Good !!! The next time I see a jumble of nonsense errors such as this I’ll recommend trying a different drive.

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

                          257

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project