Server displays a file system check error and displays 'Give root password for maintenance or type Control-D to continue'

Article:TECH149120  |  Created: 2008-03-05  |  Updated: 2011-02-05  |  Article URL http://www.symantec.com/docs/TECH149120
Article Type
Technical Solution


Issue




PGP Universal Server console displays a file system error and prompts you to Give root password for maintenance (or type Control-D to continue):. This article applies to versions of PGP Universal Server 2.x and above.

PGP Universal Server does not allow the usage of passwords by default to access the console. Console access to the server is blocked for security reasons. The root authentication method for PGP Universal Server utilizes keys. Since the ability to login and run the file system repair is unavailable, a different method must be used to correct the file system error.


Solution




Repairing the file system can be accomplished using one of the following methods.

Method 1

Use the following steps to repair the PGP Universal Server's file system:

  1. Boot the PGP Universal Server
  2. Press any key to enter the Menu
  3. Press e to enter the GRUB menu
  4. Use the arrow keys to select the kernel line in the menu and press e to edit the line
  5. Add the following to the end of the line: init=/bin/bash and press Enter
  6. Type b to boot into the BASH
  7. At the BASH prompt, type cd /sbin and press Enter
  8. Type mount and press Enter

    The command will display a list of mounted drives. Depending on the type of hard disks you have, look for sda1/sda2 or hda1/hda2

  9. Type the following command: ./fsck -y /dev/sda1 or ./fsck -y /dev/hda1
  10. Type the following command: ./fsck -y /dev/sda2 or ./fsck -y /dev/hda2
  11. After the filesystem repair is completed, boot your PGP Universal Server and the file system check error should be corrected.

Method 2

You will need to boot from the PGP Universal Server installation CD or the ISO image to use the file system repair utility.

Use the following steps to repair the PGP Universal Server's file system:

  1. Place the PGP Universal Server installation CD in your PGP Universal Server's CD-ROM and boot the server with the CD
  2. Once the PGP Universal Server setup screen is displayed, type noautopart and press Enter

    This option allows you to use disk druid to determine what partitions are available.

  3. Press Alt+F2 to access the command prompt
  4. Type the following command: ./fsck -y /dev/sda1 or ./fsck -y /dev/hda1
  5. Type the following command: ./fsck -y /dev/sda2 or ./fsck -y /dev/hda2
  6. After the file system repair is completed, shutdown the server and remove the CD-ROM.
  7. Boot your PGP Universal Server and the file system check error should be corrected.


Legacy ID



904


Article URL http://www.symantec.com/docs/TECH149120


Terms of use for this information are found in Legal Notices