Cause: a database link connected to a database with a different name. The connection is rejected. See the solution below.
Error solution: create a database link with the same name as the database it connects to, or set global_names=false.
Database version: Oracle 11g Release 2 (11.2)