On Mar 1, 12:56 pm, "Gerard H. Pille" <
g...@skynet.be> wrote:
> asidarin wrote:
> > On Feb 29, 3:11 pm, asidarin<
asida...@gmail.com> wrote:
> >> On Feb 28, 1:53 pm, "Gerard H. Pille"<
g...@skynet.be> wrote:
>
> >>> asidarin wrote:
> >>>> The first not commented line in my /etc/inittab is:
>
> >>>> init:2:initdefault:
>
> >>> What else do you have in /etc/inittab for that runlevel?
>
> >> I have an AIX 5.3 sys at here at the office and I did an eye-ball
> >> check and they at least looked similar.
>
> The only command run before going to runlevel 2, is:
>
> brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
>
> Is /sbin/rc.boot executable at boot? What does it contain?
>
> Any feedback from errpt?
Sorry, it was snowing and I was thinking of getting out a little early
yesterday. And I thought there would be too many differences between
the files.
I did a diff on my 5.3 here against the 5.3 there for both the rc.boot
& inittab files. Here are some of the differeneces:
rc.boot:
4th line
my 5.3
# bos530 src/bos/sbin/rc.boot/
rc.boot.sh 1.58.2.134
bad 5.3 (for lack of better description)
# bos53H src/bos/sbin/rc.boot/
rc.boot.sh 1.58.2.149
I know this is a comment line in the file, but I can tell that these
weren't installed with the identical OS Disks.
For the next approx 225 lines, they are the same. Then in the bad
5.3, I get a function that is like:
cfg_iscsi_sw() {
But I don't have that in my my 5.3 system. Further down the bad 5.3,
it tests 'bootinfo -i' to see if it should run cfg_iscsi_sw(). I ran
it from the command line and it returned 0 and I don't have any iscsi
devices, so that makes sense.
Most of the rest of the bad 5.3 rc.boot file is similar, but the main
difference is that the bad 5.3 uses variables for things like
mounting /usr and slightly different paths, etc. Here is an example:
My 5.3:
# Mount /usr
/../usr/lib/methods/showled 0x517 "MOUNT /USR"
echo "rc.boot: executing \"fsck -fp /usr\"" \
>>/../tmp/boot_log
/../usr/sbin/fsck -fp /usr
echo "rc.boot: executing \"mount /usr\"" \
>>/../tmp/boot_log
/../usr/sbin/mount /usr
[ "$?" -ne 0 ] && loopled 0x518 "/USR MNT FAILED"
The bad 5.3:
# Mount /usr
/../usr/lib/methods/showled 0x517 "MOUNT /USR"
echo "rc.boot: executing \"fsck -fp /usr\"" \
>>/../tmp/boot_log
/../usr/sbin/fsck -fp /usr 2>&1 | \
/../usr/bin/tee -a /../tmp/boot_log
echo "rc.boot: executing \"mount /usr\"" \
>>/../tmp/boot_log
{ /../usr/sbin/mount /usr 2>&1; \
print $? >/../tmp/rc; } | \
/../usr/bin/tee -a /../tmp/boot_log
read rc </../tmp/rc
[ "$rc" -ne 0 ] && loopled 0x518 "/USR MNT FAILED"
Here is my 5.3 rc.boot info:
-rwxrwxr-- 1 root system 25024 Jul 12 2004 /sbin/rc.boot
And here is the bad 5.3 rc.boot info:
-rwxrwxr-- 1 root system 28846 Mar 26 2006 /sbin/rc.boot
As far as the inittab, other than the difference in terminal ports,
everything is the same from the init:2:initdefault: down to
rctcpip:...
After that line, the bad 5.3 has
sniinst:2:wait:/var/adm/sni/sniprei > /dev/console 2>&1
And my 5.3 doesn't have that line.
Also, my 5.3 has:
cons:0123456789:respawn:/usr/sbin/getty /dev/console
But the bad 5.3 has it much further down in the inittab file. In my
5.3 inittab it is on line 44, in the bad it line 70.
The bad 5.3 also has:
ntbl_reset:2:once:/usr/bin/ntbl_reset_datafiles
rcml:2:once:/usr/sni/aix53/
rc.ml > /dev/console 2>&1
xmdaily:2:once:/usr/bin/xmwlm -L 2>&1 >/dev/null # Start xmwlm daily
recording
vty1:2:off:/usr/sbin/getty /dev/vty1
dt_nogb:2:wait:/etc/rc.dt
Also, I hadn't thought of looking at the errpt. The last time we
tried to boot was on Saturday, Feb 18th and we got a SysPlanar error
in errpt:
-----------------------------------------------------------
LABEL: SCAN_ERROR_CHRP
IDENTIFIER: BFE4C025
Date/Time: Sat Feb 18 07:19:59 PST 2012
Sequence Number: 18032
Machine Id: 0004BDF4D700
Node Id: risc36
Class: H
Type: PERM
Resource Name: sysplanar0
Resource Class: planar
Resource Type: sysplanar_rspc
Location:
Description
UNDETERMINED ERROR
Failure Causes
UNDETERMINED
Recommended Actions
RUN SYSTEM DIAGNOSTICS.
Thanks again for all of your help