Make sure you are running the sqlplus from the correct home ie the infrastructure home where the database is installed.