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

    Final reboot does not happens

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    21
    4.0k
    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.
    • D
      DarkEnergy
      last edited by

      I have done an update and after that when an image is uploaded and the system provides the final warning to reboot, the system does not reboot. I just sit there at a black screen with a cursor blinking. I am unsure if because of this my latest uploads are not properly being uploaded. Now when a deployment takes place the image goes into BOSD. The image is a clean image with only couple of software and drivers.

      1 Reply Last reply Reply Quote 0
      • D
        DarkEnergy
        last edited by

        I look into the database under the users table and there is not fog user any longer. Will this cause a problem?
        I also took a look a the password for the storage and the one located under /opt/fog/.fogsettings as indicated by the following article:
        https://wiki.fogproject.org/wiki/index.php?title=Password_Central
        Both passwords matched perfectly indicating that it might not be the password for the storage.
        I have also look at the fog user in /etc/passwd and it does exist.
        I have looked a the permission for the /images and currently is set 777.
        Another issue I am encountering is when I delete an image a username and password is requested but, I am not sure if this is related to the missing fog user in fog database.

        Any help greatly appreciated.

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

          From what I can tell, the system did reboot, but it went to a non-bootable mode, meaning it can see the MBR (hence there being a lack of ‘no os found’), but can’t find out how to load the rest of the files.

          Maybe you can get an fdisk -l output from a debug session on the host for us? This should tell me if a partition has been marked as ‘active/boot’.

          If it is active/boot in fdisk -l, is your BIOS trying to hand out the disk as if it were a part of a raid?

          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

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

            Sounds like you need to try different HDD exit types for this particular hardware.

            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/

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

              @DarkEnergy said in Final reboot does not happens:

              Another issue I am encountering is when I delete an image a username and password is requested

              That’s standard now. It was done for more security.

              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/

              D 1 Reply Last reply Reply Quote 0
              • D
                DarkEnergy @Tom Elliott
                last edited by

                @Tom-Elliott

                There is not RAID in the system or configured as a RAID.
                This system is a laptop, this particular laptop is not used for production it is the system designated for imaging.
                I have used it many of times to update the image but now, after uploading the image, all that I get is the BSOD.
                It is hard to do a fdisk when I can boot to the system to see the partitions.
                Let me see if I can manage to do it from a live distro. Will post results in later.

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

                  @DarkEnergy I’m not asking you to boot the system into windows to get this information.

                  I’m not trying to suggest it is configured as raid, just trying to make sure the BIOS is not making to look like it is RAID. There’s a reason I ask for information, because I don’t have the system in front me.

                  Please double check (even if you are absolutely sure) that the BIOS is surely passing the hard drive as AHCI/IDE (or RAID) and boot the system using the FOG PXE Boot system into a debug task and run the commands I requested.

                  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

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    DarkEnergy @Wayne Workman
                    last edited by

                    @Wayne-Workman

                    The hardware has not changed.
                    Please my response to Tom Elliott.

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

                      @DarkEnergy I’m not referring to hardware. I’m refering to the hdd exit types:

                      0_1468507575084_hdd exit types.png

                      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/

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        DarkEnergy @Wayne Workman
                        last edited by

                        @Wayne-Workman

                        Thank you for the update now I stand corrected.
                        However, the system is not deleting the record or the image.
                        It is still there in the FOG, however, the files no longer exist in the /images/ folder.

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

                          @DarkEnergy said in Final reboot does not happens:

                          However, the system is not deleting the record or the image.
                          It is still there in the FOG, however, the files no longer exist in the /images/ folder.

                          Is this a separate issue? Are you talking about deleting images or capturing them?

                          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/

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            DarkEnergy @Wayne Workman
                            last edited by

                            @Wayne-Workman

                            Thank you again Wayne-Workman.
                            I did not changed that option but, again, I did not changed it on any of the other systems and they are working normally.
                            Will experiment with this new feature.

                            1 Reply Last reply Reply Quote 0
                            • D
                              DarkEnergy @Tom Elliott
                              last edited by

                              @Tom-Elliott

                              I totally understand what you are saying.
                              I will collect the data and post it as soon as I can.
                              Thanks.

                              1 Reply Last reply Reply Quote 0
                              • D
                                DarkEnergy @Wayne Workman
                                last edited by

                                @Wayne-Workman
                                Sorry got busy at work.
                                It crossed my mind to delete the current image just in case it was corrupted and then recreated from scratch and then the password happened.
                                But after inserting the password the entry still remained.

                                On a side note, while the idea of password protection is good, it would be best to give user access levels base on roles.
                                Just an idea!

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

                                  @DarkEnergy I think I need clarity. Is the cursor on the bottom or top left corners?

                                  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

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    DarkEnergy @Tom Elliott
                                    last edited by

                                    @Tom-Elliott

                                    After uploading the file the cursor is at the bottom left.

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

                                      @DarkEnergy Is there any information in your apache error logs then?

                                      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

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        DarkEnergy
                                        last edited by

                                        Sorry guys I think this one to the wrong place.
                                        Can someone please move this:
                                        https://forums.fogproject.org/topic/8114/update-to-refocus
                                        to this current post?

                                        Thank you in advance.

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

                                          @Tom-Elliott

                                          Here is the output for one of the error.log for Apache:

                                          [Wed Jul 13 06:36:15.244595 2016] [mpm_prefork:notice] [pid 6427] AH00163: Apache/2.4.20 (Ubuntu) OpenSSL/1.0.2h configured -- resuming normal operations
                                          [Wed Jul 13 06:36:15.244618 2016] [core:notice] [pid 6427] AH00094: Command line: '/usr/sbin/apache2'
                                          [Wed Jul 13 17:11:28.744923 2016] [:error] [pid 1032] [client 192.168.1.136:50232] PHP Warning:  file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No sch file or directory in /var/www/html/fog/status/bandwidth.php on line 8
                                          [Wed Jul 13 17:11:28.787227 2016] [:error] [pid 1030] [client 192.168.1.136:50234] PHP Warning:  file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No sch file or directory in /var/www/html/fog/status/bandwidth.php on line 8
                                          [Wed Jul 13 17:11:29.745969 2016] [:error] [pid 1031] [client 192.168.1.136:50236] PHP Warning:  file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No sch file or directory in /var/www/html/fog/status/bandwidth.php on line 8
                                          [Wed Jul 13 17:11:29.788096 2016] [:error] [pid 1029] [client 192.168.1.136:50238] PHP Warning:  file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No sch file or directory in /var/www/html/fog/status/bandwidth.php on line 8
                                          [Wed Jul 13 17:11:30.746199 2016] [:error] [pid 1030] [client 192.168.1.136:50240] PHP Warning:  file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No sch file or directory in /var/www/html/fog/status/bandwidth.php on line 8
                                          [Wed Jul 13 17:11:30.788518 2016] [:error] [pid 3332] [client 192.168.1.136:50242] PHP Warning:  file_get_contents(/sys/class/net/bonding_masters/operstate): failed to open stream: No sch file or directory in /var/www/html/fog/status/bandwidth.php on line 8
                                          [Wed Jul 13 17:46:36.552052 2016] [:error] [pid 3350] [client 192.168.1.111:14164] PHP Warning:  ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on ine 58, referer: http://192.168.1.136/fog/management/index.php?node=image&sub=delete&id=52
                                          [Wed Jul 13 17:46:36.552232 2016] [:error] [pid 3350] [client 192.168.1.111:14164] PHP Warning:  ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.clas.php on line 172, referer: http://192.168.1.136/fog/management/index.php?node=image&sub=delete&id=52
                                          [Wed Jul 13 17:46:37.231466 2016] [:error] [pid 3350] [client 192.168.1.111:14164] PHP Warning:  ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on ine 58, referer: http://192.168.1.136/fog/management/index.php?node=image&sub=delete&id=52
                                          [Wed Jul 13 17:46:37.246956 2016] [:error] [pid 3350] [client 192.168.1.111:14164] PHP Fatal error:  Call to undefined function get() in /var/www/html/fog/lib/fog/image.class.php on lin 38, referer: http://192.168.1.136/fog/management/index.php?node=image&sub=delete&id=52
                                          [Wed Jul 13 17:58:44.515444 2016] [:error] [pid 3332] [client 192.168.1.111:14257] PHP Fatal error:  Call to undefined function get() in /var/www/html/fog/lib/fog/image.class.php on lin 38, referer: http://192.168.1.136/fog/management/index.php?node=image&sub=delete&id=52
                                          [Wed Jul 13 18:50:35.495215 2016] [:error] [pid 3350] [client 192.168.1.111:14745] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/libfog/fogmanagercontroller.class.php on line 111, referer: http://192.168.1.136/fog/management/index.php?node=group
                                          [Wed Jul 13 18:50:35.496037 2016] [:error] [pid 3350] [client 192.168.1.111:14745] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/libfog/fogmanagercontroller.class.php on line 111, referer: http://192.168.1.136/fog/management/index.php?node=group
                                          [Wed Jul 13 19:44:47.659743 2016] [:error] [pid 3332] [client 192.168.1.111:14933] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/libfog/fogmanagercontroller.class.php on line 111, referer: http://192.168.1.136/fog/management/index.php?node=group
                                          [Wed Jul 13 19:44:47.660674 2016] [:error] [pid 3332] [client 192.168.1.111:14933] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/libfog/fogmanagercontroller.class.php on line 111, referer: http://192.168.1.136/fog/management/index.php?node=group
                                          [Thu Jul 14 06:54:58.309177 2016] [mpm_prefork:notice] [pid 6427] AH00171: Graceful restart requested, doing restart
                                          AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
                                          

                                          Mod edited to use code box.

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

                                            @DarkEnergy based in what in seeing please update to latest and retry upload, all should work like magic

                                            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

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

                                            177

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project