메뉴 닫기

오라클 설치시 check if the display variable is set.failed oracle 오류

xwindow와 vnc설정 후 오라클 설치 과정에서 vnc로 접속해 ./runInstaller 입력하면 ui창으로 인스톨 창이 나와야 하는데 콜솔창에서 글씨만 주구장창 나온다.

ui를 나오게 하기 위해서는 다음 처럼 작업을 진행 하면 된다.

su – oracle로 계정을 변경하고

cd database

./runInstaller실행시 아래와 같이 에러가 난다.

 

$./runInstaller

Starting Oracle Universal Installer…

 

Checking Temp space: must be greater than 120 MB.   Actual 44130 MB    Passed

 

Checking swap space: must be greater than 150 MB.   Actual 10047 MB    Passed

 

Checking monitor: must be configured to display at least 256 colors

 

    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

 

Some requirement checks failed. You must fulfill these requirements before

 

continuing with the installation,

 

Continue? (y/n) [n] y

 —————————->>>이렇게 나오면 안된다.

root user로 변경한 후  xhost +를 실행

#xhost +

 access control disabled, clients can connect from any host ->>나와도 상관없음.

#xclock(화면에 UI로 아날로그 시계가 뜬다. 시계를 닫고)

#xterm(다른 화면으로 터미널이 뜬다. user는 root이다.)

#xclock (다시 시계가 뜨는지 확인후 시계를 닫는다.)

#echo $DISPLAY(display를 확인한다.)

:0

 

#su – oracle(오라클 계정으로 변경)

$xclock(시계가 뜨는지 확인한다.- 아마도 에러가 날것이다.)

Error: can’t open display

 

$export DISPLAY=:0(DISPLAY 값을 root계정의 DISPLAY 값과 동일하게 맞춰 준다.)

$xclock (다시 시계가 뜨는지확인)

$./runInstaller

정상적으로 실행이되어 화면이 나온다

[polldaddy rating=”7739789″]

Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
백지선
백지선
6 years ago

감사합ㄴ디ㅏ ㅠㅠ

ㅁㄴㅇ
ㅁㄴㅇ
1 year ago

정말 감사합니다

2
0
Would love your thoughts, please comment.x
()
x