프린트 하기

내맘대로긍정이 알려주는

Oracle 23ai 신기능
무료 세미나 발표자료

다운로드 trending_flat

실습환경

Oracle Linux 6.8 + Oracle 데이터베이스 11g R2 P4 


오류

asmcmd 문제 ]

[oracle@rac1 ~]$ asmcmd

Connected to an idle instance.

sh: /app/oracle/product/11.2.0/db_1/bin/clsecho: No such file or directory

ASMCMD> ls

Can't exec "/app/oracle/product/11.2.0/db_1/bin/clsecho": No such file or directory at /app/oracle/product/11.2.0/db_1/lib/asmcmdshare.pm line 494, <STDIN> line 1.

Use of uninitialized value $buf in string ne at /app/oracle/product/11.2.0/db_1/lib/asmcmdshare.pm line 498, <STDIN> line 1.


해결방법

. oraenv로 asm1로 바꿔준 다음 다시 asmcmd 접속

[oracle@rac1 ~]$ . oraenv

ORACLE_SID = [+ASM] ? +ASM1

The Oracle base has been changed from /app/oracle to /app/grid

[oracle@rac1 ~]$ asmcmd

ASMCMD> ls

OCR_VOTE/

ORADATA/

ORAFRA/