Thanks for the suggestion rolli59.
I resolved the issue . It was the ATX 12v 8-pin power supply to CPU was not plugged in securely. so although all parts of MOBO incuding the cpu fan get power, the CPU didnot get power and hence my problem.
I firm push and everything is now working.