I have a p550 that we put a mksysb on. I addev xvfb to the system and added the following lines to inittab (via vi - yea yea I shouldn't have done it with vi)
:xvfb:2:respawn:/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :n
/dev/null 2>&1
:startX:2nce:/etc/rc.startX > /dev/console 2>&1rc
commented out on purpose. - DBA wanted to start vi rc file to make sure X stuff started before Oracle.
Upon reboot hung on 517 - fsck'd fs and did
fsck -p /dev/hd4
fsck -p /dev/hd2
fsck -p /dev/hd3
fsck -p /dev/hd9var
fsck -p /dev/hd1
/usr/sbin/logform /dev/hd8
upon reboot hung on 553 (indicated problem with inittab)
Tried to go in and manipulate iniitab. I can not:
delete/move/chitab/lsitab/rmitab
I've tried everything I can think of including
ls -ali /etc/inittab
# ls -ali inittab
1995 -rw-r--r-- 1 root system 3024 Sep 14 15:16 inittab
#
#
# rm inittab
rm: remove inittab? y
rm: inittab not removed.
No such file or directory
#
#
# mv inittab bad.inittab
mv: cannot rename inittab to bad.inittab:
No such file or directory
#
# find . -inum 1995 -exec rm {} \;
rm: remove ./inittab? y
rm: ./inittab not removed.
No such file or directory
#
#
file systems are not full mounts look normal:
# mount
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/ram0 / jfs Jan 01 00:03 rw
/dev/cd0 /SPOT cdrfs Sep 17 16:11 ro
/dev/hd4 / jfs2 Sep 17 16:13 rw,log=/dev/hd8
/dev/hd2 /usr jfs2 Sep 17 16:13 rw,log=/dev/hd8
/dev/hd3 /tmp jfs2 Sep 17 16:13 rw,rbw,rbr,log=/dev/hd8
/dev/hd9var /var jfs2 Sep 17 16:13 rw,rbw,rbr,log=/dev/hd8
#
#
# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/ram0 1179648 1162532 2% 1791 1% /
/dev/cd0
df: /SPOT: No such file or directory
/dev/hd4 1179648 1162532 2% 1791 1% /
/dev/hd2 4980736 2912212 42% 34391 6% /usr
/dev/hd3 3145728 2987936 6% 1005 1% /tmp
/dev/hd9var 1179648 1154684 3% 454 1% /var
#
#
IBM has not been terribly helpful so far. It seems like a long time ago I had a file (not inittab) that behaved the same way but I can't for the life of me remember what I did to finally get rid of it.
Help!!
:xvfb:2:respawn:/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :n
/dev/null 2>&1
:startX:2nce:/etc/rc.startX > /dev/console 2>&1rc
commented out on purpose. - DBA wanted to start vi rc file to make sure X stuff started before Oracle.
Upon reboot hung on 517 - fsck'd fs and did
fsck -p /dev/hd4
fsck -p /dev/hd2
fsck -p /dev/hd3
fsck -p /dev/hd9var
fsck -p /dev/hd1
/usr/sbin/logform /dev/hd8
upon reboot hung on 553 (indicated problem with inittab)
Tried to go in and manipulate iniitab. I can not:
delete/move/chitab/lsitab/rmitab
I've tried everything I can think of including
ls -ali /etc/inittab
# ls -ali inittab
1995 -rw-r--r-- 1 root system 3024 Sep 14 15:16 inittab
#
#
# rm inittab
rm: remove inittab? y
rm: inittab not removed.
No such file or directory
#
#
# mv inittab bad.inittab
mv: cannot rename inittab to bad.inittab:
No such file or directory
#
# find . -inum 1995 -exec rm {} \;
rm: remove ./inittab? y
rm: ./inittab not removed.
No such file or directory
#
#
file systems are not full mounts look normal:
# mount
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/ram0 / jfs Jan 01 00:03 rw
/dev/cd0 /SPOT cdrfs Sep 17 16:11 ro
/dev/hd4 / jfs2 Sep 17 16:13 rw,log=/dev/hd8
/dev/hd2 /usr jfs2 Sep 17 16:13 rw,log=/dev/hd8
/dev/hd3 /tmp jfs2 Sep 17 16:13 rw,rbw,rbr,log=/dev/hd8
/dev/hd9var /var jfs2 Sep 17 16:13 rw,rbw,rbr,log=/dev/hd8
#
#
# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/ram0 1179648 1162532 2% 1791 1% /
/dev/cd0
df: /SPOT: No such file or directory
/dev/hd4 1179648 1162532 2% 1791 1% /
/dev/hd2 4980736 2912212 42% 34391 6% /usr
/dev/hd3 3145728 2987936 6% 1005 1% /tmp
/dev/hd9var 1179648 1154684 3% 454 1% /var
#
#
IBM has not been terribly helpful so far. It seems like a long time ago I had a file (not inittab) that behaved the same way but I can't for the life of me remember what I did to finally get rid of it.
Help!!