It is not right to make a promise unless one is sure he can fulfill the promise.
This sentence contains one main and two subordinate clauses.
The main clause is It is not right to make a promise, and the two subordinate clauses are unless one is sure and he can fulfill the promise.