'cadmin'에 해당되는 글 1건

  1. 2012.03.28 Search Server의 로그 삭제 (cadmin)

Search Server의 로그 삭제 (cadmin)

View Comments


Search Server의 로그를 삭제하기 위해서, cadmin 명령어를 사용합니다.

하지만, cadmin이 정상작동하지 않을때 다음과 같은 방법을 사용하면 됩니다.

<오류사항>

[potlap1:/alui/G6/ptsearchserver/6.1/bin #] cadmin runlevel standby

Setting NODEHOME to /alui/G6/ptsearchserver/6.1/potlap101/

Using '/alui/G6/ptsearchserver/6.1/cluster' as CLUSTER_HOME

topology:

potlap101, partition 0, 172.20.2.44:15250

Sent SETNODESTATUS to potlap101 successfully

waiting 15 seconds before getting status...

Time               : 2011-11-29T15:43:29-09:00

Docset TID         : 0_1_0

Lexicon TID        : 0_1_0

Checkpoint TID     : Invalid

Query/Index States : unavailable/unavailable

Cluster home kBytes used: 5, free: 902970

potlap101 0 172.20.2.44:15250 0_83_44146 0_83_44146 standby

 

[potlap1:/alui/G6/ptsearchserver/6.1/bin #] cadmin purge -remove

Setting NODEHOME to /alui/G6/ptsearchserver/6.1/potlap101/

Using '/alui/G6/ptsearchserver/6.1/cluster' as CLUSTER_HOME

topology:

potlap101, partition 0, 172.20.2.44:15250

This command will empty the entire cluster of documents.  Are you sure

you want to do this? (Y/N):Placing all nodes into READONLY mode...

Failed!  Unexpected exception while sending SETNODESTATUS to potlap101, Error during response parsing: admin element missing state attribute.

Failed -- couldn't place node potlap101 into READONLY mode 


다음과 같이 실행합니다.

 1.  Search 서비스 중지

2.  다음의 폴더 하위의 파일 삭제

Ÿ /requests/

Ÿ /repartitions/

Ÿ /checkpoints/

3.  Index 폴더 하위의 “1” 폴더 하위의 파일 삭제

Ÿ ~/ptsearchserver/6.1/index/1

4.  ~/ptsearchserver/6.1/index/1 위치에서 다음 명령어를 실행

Ÿ ~/bin/native/emptyarchive lexicon archive

Ÿ ~bin/native/emptyarchive spell spell

 5. Search 서비스 기동 


참조 사이트 : https://forums.oracle.com/forums/thread.jspa?threadID=867714



Comments (+add yours?)

Tracbacks (+view to the desc.)

Newer Entries Older Entries