Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
설치 후 sqlplus 실행 시도 시 위와 같은 오류가 뜰 때, 다음 과정을 거쳐 해결할 수 있다.
오라클 설치 계정으로 로그인
vi .bash_profile
ORACLE_HOME=/usr/oracle/app/product/11.2.0/dbhome_1
export ORACLE_HOME
다시 로그인 후,
chmod -R 755 $ORACLE_HOME/sqlplus
chmod 755 $ORACLE_HOME/sqlplus
chmod 755 $ORACLE_HOME/sqlplus/mesg
chmod 755 $ORACLE_HOME/sqlplus/mesg/sp1us.msb
chmod 755 $ORACLE_HOME/nls
chmod 755 $ORACLE_HOME/nls/data
chmod 755 $ORACLE_HOME/nls/data/lx1boot.nlb
chmod 755 $ORACLE_HOME/oracore
chmod 755 $ORACLE_HOME/oracore/zoneinfo
chmod 755 $ORACLE_HOME/oracore/zoneinfo/timezlrg.dat
※ 출처 : http://blog.naver.com/egirl5/110024064052
ORA-12162 "TNS:net service name is incorrectly specified"
sqlplus 접속 후, ID/PASS 입력 후 위 오류를 뿜을 때,
oracle 계정의 홈 디렉토리에서, 해당 파일에 환경 변수 내용을 추가한다.
vi .bash_profile
ORACLE_SID=orcl
export ORACLE_SID