패치 오류 (error code)

2010.05.12 03:31

조인상 조회 수:6363

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++



패치 오류 (error code)

0 No error
1 Usage error
2 Attempt to apply a patch that\'s already been applied
3 Effective UID is not root
4 Attempt to save original files failed
5 pkgadd failed
6 Patch is obsoleted
7 Invalid package directory
8 Attempting to patch a package that is not installed
9 Cannot access /usr/sbin/pkgadd (client problem)
10 Package validation errors
11 Error adding patch to root template
12 Patch script terminated due to signal
13 Symbolic link included in patch
14 NOT USED
15 The prepatch script had a return code other than 0.
16 The postpatch script had a return code other than 0.
17 Mismatch of the -d option between a previous patch install and the current one.
18 Not enough space in the file systems that are targets of the patch.
19 $SOFTINFO/INST_RELEASE file not found
20 A direct instance patch was required but not found
21 The required patches have not been installed on the manager
22 A progressive instance patch was required but not found
23 A restricted patch is already applied to the package
24 An incompatible patch is applied
25 A required patch is not applied
26 The user specified backout data can\'t be found
27 The relative directory supplied can\'t be found
28 A pkginfo file is corrupt or missing
29 Bad patch ID format
30 Dryrun failure(s)
31 Path given for -C option is invalid
32 Must be running Solaris 2.6 or greater
33 Bad formatted patch file or patch file not found
34 The appropriate kernel jumbo patch needs to be installed
34 Incorrect patch spool directory
35 Later revision already installed

2번, 8번, 35번은 무시 가능하다.
2: 이미 설치된 패치임
8: 패키지가 설치되지 않았음(패치할 소프트웨어가 설치되지 않았음)
35: 최신 버전이 이미 설치되었음. (최근에 추가된 코드임)

34번은 두가지 의미가 있는 것이 아니라, 두개중 하나일 것 같다. 필자도 전자로 알고있었으나, 최근 인터넷상에는 후자로 표기된 곳이 눈에 띄인다. (갱신된듯)

5번, 10, 30번 오류가 난 경우 다운로드가 잘 되었는지 부터 살피는 것이 좋다. (패치를 다운로드 하다가 깨지는 경우도 있다)

pkgadd를 두번 동시에 실행하는 경우 오류가 생기기도 한다.

나머지 코드는 패치하다 오류코드를 본 적이 없다. ^^;
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 20160
73 솔라리스 10 매뉴얼 file 조인상 2010.05.12 14213
72 Solaris 10 IP 관리 file 조인상 2012.01.03 14048
71 C++ 테스트 코드 조인상 2010.05.12 14047
70 EIS install 방법 조인상 2010.05.12 13787
69 SUN 하드웨어 점검방법 조인상 2010.05.12 13536
68 Sun Fire V440 V445 Server_admin_guide file 조인상 2012.06.07 12678
67 number of files (nofiles : File descriptor)값 변경하는 법 조인상 2010.05.12 11752
66 같은아이디로 여러번 로그인(멀티로그인) 금지 방법 조인상 2010.05.12 10673
65 모니터해상도가 맞지 않아 화면이 크거나 작게 나올때 조인상 2010.05.12 10570
64 센드메일 에러 config error: mail loops back to me (MX problem?) 조인상 2010.05.12 10258
63 utmp, utmpx, wtmp 및 wtmpx 파일을 읽는 방법 조인상 2010.05.12 10016
62 최대 프로세스 확인하는 방법과 변경 방법 조인상 2010.05.12 9876
61 솔라리스 버전별 유저수 / 한 파일시스템에 만들수 있는 파일개수 조인상 2010.05.12 9864
60 OS 디스크 복사(dump) 하기 조인상 2010.05.12 9360
59 ethernet speed 및 mode 변경방법 조인상 2010.05.12 9314
58 솔라리스 이더넷카드 인터페이스 종류 조인상 2010.05.12 8991
57 하드 디스크 모델넘버 읽는 법 조인상 2010.05.12 8865
56 썬장비 점검시 주요 점검사항 [1] 조인상 2010.05.09 8807
55 솔라리스 DVD 파일 합치기 조인상 2010.05.12 8684
54 SDS RAID 5 에서 hotspare 디스크 교체 조인상 2010.05.12 8672
서버에 요청 중입니다. 잠시만 기다려 주십시오...