Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Boot Process stops at 0553 on LED

Status
Not open for further replies.

mantab888

MIS
Nov 26, 2001
69
US
Hello all,

Would anybody happen to know why the boot process continues to stop with a 0553 indicated on the LED?
This server is a pseries IBM 7028-6c1 and is running with
AIX 5.1. I am able to boot off of the CDROM into SMS and import the rootvg just fine. However, when booting off /dev/hdisk0 it is not happy. If anybody would happen to know where I can find the boot codes for this system, that would be great! I've looked through all the normal means, google, IBM's website, etc...

Thanks!

mantab888
 
1.1.1 LED 553

An LED value of 553 is a checkpoint code displayed to indicate the system transition to phase 3 of IPL. A halt or hang at LED 553 is often the result of a corrupted or missing /etc/inittab file. It can also be caused by full / (root) or /tmp file systems, inconsistencies in either startup configuration files, Object Data Manager (ODM) object class databases, or system library files. Additionally, a number of other issues involving file permissions, invalid hard links in the root file system, etc. have been observed to cause a hang at LED 553.
1.1.1.1 Summary of the recovery procedure
To attempt to isolate the cause for an LED 553 hang, start by checking the root file systems with the fsck command. Then check /dev/hd3 and /dev/hd4 for space problems, and erase files if necessary. Check the /etc/inittab file for corruption, and fix it if necessary. If the inittab file was not corrupted, you will need to check the shell profile and environment files, the /bin/bsh file, as well as other system configuration files. A check of the consistency of all installed files within the installed fileset base and an update of the boot image should be done. To conclude, run the configuration manager to find out if there is a hang during device configuration.
1.1.1.2 Recovery procedure
1. Boot your system into a limited function maintenance shell (Service or Maintenance mode) from AIX bootable media.
Please refer to your system user's or installation and service guide for specific IPL procedures related to your type and model of hardware.
2. With bootable media of the same version and level as the system, boot the system. The bootable media can be any ONE of the following:
o Bootable CD-ROM
o mksysb
o Bootable Install Tape
Follow the screen prompts to the Welcome to Base OS menu.
3. Choose Start Maintenance Mode for System Recovery (Option 3). The next screen contains prompts for the Maintenance menu.
a. Choose Access a Root Volume Group (Option 1).
The next screen displays a warning that indicates you will not be able to return to Base OS menu without rebooting.
b. Choose 0 continue.
The next screen displays information about all volume groups on the system.
c. Select the root volume group by number. The logical volumes in rootvg will be displayed with two options below.
d. Choose Access this volume group and start a shell before mounting file systems (Option 2).
If you get errors from the preceding option, do not continue with the rest of this procedure. Correct the problem causing the error. If you need assistance correcting the problem causing the error, contact one of the following:
o local branch office
o your point of sale
o your AIX support center
If no errors occur, proceed with the following steps.
4. Run the following series of commands to check and repair file systems.
fsck /dev/hd4
fsck /dev/hd2
fsck /dev/hd3
fsck /dev/hd9var
fsck /dev/hd1
NOTE: The -y option gives the fsck command permission to repair file system corruption when necessary. This flag can be used to avoid having to manually answer multiple confirmation prompts, however, use of this flag can cause permanent data loss in some situations.
5. To format the default jfslog for the rootvg Journaled File Systems (JFS), run the following command:
6. /usr/sbin/logform /dev/hd8
Answer yes when asked if you want to destroy the log.
7. Type exit to exit from the shell. The file systems should automatically mount after you type exit. If you receive error messages at this point, reboot into a limited function maintenance shell again to attempt to address the failure causes.
8. Use the df command to check for free space in /dev/hd3 and /dev/hd4.
df /dev/hd3
df /dev/hd4
9. If the output from the df command shows that either file system is out of space, erase some files from that file system. Three files you may want to erase are /smit.log, /smit.script and /.sh_history.
10. Next, check the /etc/inittab file for corruption. It may be empty or missing, or it may have an incorrect entry. For comparison, see the section "Sample /etc/inittab file" at the end of this document.
11. If the inittab file is corrupt, set your terminal type in preparation for editing the file. (xxx stands for a terminal type, such as lft, ibm3151, or vt100.)
TERM=xxx
export TERM
Now use an editor to create the /etc/inittab file. For an example, see the section "Sample /etc/inittab file" in this document. If your /etc/inittab file was corrupt and you recreated it, the following steps may not be necessary.
There are only three entries which must be in the /etc/inittab file to successfully boot the system. If your /etc/inittab file is missing or corrupted AND you are unable to use an editor while in Service mode, do the following to create a minimal inittab file to boot the machine into run level 2 (Normal mode).
mv /etc/inittab /etc/inittab.MMYYDD
touch /etc/inittab
chmod 500 /etc/inittab
chown root:system /etc/inittab
echo 'init:2:initdefault:' >> /etc/inittab
echo 'brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1' >> /etc/inittab
echo 'cons:0123456789:respawn:/usr/sbin/getty /dev/console' >> /etc/inittab
MMDDYY represents the current two-digit representation of the Month, Day and Year respectively.
12. Use the following command to check for any modifications or problems with permissions on shell startup files.
NOTE: The /.kshrc and /.profile files are not necessary for the system to boot into run level 2 (Normal mode) and, in fact, may not exist on your system.
ls -al /.kshrc /.profile /etc/environment /etc/profile
Sample output:
-rw-r--r-- 1 root system 71 Dec 14 1993 /.kshrc
-rw-r--r-- 1 root system 158 Dec 14 1993 /.profile
-rw-rw-r-- 1 root system 1389 Oct 26 1993 /etc/environment
-rw-r--r-- 1 root system 1214 Jan 22 1993 /etc/profile
etc/profile or .profile may contain a command that is valid only in the Korn shell. Change the command to something that is also valid in the Bourne shell. For example, change the following:
export PATH=/bin:/usr/bin/:/etc:/usr/ucb:.
to the following:
PATH=/bin:/usr/bin/:/etc:/usr/ucb:.
export PATH
/etc/environment is a special case. The only commands it may contain are simple variable assignments, such as statements of the form [varname]=[value]. Check this file with an editor to verify the format. See the section "Sample /etc/environment file" at the end of this document.
13. Check for missing or moved files, or changed ownership/permissions with the following command:
ls -al /bin /bin/bsh /bin/sh /lib /unix /u
Sample output:
lrwxrwxrwx 1 root sys 8 Aug 5 1994 /bin -> /usr/bin
-r-xr-xr-x 3 bin bin 256224 Jun 4 1993 /bin/bsh
-r-xr-xr-x 3 bin bin 256224 Jun 4 1993 /bin/sh
lrwxrwxrwx 1 root sys 8 Aug 5 1994 /lib -> /usr/lib
lrwxrwxrwx 1 root sys 5 Aug 5 1994 /u -> /home
lrwxrwxrwx 1 root sys 18 Aug 5 1994 /unix -> /usr/lib/boot/unix
If any of these files are missing, the problem may be a missing symbolic link. Use the commands from the following list that correspond to the missing links.
ln -s /usr/bin /bin
ln -s /usr/lib/boot/unix /unix
ln -s /usr/lib /lib
ln -s /home /u
14. Use the following command to make sure that fsck and rc.boot are not missing or corrupt.
ls -l /etc/fsck /sbin/rc.boot
Sample output:
lrwxrwxrwx 1 root system 14 Aug 5 1994 /etc/fsck -> /usr/sbin/fsck
-rwxrwxr-- 1 root system 33760 Aug 30 1993 /sbin/rc.boot
15. Make sure the /etc/inittab file is for AIX Version 4. For this version, the line that begins with brc is
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1
See the section "Sample /etc/inittab file" in this document for an example.
16. If you have not found any obvious problems, try substituting ksh for bsh with the following series of commands. (The first command saves your bsh before you copy over it.)
cp /bin/bsh /bin/bsh.orig
cp /bin/ksh /bin/bsh
If you can then reboot successfully, this indicates that one of the profiles was causing problems for bsh. Check the profiles again by running the following:
/bin/bsh.orig /.profile
/bin/bsh.orig /etc/profile
/bin/bsh.orig /etc/environment
If you receive errors with any of the preceding commands, this indicates that there is a command in that profile that bsh cannot handle.
17. To run a checksum validation of all files in the installed fileset base and a consistency check of the fileset installation, run the following commands:
lppchk -c
lppchk -v
NOTE: These commands should not produce output. If they do, then the messages should be examined to assess whether it is a potential cause of the hang.
18. Detemine the boot drive and update the boot image with the following command:
19. lslv -m hd5
Sample output:
hd5:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0001 hdisk0
The disk number under the PV1 column is the disk name you should use to run the following two commands:
bosboot -ad /dev/hdisk0
bootlist -m normal hdisk0
20. To check the device configuration routines, the following command should identify any problems associated with configuration routines:
cfgmgr -vp 2
If the cfgmgr command hangs, this is likely the cause of the system hang. You may be able to stop the command by pressing Ctrl-C, however, a reboot is often required to get back into Service mode and continue troubleshooting the problem.
21. If your model has a mode select key, turn it to the Normal position.
22. Attempt to reboot the system into Normal mode by running the following command:
sync;sync;sync;reboot
If you followed all of the preceding steps and the system still stops at an LED 553 during a reboot in Normal mode, you may want to consider reinstalling your system from a recent backup. Isolating the cause of the hang could be excessively time-consuming and may not be cost-effective in your operating environment. It is possible, in the end, that isolation of the problem may indicate a restore or reinstall of AIX is necessary to correct it.
If you wish, you may pursue further system recovery assistance from one of the following:
• local branch office
• your point of sale
• your AIX support center
________________________________________
1.1.1.3 Sample /etc/inittab file for AIX Versions 4 and 5
# Licensed Materials - Property of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: (CMDCNTL) commands needed for basic system needs
#
# FUNCTIONS:
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#45 2 * * 0 /usr/lib/spell/compress
#45 23 * * * ulimit 5000; /usr/lib/smdemon.cleanu > /dev/null
0 11 * * * /usr/bin/errclear -d S,O 30
0 12 * * * /usr/bin/errclear -d H 90
0 3 * * * /scitex/version/scripts/rebuild_desktop.sh now
0 4 * * * /scitex/version/scripts/cron.scr
0 3 * * * /etc/skulker
0 2 * * * /scitex/version/scripts/rebuild-s.sh
#0 3 * * * /scitex/version/scripts/rebuildRunner.ksh
0 1 * * * /scitex/version/scripts/find_new.sh


Long live king Moshiach !
 
Great Information!

I'll give the resolutions a shot.

Thanks

mantab888
 
Thanks MoshiachNow,

The problem was indeed a corrupt /etc/inittab file on the server. I restored it and now the server is booting fine. Thanks for the information.

mantab888
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top