On checking event log viewer,found something related to postgresql error.
description from source postgresql not found. either component is not installed or installation is corrupted.
"select c.cretedon from __migratonhistory limit 1" gives error like created on does not exist.
Do not know how to fix this?