tnsping works fine but sqlplus gives ORA-12514
I have just installed a peoplesoft database on the RHEL 7.6 server and getting the error - tnsping works fine but sqlplus gives error
[oracle2@dpums1 db]$ tnsping IH91U008
TNS Ping Utility for Linux: Version 12.1.0.2.0 - Production on 26-FEB-2019 17:57:24
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Used parameter files:
/u01/psft/cs91pi11/db/oracle-server/12.1.0.2/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dpums1.itsc.cuhk.edu.hk)(PORT = 1522))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = IH91U008)))
OK (10 msec)
[oracle2@dpums1 db]$ sqlplus sysadm@IH91U008
SQL*Plus: Release 12.1.0.2.0 Production on Tue Feb 26 17:57:34 2019