OS/SOLARIS2007. 7. 20. 03:42
반응형
패치 오류 (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 Incorrect patch spool directory 
35 Later revision already installed 
36 Cannot create safe temporary directory 
37 Illegal backout directory specified 
38 A prepatch, prePatch or a postpatch script could not be executed 
 
2번, 8번, 35번은 무시 가능하다. 
2: 이미 설치된 패치임 
8: 패키지가 설치되지 않았음(패치할 소프트웨어가 설치되지 않았음) 
35: 최신 버전이 이미 설치되었음. 
 
5번, 10, 30번 오류가 난 경우 다운로드가 잘 되었는지 부터 살피는 것이 좋다. (패치를 다운로드 하다가 깨지는 경우도 있다) 
 
pkgadd를 두번 동시에 실행하는 경우 오류가 생기기도 한다. 
 
나머지 코드는 패치하다 오류코드를 본 적이 없다. ^^; 
----- 
2004년 12월 30일: 36,37번 추가 
2005년 1월 11일: 38번 추가
반응형

'OS > SOLARIS' 카테고리의 다른 글

Solaris 설치 후 기본적인 설정  (0) 2007.07.25
Solaris,HP-UX 에서 패치  (0) 2007.07.20
Trunking  (0) 2007.07.20
solaris 10 DVD 여러개 파일 한개이미지로 합치기  (0) 2007.07.19
IPMP에 대하여  (0) 2007.07.19
Posted by [PineTree]