FIND AND CORRECT THE ERROR
By the time I was 15 ,my father had been marrying for 30 years.
Also, please note the position of your comma after "15". You had put a space, then the comma, then no space before "my". I have corrected the positioning above.
(Not a teacher)
By the way, ""had been married" is a state not an action.