1.grid-ftp-server出现错误:
500-OpenSSL Error: a_verify.c:162: in library: asn1 encoding routines, function ASN1_verify: EVP lib^M
500-OpenSSL Error: rsa_eay.c:580: in library: rsa routines, function RSA_EAY_PUBLIC_DECRYPT: padding check failed^M
500-OpenSSL Error: rsa_pk1.c:100: in library: rsa routines, function RSA_padding_check_PKCS1_type_1: block type is not
说明ca安装的权限有问题。换用globus用户安装
出现错误:
ERROR: could not run build command: /usr/local/globus-4.0.0/sbin/gpt-build -force /home/globus/.globus/simpleCA//globus_simple_ca_ebddef2e_setup-0.18.tar.gz
说明权限依然有问题
#su
#cd /usr/local/
#chown -R globus:globus globus-4.0.0/
重新使用globus用户执行命令:
2.[globus@xly simpleCA]$ $GLOBUS_LOCATION/setup/globus/setup-simple-ca
ok了:
500-OpenSSL Error: a_verify.c:162: in library: asn1 encoding routines, function ASN1_verify: EVP lib^M
500-OpenSSL Error: rsa_eay.c:580: in library: rsa routines, function RSA_EAY_PUBLIC_DECRYPT: padding check failed^M
500-OpenSSL Error: rsa_pk1.c:100: in library: rsa routines, function RSA_padding_check_PKCS1_type_1: block type is not
说明ca安装的权限有问题。换用globus用户安装
出现错误:
ERROR: could not run build command: /usr/local/globus-4.0.0/sbin/gpt-build -force /home/globus/.globus/simpleCA//globus_simple_ca_ebddef2e_setup-0.18.tar.gz
说明权限依然有问题
#su
#cd /usr/local/
#chown -R globus:globus globus-4.0.0/
重新使用globus用户执行命令:
2.[globus@xly simpleCA]$ $GLOBUS_LOCATION/setup/globus/setup-simple-ca
ok了:
错误:
以globus启动gridftp
出现错误:
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity (/O=Grid/OU=GlobusTest/OU=simpleCA-xly/CN=xly), and the expected name for the remote entity (/CN=host/ws31-89.jlu.edu.cn.) do not match
3.以root启动gridftp
出现错误:
error: globus_ftp_client: the server responded with an error
530 530-globus_xio: Server side credential failure
530-globus_gsi_gssapi: Error with gss credential handle
530-globus_credential: Valid credentials could not be found in any of the possible locations specified by the credential search order.
530-Valid credentials could not be found in any of the possible locations specified by the credential search order.
530-
530-Attempt 1
530-
530-globus_credential: Error reading host credential
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: File is not owned by current user: /etc/grid-security/hostcert.pem is not owned by current user
530-
530-Attempt 2
530-
530-globus_credential: Error reading proxy credential
530-globus_sysconfig: Could not find a valid proxy certificate file location
530-globus_sysconfig: Error with key filename
530-globus_sysconfig: File does not exist: /tmp/x509up_u0 is not a valid file
530-
530-Attempt 3
530-
530-globus_credential: Error reading user credential
530-globus_sysconfig: Error with certificate filename: The user cert could not be found in:
530-1) env. var. X509_USER_CERT
530-2) $HOME/.globus/usercert.pem
530-3) $HOME/.globus/usercred.p12
修改 cd /etc/grid-security
chown root:root hostcert.pem
chmod 644 hostcert.pem
4.出现下面的错误:
[xly@xly grid-security]$ globus-url-copy -vb -dbg gsiftp://xly:5000/home/globus/sound.log file:///home/xly/
Source: gsiftp://xly:5000/home/globus/
Dest: file:///home/xly/
sound.log
debug: starting to get gsiftp://xly:5000/home/globus/sound.log
debug: connecting to gsiftp://xly:5000/home/globus/sound.log
debug: response from gsiftp://xly:5000/home/globus/sound.log:
220 GridFTP Server ws31-89.jlu.edu.cn. 2.0 (gcc32dbg, 1114447190-1) ready.
debug: authenticating with gsiftp://xly:5000/home/globus/sound.log
debug: fault on connection to gsiftp://xly:5000/home/globus/sound.log: globus_ftp_control: gss_init_sec_context failed
debug: data callback, error globus_ftp_control: gss_init_sec_context failed, buffer 0x40389008, length 0, offset=0, eof=true
debug: operation complete
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity (/O=Grid/OU=GlobusTest/OU=simpleCA-ws31-89.jlu.edu.cn./CN=host/xly), and the expected name for the remote entity (/CN=host/ws31-89.jlu.edu.cn.) do not match
[xly@xly grid-security]$ globus-url-copy -vb -dbg gsiftp://xly:5000/home/globus/sound.log file:///home/xly/
Source: gsiftp://xly:5000/home/globus/
Dest: file:///home/xly/
sound.log
debug: starting to get gsiftp://xly:5000/home/globus/sound.log
debug: connecting to gsiftp://xly:5000/home/globus/sound.log
debug: response from gsiftp://xly:5000/home/globus/sound.log:
220 GridFTP Server ws31-89.jlu.edu.cn. 2.0 (gcc32dbg, 1114447190-1) ready.
debug: authenticating with gsiftp://xly:5000/home/globus/sound.log
debug: fault on connection to gsiftp://xly:5000/home/globus/sound.log: globus_ftp_control: gss_init_sec_context failed
debug: data callback, error globus_ftp_control: gss_init_sec_context failed, buffer 0x40389008, length 0, offset=0, eof=true
debug: operation complete
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity (/O=Grid/OU=GlobusTest/OU=simpleCA-ws31-89.jlu.edu.cn./CN=host/xly), and the expected name for the remote entity (/CN=host/ws31-89.jlu.edu.cn.) do not match
以globus启动gridftp
出现错误:
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity (/O=Grid/OU=GlobusTest/OU=simpleCA-xly/CN=xly), and the expected name for the remote entity (/CN=host/ws31-89.jlu.edu.cn.) do not match
3.以root启动gridftp
出现错误:
error: globus_ftp_client: the server responded with an error
530 530-globus_xio: Server side credential failure
530-globus_gsi_gssapi: Error with gss credential handle
530-globus_credential: Valid credentials could not be found in any of the possible locations specified by the credential search order.
530-Valid credentials could not be found in any of the possible locations specified by the credential search order.
530-
530-Attempt 1
530-
530-globus_credential: Error reading host credential
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: File is not owned by current user: /etc/grid-security/hostcert.pem is not owned by current user
530-
530-Attempt 2
530-
530-globus_credential: Error reading proxy credential
530-globus_sysconfig: Could not find a valid proxy certificate file location
530-globus_sysconfig: Error with key filename
530-globus_sysconfig: File does not exist: /tmp/x509up_u0 is not a valid file
530-
530-Attempt 3
530-
530-globus_credential: Error reading user credential
530-globus_sysconfig: Error with certificate filename: The user cert could not be found in:
530-1) env. var. X509_USER_CERT
530-2) $HOME/.globus/usercert.pem
530-3) $HOME/.globus/usercred.p12
修改 cd /etc/grid-security
chown root:root hostcert.pem
chmod 644 hostcert.pem
4.出现下面的错误:
[xly@xly grid-security]$ globus-url-copy -vb -dbg gsiftp://xly:5000/home/globus/sound.log file:///home/xly/
Source: gsiftp://xly:5000/home/globus/
Dest: file:///home/xly/
sound.log
debug: starting to get gsiftp://xly:5000/home/globus/sound.log
debug: connecting to gsiftp://xly:5000/home/globus/sound.log
debug: response from gsiftp://xly:5000/home/globus/sound.log:
220 GridFTP Server ws31-89.jlu.edu.cn. 2.0 (gcc32dbg, 1114447190-1) ready.
debug: authenticating with gsiftp://xly:5000/home/globus/sound.log
debug: fault on connection to gsiftp://xly:5000/home/globus/sound.log: globus_ftp_control: gss_init_sec_context failed
debug: data callback, error globus_ftp_control: gss_init_sec_context failed, buffer 0x40389008, length 0, offset=0, eof=true
debug: operation complete
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity (/O=Grid/OU=GlobusTest/OU=simpleCA-ws31-89.jlu.edu.cn./CN=host/xly), and the expected name for the remote entity (/CN=host/ws31-89.jlu.edu.cn.) do not match
[xly@xly grid-security]$ globus-url-copy -vb -dbg gsiftp://xly:5000/home/globus/sound.log file:///home/xly/
Source: gsiftp://xly:5000/home/globus/
Dest: file:///home/xly/
sound.log
debug: starting to get gsiftp://xly:5000/home/globus/sound.log
debug: connecting to gsiftp://xly:5000/home/globus/sound.log
debug: response from gsiftp://xly:5000/home/globus/sound.log:
220 GridFTP Server ws31-89.jlu.edu.cn. 2.0 (gcc32dbg, 1114447190-1) ready.
debug: authenticating with gsiftp://xly:5000/home/globus/sound.log
debug: fault on connection to gsiftp://xly:5000/home/globus/sound.log: globus_ftp_control: gss_init_sec_context failed
debug: data callback, error globus_ftp_control: gss_init_sec_context failed, buffer 0x40389008, length 0, offset=0, eof=true
debug: operation complete
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity (/O=Grid/OU=GlobusTest/OU=simpleCA-ws31-89.jlu.edu.cn./CN=host/xly), and the expected name for the remote entity (/CN=host/ws31-89.jlu.edu.cn.) do not match
5.vi /etc/hosts
#ip hostname dns alis
MYIP xly ws31-89.jlu.edu.cn. xly
使用root用户启动gridftp服务
cd /etc/grid-security
./globus-gridftp-server -S
#ip hostname dns alis
MYIP xly ws31-89.jlu.edu.cn. xly
使用root用户启动gridftp服务
cd /etc/grid-security
./globus-gridftp-server -S
在客户端使用xly用户传送文件
globus-url-copy -vb -dbg gsiftp://xly:5000/home/globus/sound.log file:///home/xly/
ok了!功夫不负有心人!
globus-url-copy -vb -dbg gsiftp://xly:5000/home/globus/sound.log file:///home/xly/
ok了!功夫不负有心人!