On Sun, Oct 23, 2005 at 05:09:00PM +0200, Antun Balaz wrote:
> 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"
Yes, yaim sets this in config_sysconfig_globus.
Anyway, it seems globus will accept both -> see
io/source/library/globus_io_core.c:globus_i_common_get_env_pair
> 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.
It seems myproxy only accepts the one with ',' -> see
myproxy.c:myproxy_init_client
> 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?
I think you can use ','.
This is a known problem (bug #9992 in savannah) and will be fixed in
2.7.0 by setting MYPROXY_TCP_PORT_RANGE.
--
Valentin
|