반응형

impdp ORA-31640 ORA-31693 ORA-19505 ORA-27037


금일 IMPDP 명령어로


상콤하게 import 작업을 하다가 위와 같은 ora 에러르 만났다...


처음엔 깜놀 했다가


parallel 옵션 을 사용할 때 dump 파일을 모든 rac 노드가  읽지 못하기 때문이라고 알게되었다


cluster=N 옵션을 통해 해결 가능하다


아래는 원문이다.


When I am trying to import schema, The impdp is failed to open dump file. see below script I am using.

$ cat parfile.par
USERID='/ as sysdba'
DIRECTORY=IMP_DP
DUMPFILE=SMARTSUPPY_SCHEMA.dmp
logfile=SMARTSUPPY_SCHEMA_09nov2014.log
parallel=10
SCHEMAS='SMARTSUPPY_SCHEMA'

I got below error while import..

ORA-31693: Table data object "SMARTSUPPY_SCHEMA"."BPM_TRANS_90000":"P297" failed to load/unload and is being skipped due to error:
ORA-31640: unable to open dump file "/export/APSDBSR-1351/SMARTSUPPY_SCHEMA.dmp" for read
ORA-19505: failed to identify file "/export/APSDBSR-1351/SMARTSUPPY_SCHEMA.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
. . imported "SMARTSUPPY_SCHEMA"."BPM_TRANS_90000":"P315"      265.3 MB 1484775 rows
. . imported "SMARTSUPPY_SCHEMA"."TRC_HOP_T_90000":"P139"      219.7 MB 1402774 rows

The issue is due to I am using PARALLEL=10, so the dump file directory not being accessible from all nodes in the RAC. When we use PARALLEL > 1 option the child thread will be started in other node to complete the job faster, when job started in other node the dump file can't access the file. Due to this we receive this error. To fix the issue either you place the dump file to be accessed from all the nodes in that RAC environment or use cluster=N option.

Added cluster=N parameter in parfile and started the import again. 

$ cat parfile.par
USERID='/ as sysdba'
DIRECTORY=IMP_DP
DUMPFILE=SMARTSUPPY_SCHEMA.dmp
logfile=SMARTSUPPY_SCHEMA_09nov2014.log
parallel=10
SCHEMAS='SMARTSUPPY_SCHEMA'
CLUSTER=N
$

$ nohup impdp parfile=parfile.par &
[1] 27620
> nohup: ignoring input and appending output to `nohup.out'
$
$ jobs -l
[1]+ 27620 Running                 nohup impdp parfile=parfile.par &
$

$ tail -f SMARTSUPPY_SCHEMA_09nov2014.log
Master table "SYS"."SYS_IMPORT_SCHEMA_03" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_SCHEMA_03":  /******** AS SYSDBA parfile=parfile.par
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "SMARTSUPPY_SCHEMA"."BPM_COMPONENTS_90000":"P475"  1.956 GB 6711857 rows
. . imported "SMARTSUPPY_SCHEMA"."BPM_COMPONENTS_90000":"P480"  1.965 GB 6794127 rows
. . imported "SMARTSUPPY_SCHEMA"."BPM_COMPONENTS_90000":"P474"  1.958 GB 6727517 rows
. . imported "SMARTSUPPY_SCHEMA"."BPM_COMPONENTS_90000":"P479"  1.921 GB 6616816 rows
. . imported "SMARTSUPPY_SCHEMA"."BPM_COMPONENTS_90000":"P478"  1.903 GB 6512491 rows
. . imported "SMARTSUPPY_SCHEMA"."BPM_COMPONENTS_90000":"P481"  1.909 GB 6618578 rows

Hope this will help you.. :)

Best Regards,
Chowdari


출처 : http://mbc-dba.blogspot.kr/2014/11/impdp-ora-31640-ora-31693-ora-19505-ora.html

반응형
반응형

- 시큐어 코딩 점검 툴


시큐어 코딩 점검 툴을 검색하던중


yasca 로 꽤 괜찮은 (아마도 사용자가 임의 패턴 추가 기능이 있으며, c,java,c++등 다양한 언어지원되는점) 툴이 있음을 발견 하였다.

(오픈 소스 무료임...)


품질 검증 분야 무료 툴 소개 : http://www.oss.kr/oss_intro13


소스 코드 보안 툴 : http://samate.nist.gov/index.php/Source_Code_Security_Analyzers.html


yasca 메인 페이지 : http://www.scovetta.com/yasca.html



- 야스카(?) 소개 


Written by STG Security 천영철 님이 작성하신 pdf 파일



Introduce Yasca Source Code Analysis Tool_STGSecurity_incle.pdf


(인터넷 검색으로 얻었습니다. 문제가 되면 지우겠습니다. ~)


- 야스카 홈페이지에서 얻은 메뉴얼


yasca-manual.pdf



설치


위치 : http://sourceforge.net/projects/yasca/files/Yasca%202.x/Yasca%202.1/


현재는 2.1버전이 최신


yasca-2.1.zip



압축을 풀면 윈도우즈 용 exe 파일이 존재하고


path 설정 후


             set SA_HOME=c:\static-tools\

             yasca <target directory>



위의 기본 파일 이외에는 추가 라이브러리이며,


설치 파일에는


새로 받은 라이브러리 파일들을 위의 yesca-2.1.zip 파일의 압축 푼 곳에 같이 풀면 된다고 정의함.



추가 플러그인..



yasca-2.1-cppcheck.zip


yasca-2.1-fxcop.zip


yasca-2.1-javascriptlint.zip


yasca-2.1-jlint.zip


yasca-2.1-phplint.zip


yasca-2.1-pixy.zip


yasca-2.1-rats.zip


yasca_clamav_pmd_findbugs.z01


yasca_clamav_pmd_findbugs.z02


yasca_clamav_pmd_findbugs.z03


yasca_clamav_pmd_findbugs.z04


yasca_clamav_pmd_findbugs.z05


yasca_clamav_pmd_findbugs.z06


yasca_clamav_pmd_findbugs.z07


yasca_clamav_pmd_findbugs.z08


yasca_clamav_pmd_findbugs.z09


yasca_clamav_pmd_findbugs.z10


yasca_clamav_pmd_findbugs.zip





반응형
반응형
ssl 암호 걸린것 크랙 시키기...

openssl 을 통한 복호화...

crt는 pem 파일을 확장자만 바꾼것임...

openssl enc -d -des3 -in test.crt -out test.txt

뭐.. 암호를 알면 바로 테스트가 가능하겠지만...

bad...

쩝...

출처 : http://neophob.com/2007/10/ssh-private-key-cracker/

크랙커... ssl cracker

너무 많이 알려주면 보안 취약 -_-ㅋ





john-mmx 관련
출처 : http://www.openwall.com/john/


반응형

'Private' 카테고리의 다른 글

OPENSSL 패스워드 변경  (0) 2011.10.20
존 더 리퍼 john-mmx  (1) 2011.09.28
Aircrack-ng is an 802.11 WEP and WPA/WPA2-PSK key cracking program.  (1) 2011.09.09
퇴직 연금  (0) 2011.01.11
산모가 자신의 태반 먹는다?  (0) 2010.02.27

+ Recent posts