Ensure that both endpoints' interfaces are set to support OSPF. There could be an OSPF Network Type mismatch. Check that the Hello and Dead times on both ends of the link are the same. The OSPF Areas of neighbouring interfaces must be the same.