xinetd does not appear to be a legal option; what document instructed
you to use that? I believe it should just be "-inetd".
Charles
On Oct 6, 2008, at 10:45 AM, Yoichi Takayama wrote:
Trying the real gatekeeper 2119(tcp):
$ globus-job-run "grid2.ramscommunity.org:2119:/O=Grid/OU=GlobusTest/
OU=simpleCA-grid2.ramscommunity.org/OU=ramscommunity.org/CN=Yoichi
Takayama" /bin/date
GRAM Job submission failed because the connection to the server
failed (check host and port) (error code 12)
Trying the real gatekeeper 2119(tcp) with telnet:
$ telnet -l '/O=Grid/OU=GlobusTest/OU=simpleCA-
grid2.ramscommunity.org/OU=ramscommunity.org/CN=Yoichi Takayama'
grid2.ramscommunity.org 2119
Trying 137.111.246.176...
Connected to grid2.ramscommunity.org (137.111.246.176).
Escape character is '^]'.
Unknown argument -xinetd
Usage: globus-gatekeeper {-conf parmfile [-test]} | {[-d[ebug] [-
inetd | -f] [-p[ort] port] [-home path] [-l[ogfile] logfile] [-e
path] [-grid_services file] [-globusid globusid] [-gridmap file] [-
globuspwd file] [-x509_cert_dir path] [-x509_cert_file file] [-
x509_user_cert file] [-x509_user_key file] [-x509_user_proxy file] [-
k] [-globuskmap file] [-test]}
Connection closed by foreign host.
Yoichi
--------------------------------------------------------------------------
Yoichi Takayama, PhD
Senior Research Fellow
RAMP Project
MELCOE (Macquarie E-Learning Centre of Excellence)
MACQUARIE UNIVERSITY
Phone: +61 (0)2 9850 9073
Fax: +61 (0)2 9850 6527
www.mq.edu.au
www.melcoe.mq.edu.au/projects/RAMP/
--------------------------------------------------------------------------
MACQUARIE UNIVERSITY: CRICOS Provider No 00002J
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please delete it and notify the sender. Views expressed in this
message are those of the individual sender, and are not necessarily
the views of Macquarie E-Learning Centre Of Excellence (MELCOE) or
Macquarie University.
On 07/10/2008, at 1:49 AM, Charles Bacon wrote:
If you have a real gatekeeper on 2119, you can submit to that as a
test also, and get a log in the normal location.
globus-personal-gatekeeper also has logs. See the -help for the -
list and -directory options to find the temporary directory used.
Charles
On Oct 6, 2008, at 9:16 AM, Yoichi Takayama wrote:
Hi
Thanks for the reply, but this is the test (personal-gatekeeper)
and as I said it does not leave any log entry in the real log:
$GLOBUS_LOCATION/var/globus-gatekeeper.log. No new entry is there
around the time the error occurred. (I will check earlier error -
maybe at the start up time errors).
---------------------------------------------------------
$ myproxy-logon -s grid2 (or grid-prpxy-init)
$ globus-personal-gatekeeper -start
GRAM contact: grid2.ramscommunity.org:37335:/O=Grid/OU=GlobusTest/
OU=simpleCA-grid2.ramscommunity.org/OU=ramscommunity.org/CN=Yoichi
Takayama
$ globus-job-run "grid2.ramscommunity.org:37335:/O=Grid/
OU=GlobusTest/OU=simpleCA-grid2.ramscommunity.org/
OU=ramscommunity.org/CN=Yoichi Takayama" /bin/date
GRAM Job submission failed because data transfer to the server
failed (error code 10)
(just trying single quote for the user QN in case)
$ globus-job-run grid2.ramscommunity.org:37335:'/O=Grid/
OU=GlobusTest/OU=simpleCA-grid2.ramscommunity.org/
OU=ramscommunity.org/CN=Yoichi Takayama' /bin/date
GRAM Job submission failed because the connection to the server
failed (check host and port) (error code 12)
$ globus-personal-gatekeeper -killall
killing gatekeeper: "grid2.ramscommunity.org:37335:/O=Grid/
OU=GlobusTest/OU=simpleCA-grid2.ramscommunity.org/
OU=ramscommunity.org/CN=Yoichi Takayama"
---------------------------------------------------------
The entry seems to be correct in the /etc/grid-security/grid-mapfile
---------------------------------------------------------
# cat /etc/grid-security/grid-mapfile
"/O=Grid/OU=GlobusTest/OU=simpleCA-grid2.ramscommunity.org/
OU=ramscommunity.org/CN=Yoichi Takayama" yoichi
---------------------------------------------------------
Also, $GLOBUS_LOCATION/etc/globus-gatekeeper.conf seems OK
---------------------------------------------------------
# cat $GLOBUS_LOCATION/etc/globus-gatekeeper.conf
-x509_cert_dir /etc/grid-security/certificates
-x509_user_cert /etc/grid-security/hostcert.pem
-x509_user_key /etc/grid-security/hostkey.pem
-gridmap /etc/grid-security/grid-mapfile
-home /usr/local/globus
-e libexec
-logfile var/globus-gatekeeper.log
-port 2119
-grid_services etc/grid-services
-xinetd
-seg
---------------------------------------------------------
xintet.d for the gatekeeper is set up.
---------------------------------------------------------
# cat /etc/xinetd.d/globus-gatekeeper
service gsigatekeeper
{
socket_type = stream
protocol = tcp
wait = no
user = root
env = LD_LIBRARY_PATH=/usr/local/globus/lib
server = /usr/local/globus/sbin/globus-gatekeeper
server_args = -conf /usr/local/globus/etc/globus-gatekeeper.conf
disable = no
}
---------------------------------------------------------
Port 2119 is in the /etc/services and it is LISTENning.
Thanks,
Yoichi
--------------------------------------------------------------------------
Yoichi Takayama, PhD
Senior Research Fellow
RAMP Project
MELCOE (Macquarie E-Learning Centre of Excellence)
MACQUARIE UNIVERSITY
Phone: +61 (0)2 9850 9073
Fax: +61 (0)2 9850 6527
www.mq.edu.au
www.melcoe.mq.edu.au/projects/RAMP/
--------------------------------------------------------------------------
MACQUARIE UNIVERSITY: CRICOS Provider No 00002J
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please delete it and notify the sender. Views expressed in this
message are those of the individual sender, and are not
necessarily the views of Macquarie E-Learning Centre Of Excellence
(MELCOE) or Macquarie University.
On 07/10/2008, at 12:33 AM, Charles Bacon wrote:
Googling for that error string returns a copy of the old GT2 GRAM
error FAQ:
http://drupal.star.bnl.gov/STAR/?q=node/424#transfer
Try following the advice in that entry.
Charles
On Oct 6, 2008, at 7:49 AM, Yoichi Takayama wrote:
Hi Charles,
I am trying to install Pegasus with Globus 4.2.0 and Condor 7.0.1.
Apparently Pegasus submits a job via port 2119, I think that it
is the gatekeeper (GRAM2).
Since GT 4.2.0 contains GRAM2, I have configured the gatekeeper
and jobmanager as your instructions:
GT 4.2.0 GRAM2: Admin Guide:
http://www.globus.org/toolkit/docs/4.2/4.2.0/execution/gram2/admin/index.html
Although it uses grid-proxy-init, I think that myproxy should
also work. (I have also installed certs etc. for grid-proxy-init
as the instructions told me).
However, the test described in the instructions (http://www.globus.org/toolkit/docs/4.2/4.2.0/execution/gram2/admin/gram2-admin-testing.html
) fails with:
------------------------------------------------------------------------------
$ globus-job-run "grid2.ramscommunity.org:42762:/O=Grid/
OU=GlobusTest/OU=simpleCA-grid2.ramscommunity.org/
OU=ramscommunity.org/CN=Yoichi Takayama" /bin/date
Mon Oct 6 23:00:16 EST 2008
GRAM Job submission failed because data transfer to the server
failed (error code 10)
------------------------------------------------------------------------------
Since the normal log file for gatekeeper (var/globus-
gatekeeper.log) does not seem to record the globus-personal-
gatekeeper, I cannot tell more than this.
My steps are described at:
http://wiki.ramp.org.au/display/vmware/4.9+Globus+-+Node+2+-+GRAM2+(gsigatekeeper%2C+jobmanager)
Can you think of some possible causes for this?
Your help would be greatly appreciated.
Regards,
Yoichi
--------------------------------------------------------------------------
Yoichi Takayama, PhD
Senior Research Fellow
RAMP Project
MELCOE (Macquarie E-Learning Centre of Excellence)
MACQUARIE UNIVERSITY
Phone: +61 (0)2 9850 9073
Fax: +61 (0)2 9850 6527
www.mq.edu.au
www.melcoe.mq.edu.au/projects/RAMP/
--------------------------------------------------------------------------
MACQUARIE UNIVERSITY: CRICOS Provider No 00002J
This message is intended for the addressee named and may contain
confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views
expressed in this message are those of the individual sender,
and are not necessarily the views of Macquarie E-Learning Centre
Of Excellence (MELCOE) or Macquarie University.