Do the following

1. Make the global_names parameter as false on both the databases.

2.SQL> create public database link ora1 connect to scott identified by tiger using 'ora1';

Hope this will solve your problem