Check the tnsnames.ora file in the unix machine and see that the entry for the database is existing.