Final reboot does not happens



  • 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.



  • @Tom-Elliott

    Update again from my current SVN.
    Copy!
    Will do. Thank you guys!!!


  • Senior Developer

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



  • @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.



  • 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.


  • Senior Developer

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



  • @Tom-Elliott

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


  • Senior Developer

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



  • @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-Elliott

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



  • @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.


  • Moderator

    @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?



  • @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.


  • Moderator

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

    0_1468507575084_hdd exit types.png



  • @Wayne-Workman

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


  • Senior Developer

    @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.



  • @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.


  • Moderator

    @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.


  • Moderator

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


  • Senior Developer

    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?


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.