ha 스크립트 step3 Permission denied, please try again

by QA posted Sep 25, 2013

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
centos6.4 x86
CUBRID Ver.
CUBRID 9.1.0.0212 - Linux64
CUBRID TOOL Ver.

응용 환경(API)


* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------

##### step 3 ###################################################################

#

# copy scripts to master node

#

# * details

# - scp scripts to '~/.ha' on [MasterHost](master).

#

################################################################################

 

continue ? ([y]es / [n]o / [s]kip) : y

 

[cubrid@[SlaveHost]]$ tar -zcf ha.tgz ha

[cubrid@[MasterHost]]$ rm -rf /home/cubrid/.ha

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

[cubrid@[SlaveHost]]$ scp -l 131072 -r ./../ha.tgz cubrid@[MasterHost]:/home/cubrid

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

lost connection

[cubrid@[MasterHost]]$ tar -zxf ha.tgz

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

[cubrid@[MasterHost]]$ mv ha /home/cubrid/.ha

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

[cubrid@[MasterHost]]$ mkdir /home/cubrid/.ha/backup

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied, please try again.

cubrid@[MasterHost]'s password:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

 

 

 

##### step 4 ###################################################################

#

# copy scripts to replication node

#

# * details

# - scp scripts to '~/.ha' on replication node.

#

################################################################################

 

continue ? ([y]es / [n]o / [s]kip) : s


............................ skipped .......

 

 

 

 

 

##### step 5 ###################################################################

#

# check environment of all ha node

#

# * details

# - test $CUBRID == /home/cubrid/CUBRID

# - test $CUBRID_DATABASES == /home/cubrid/CUBRID/databases

# - test -d /home/cubrid/CUBRID/databases

# - test $CUBRID_CHARSET == en_US

#

################################################################################

 

continue ? ([y]es / [n]o / [s]kip) : y

 

[cubrid@[MasterHost]]$ sh /home/cubrid/.ha/functions/ha_check_environment.sh -t /home/cubrid/.ha -o /home/cubrid/.ha/env.output -c /home/cubrid/CUBRID -d /home/cubrid/CUBRID/databases -r /home/cubrid/CUBRID/databases -l en_US

 

[cubrid@[SlaveHost]]$ scp -l 131072 -r cubrid@[MasterHost]:/home/cubrid/.ha/env.output /home/cubrid/.ha/env.output/[MasterHost]

 

[cubrid@[SlaveHost]]$ sh ./functions/ha_check_environment.sh -t /home/cubrid/.ha -o /home/cubrid/.ha/env.output/[SlaveHost] -c /home/cubrid/CUBRID -d /home/cubrid/CUBRID/databases -r /home/cubrid/CUBRID/databases -l en_US -s

<< ERROR >> [MasterHost]'s environment is different others.


Step3 에서 y를 누르면


중간에 Permission denied, please try again.

뜨고 엔터 3번을 치면 명령문을 수행하긴 하는데
이부분에서도 문제가 있는걸까요?