000026391 - How to clear the fsck error on an appliance 3.0

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000026391
Applies ToUpdated solution that includes latest hardware
Previous solutions do not support current hardware, Dell R210 and Dell R710 SecurID Appliances
fsck
SecurID Appliance 3.0, 3.0.4
rPath Linux
Filesystem error - connect Video Monitor and USB Keyboard to the back of the Appliance
 
IssueHow to clear the fsck error
Use Ubuntu or other Linux distribution to perform administraor tasks on an appliance 3.0
Can ping the Appliance, but cannot SSH or login to consoles
 

On system startup you will be prompted to enter a password for root [you only see this from the Physical console]


Checking filesystems
/contains a file system with errors, check forced.
/:Inodes that were part of a corrupted orphan linked list found.
/:UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
     (i.e., wihout -a or -p options )
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** When you leave the shell.
Give root password for maintenance
(or type Control-D to continue):


Typing a password or Control-D does not help.

Cause

This is caused by an issue at the Linux operating system level and must be corrected at that level.  The most common cause is that either the system was shut down improperly (often due to unexpected power loss) or if fsck has not been run in at least 6 months.  However, due to the hardening of the appliance, there is no password for ?root?.  This means that you cannot get root access directly as this would be a security risk.

To work around this, you will need to boot from a Linux CD to get root access and then run the fsck command.  It is expected that you will have sufficient Linux administration knowledge to perform this task.  If you do not, you should seek the assistance of your local Linux administrator.

Resolution

1.       Download an Ubuntu Desktop 12.04 32-bit .iso  image (don't choose newer ones unless you are familiar with the differences).


 


2.       Connect a monitor, keyboard and mouse directly to the appliance.


 


3.       Using the .iso file to create a bootable CD and boot the appliance from it.  You may need to press <F11> and, when prompted, enter the following password:  rsabios


 


4.       Select English.


 


**** NOTE: This is very important ****


5.       Select "Try Ubuntu".  This will run Ubuntu from the CD.  If you make another selection, Ubuntu may install over your current appliance image.


 


6.       Ubuntu will start up in GUI mode.  Click on <Dash Home> (the round symbol on the icon).


 


7.       In the Search field type ?Terminal? and press <Enter>.


 


8.       Select and open the Terminal icon.


 


9.       Run the following commands in the terminal window:


 


10.   sudo su -


 


11.   umount /dev/sda1


 


(if the disk is not already mounted you will get an error which can be ignored)


 


12.   fsck ?y /dev/sda1


 


13.   reboot


 


14.   Remove the bootable CD and allow the system to come up normally.

Notes

The exact process to fix the disk error will change depending on the particular distribution of Linux that you use.  The point is to do it when booted off of different media, and that the appliance's main partition will be UNMOUNTED during the repair.   Following is an example that has worked with Ubuntu 12.04 LTS on appliance R210 hardware.


Also, please keep in mind that RSA does not provide support for the operating system or administration level functions.  This article is provided as an example of how a Linux administrator can perform this function.

Legacy Article IDa62461

Attachments

    Outcomes