ora 12154 refers tnsnames.ora/listener.ora etc.
You might need to run catalog.sql and catproc.sql as userid SYS/INTERNAL and try accessing db.