What's in /etc/sysconfig/network? This is where the hostname is set
at boot time.
Hostname should generally always be set to the routed interface of
dual homed hosts.
g
On 8 Nov 2007, at 17:30, Giuseppe Mazza wrote:
> Hi *,
>
> I have the following problem. I have nearly installed a new CE, but
> the mds is listining on the machine name associated to the internal
> interface:
>
> ----------------------------------------------------------------------
> ------------------
> [root@ce03 functions]# ldapsearch -x -H ldap://ce03.htc.esc.qmul:
> 2135 -b
> mds-vo-name=local,o=grid | head -n 4
> version: 2
>
> #
> # filter: (objectclass=*)
> ----------------------------------------------------------------------
> ------------------
>
> while the external interface gives
> ----------------------------------------------------------------------
> ------------------
> [root@ce03 functions]# ldapsearch -x -H ldap://ce03.esc.qmul.ac.uk:
> 2135
> -b mds-vo-name=local,o=grid | head -n 4
> ldap_bind: Can't contact LDAP server
> ----------------------------------------------------------------------
> ------------------
>
> The reason is
> ----------------------------------------------------------------------
> ------------------
> [root@ce03 functions]# grep hostname config_globus
> if [ "$GRIDICE_SERVER_HOST" = "`hostname -f`" ]; then
>
> ce03.htc.esc.qmul
> ----------------------------------------------------------------------
> ------------------
>
>
>
> How do people handle this case?
> How does it work if you use "hostname -f" command on a machine with
> more
> than 1 interface?
>
> Cheers
> Giuseppe
--
Dr Graeme Stewart - http://wiki.gridpp.ac.uk/wiki/User:Graeme_stewart
ScotGrid - http://www.scotgrid.ac.uk/ http://scotgrid.blogspot.com/
|