database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Q&A 29627 게시물 읽기
No. 29627
p패치 관련해서요...
작성자
R.A.T.M Yo!~
작성일
2007-02-01 17:57
조회수
974

리눅스에서 오라클 설치중 Error occurred during initialization of VM Unable to load native library: /tmp~~~~ 어쩌구저쩌구........


하는 error를 만났는대요...


여기저기서 다들 p3006854패치를 하라던대....


metalink가입방법도 모르겠고....


딴님들이 가보라는 싸이트는 문을 닫은듣하고...


정말 답답합니다...ㅠ.ㅠ


도와주세요~~~ 저에게 제발 패치를 보내주세요~!~!~! ^^;;

이 글에 대한 댓글이 총 1건 있습니다.

#!/bin/bash

USER=`whoami`
if [ $USER != root ]; then
  echo "Must be root to run this script, please login as root and re-try"
  exit
fi

# see if libcwait.so is already being loaded
if [ -f "/etc/ld.so.preload" ] && [ -n "`grep libcwait /etc/ld.so.preload`" ]; then
  echo "Patch has already been applied"
  exit
else
  echo "Applying patch..."
fi

cat << EOF |
#include <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
pid_t
__libc_wait (int *status)
{
  int res;
  asm volatile ("pushl %%ebx\n\t"
                "movl %2, %%ebx\n\t"
                "movl %1, %%eax\n\t"
                "int \$0x80\n\t"
                "popl %%ebx"
                : "=a" (res)
                : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0), "S" (0));
  return res;
}
EOF
gcc -O2 -shared -fpic -xc - -o /etc/libcwait.so
# Check we built libcwait.so
if [ -f "/etc/libcwait.so" ]; then
  echo "/etc/libcwait.so" >>/etc/ld.so.preload
  echo "Ensuring permissions are correctly set..."
  chown root.root /etc/libcwait.so /etc/ld.so.preload
  chmod 755 /etc/libcwait.so
  chmod 444 /etc/ld.so.preload
  echo "Done."
  echo "Patch successfully applied"
else
  echo "Patch installation failed, Please fix errors and try again."
fi


위의 내용을 shell file로 만들어서 돌리시면 됩니다. (요청하신 패치에 들어 있는 shell입니다.)

손님님이 2007-02-02 15:01에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
29630START WITH 계층형 질의 구조에서 삭제 방법.. [2]
궁금이
2007-02-02
2314
29629ORA 12514 TNS 리스너가 현재 접속 기술자에 요청된 서비스를 알지 못함 [1]
윤승호
2007-02-01
2718
29628날짜관련 질문입니다.
궁금
2007-02-01
1228
29627p패치 관련해서요... [1]
R.A.T.M Yo!~
2007-02-01
974
29626누락된 우괄호... [1]
유닉스
2007-02-01
2717
29625dbms_output.put_line() 에서..
초보님
2007-02-01
1145
29624[재질문] 공통코드변경에 의한 원장update문 관련! [1]
희망초롱
2007-02-01
1060
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.022초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다