Basically this happens when routes with lower AD values are present in the routing table ( for example EIGRP-90 or OSPF-110) . So the BGP route cannot be inserted into the routing table because the EIGRP or OSPF route is preferred in the route table.
If you run "sh ip bgp rib-failure" on the router it gives exact reason why it was not installed in the routing table.