Patterens
Two Session
Session 1: . Minor Troubleshooting . Major Troubleshooting
Session 2: .RedHat Certified Technician .RedHat Certified Engineering
Session 1:
Minor Troubleshooting:
It Contains two phase. They are asked in eight question for your First phase. In a first phase contains four compulsory question and fout non-compulsory. So you have do not problem in first Session because they are not consider to as a mark. It is a qualification for next session.
But you have mind these are all four compulsory question you must to solve. Whether It means you become to a next session or you come out to the Exam.
Major Troubleshooting:
They are given two big problem.They are not consider as a mark when you have solved that's problem or else.
Session 2:
RedHat Certified Technician[RHCT]:
It contains ten question. They are given to ten marks for each question. You should solved to minimum seven question of ten(7/10).That's scored you are passed otherwise failed.That means a minimum pass mark in RHCT. Then you get RHCT International Certification.It will be consider to for every solved problem as a mark. If you solved to every problem to get upto ten marks.
RedHat Certified Engineering[RHCE]:
It contains ten question. They are given to ten marks for each question. You should solved to minimum seven question of ten(7/10).That's scored you are passed otherwise failed.That means a minimum pass mark in RHCE. Then you get RHCE International Certification.It will be consider to for every solved problem as a mark. If you solved to every problem to get upto ten marks.
Note: To given additional Three question for yourself. So dont problem to get a certification.
Major Troubleshooting:
It Mainly to Five Type of Problem from They are asked.
1.fstab-problem
2.grub-problem
3.initrd file problem
4.grub file installation problem
5.Bash problem
Do that given Procedure:
--> Boot from CD.
--> boot: linux rescue method.
chroot /mnt/sysimage
#mkdir /r
#mkdir /b
#mount /dev/hda1 /b
#mount /dev/hda3 /r
#vi /r/etc/fstab
#/dev/hda3 / ext3 defaults 1 1
#/dev/hda1 /boot ext3 defaults 1 2
:wq
vi /b/grub/grub.conf
kernel /vmlinuz-2.6.18-8.el5
ro root=/dev/hda3 rhgh quiet
:wq
-->Then Reboot Your System
Boot from harddisk linux Operating system. If booting means problems are solved[ok].
Otherwise booting from CD.
#chroot /mnt/sysimage
chroot:cannot run command '/bin/sh '
No such file or directory.
So
#/mnt/sysimage/bin/bash
#cp /usr/bin/bash /mnt/sysimage/bin/bash
#chroot /mnt/sysimage
#grub-install /dev/hda
#cd /boot
#ls
Now if you have initrd files reboot for your system otherwise make initrd image.
#cat /etc/grub.conf
#mkinitrd /boot/initrd-2.6.18.8.el5.img
--> to change below same
2.6.18.8.el5
-->save and exit
-->then reboot from your system.
Minor Troubleshooting:
It Mainly to Five Type of Problem from They are asked.
1.fstab-problem
2.grub-problem
3.initrd file problem
4.grub file installation problem
5.Bash problem
Do these work first:
-----------------------------------------------------First Problem-------------------------------------------------------
Go to single user mode and change user password.After you try to login.
Come to same problem to that means change to your attribute file. Such as given.,
#lsattr /etc/passwd
#lsattr /etc/shadow
#chattr -i /etc/passwd i->for Immunable.It Maeans readonly operations are performed.
#chattr -i /etc/shadow i->for Immunable.It Maeans readonly operations are performed.
Now you will to change a user password.
#passwd root
Try to login
#login
If you login. It means proceed otherwise check to the passwd file
#vi /etc/passwd
root:x:0;0:root:/root: /sbin/login--> ( change login to bash)
After you have to change that file to below have it
#root:x:0;0:root:/root: /sbin/bash
Then open to shadow file..
#vi /etc/shadow
root:!xxxxx /:13946:0:99997:7::13936
_______ _____
passwd was locked. passward was expired.
So want to unlocked user passward in a file.
#passwd -u root -->this command is used to unlock to that file.
#change -E never root
-----------------------------------------------------Second Problem-------------------------------------------------------
go for #vi /etc//securetty1
delete include of all text in that file and type given instruction to that file.
In mind have you dont to give a blank space for every line.
console
vclo
vcl1
vcl2
vcl3
vcl4
vcl5
tty1
tty2
tty3
tty4
tty5
:wq
and to save it.
#ls -l /etc/securetty
-rwxrwxrwx 1 root root
chmod 600 /etc/securetty
-----------------------------------------------------Third Problem------------------------------------------------------
go for #vi /etc/pam.d/login
to change given same
pam--> securetty
pam--> nologin., so
then go for
#setup-> authconfig-> next
-----------------------------------------------------Fourth Problem-----------------------------------------------------
go for #vi /etc/rc.local
touch /etc/nologin ----> to remove this line in rc.local file
:wq
init 3
login: root
passwd: redhat [to give any password ,when you went to single user mode on that time gave that password]
Session 2:
RedHat Certified Technician[RHCT]:
It contains ten question. They are given to ten marks for each question. You should solved to minimum seven question of ten(7/10).That's scored you are passed otherwise failed.That means a minimum pass mark in RHCT. Then you get RHCT International Certification.It will be consider to for every solved problem as a mark. If you solved to every problem to get upto ten marks.
Note: To given additional Three question for yourself. So dont problem to get a certification.
Session 2:
RedHat Certified Engineering[RHCE]:
It contains ten question. They are given to ten marks for each question. You should solved to minimum seven question of ten(7/10).That's scored you are passed otherwise failed.That means a minimum pass mark in RHCE. Then you get RHCE International Certification.It will be consider to for every solved problem as a mark. If you solved to every problem to get upto ten marks.
Note: To given additional Three question for yourself. So dont problem to get a certification.
Have fun
!
Webmaster