프린트 하기

실습환경

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


오류

ls 등 명령어 입력 시 에러메세지 출력

ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory


해결방법

vi .bash_profile LD_ASSUME_KERNEL 값 수정

[root@oracle ~]# uname -a  입력 후

Linux oracle 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:37:40 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

커널 버전 확인 후

vi .bash_profile 들어가서

(xshell에서 안 들어가지면 vm 터미널로 이동, 그래도 안되면 gui에서 /home/oracle 들어가서 Ctrl+h 눌리면 숨김파일 보임 거기서 .bash_profile 열기 후)

기존 : export LD_ASSUME_KERNEL=2.4.1

변경 : export LD_ASSUME_KERNEL=2.6.32

후 reboot

참고 : http://angelhyun.tistory.com/53