problem sounded as if the battery was not charged fully. replaced with new battery, it still does it, but with the new battery it will start usually after removing key and trying again.
engine won't turn over, remove key and try again and most of the time it starts. on 2006 Mercedes-Benz R500
sounds like a security system problem