As the error message says, the service name could not be resolved. This means that the tnsnames.ora entry for one or both of the instances is not present or is incorrect. Correct your tnsnames.ora file and try again. To determin which one it is try to connect to both from SQL*Plus. Whichever you can't connect to is the problem.

Cheers