Hi Antun,
the current definition of GLOBUS_TCP_PORT_RANGE is perfectly valid;
we needed to use a space instead of a comma as separator to avoid a
problem with job submission to PBS.
If MyProxy supports GLOBUS_TCP_PORT_RANGE, it should allow for the
comma to be used. In any case, there is an easy work-around:
define MYPROXY_TCP_PORT_RANGE with a comma as separator;
the next release will have YAIM do that standard.
-----Original Message-----
From: LHC Computer Grid - Rollout on behalf of Antun Balaz
Sent: Sun 10/23/2005 5:09 PM
To: [log in to unmask]
Subject: [LCG-ROLLOUT] GLOBUS_TCP_PORT_RANGE
Hi *,
in order to be able to retrieve credentials from the MyProxy server to an
UI, obviously you need to have some free ports on the UI. As you may see
from the e-mail below, the correct syntax for the GLOBUS_TCP_PORT_RANGE
should be something like
GLOBUS_TCP_PORT_RANGE="20000,25000"
and NOT as we all have (Do we? At least I do) have in /etc/sysconfig/globus
GLOBUS_TCP_PORT_RANGE="20000 25000"
With this (incorrect) syntax, just the port 20000 is used, and if it is
occupied by some other process, myproxy-get-delegation fails... I have
verified this.
However, will this change create some other problems if made on all nodes,
i.e. does anything depend on the exact syntax
GLOBUS_TCP_PORT_RANGE="20000 25000"
and will fail if the space is replaces by the comma?
Thanks, Antun
---------- Forwarded Message -----------
From: Jim Basney <[log in to unmask]>
To: "Antun Balaz" <[log in to unmask]>
Cc: [log in to unmask]
Sent: Sun, 23 Oct 2005 09:37:16 -0500
Subject: Re: TCP Port Range for myproxy-get-delegation
Hello Antun,
Your syntax for GLOBUS_TCP_PORT_RANGE isn't correct. The two port
numbers should be separated by a comma, not a space, like "20000,25000".
I think that should solve the problem. If not, let me know.
-Jim
Antun Balaz <[log in to unmask]> wrote:
> Hi Jim,
> I have problems in retrieving the credential stored on my MyProxy server
> from my UI. Storing credential works, but SOMETIMES getting delegation
does
> not work and returns:
>
> ----------------------
> [antun@ce antun]$ myproxy-get-delegation
> Enter MyProxy pass phrase:
> Error: Error in bind()
>
> Failed to receive a proxy.
> ----------------------
>
> Since it sometimes work, I am aware that this have to do with the the
> GLOBUS_TCP_PORT_RANGE from one of your previous e-mails on the list - I
have
> inscreased it from "20000 25000" to "20000 45000" on both UI and MyProxy
> server, but am still having the problems. What should be restarted on
those
> machines? I have rebooted MyProxy server, but UI is also a CE, so I cannot
> just reboot it, since there are a lot of running jobs on it. Do I have to
> tune something more?
>
> Thanks for your help,
>
> Antun Balaz
> AEGIS01-PHY-SCL EGEE Site Manager
>
> -----
> E-mail: [log in to unmask]
> Web: http://scl.phy.bg.ac.yu/
>
> Phone: +381 11 3160260, Ext. 152
> Fax: +381 11 3162190
>
> Scientific Computing Laboratory
> Institute of Physics, Belgrade
> Serbia and Montenegro
> -----
------- End of Forwarded Message -------
-----
E-mail: [log in to unmask]
Web: http://scl.phy.bg.ac.yu/
Phone: +381 11 3160260, Ext. 152
Fax: +381 11 3162190
Scientific Computing Laboratory
Institute of Physics, Belgrade
Serbia and Montenegro
-----
|