Print

Print


Steve Thorn wrote:

> Hello,
> 
> I've just upgraded to LCG 2.5.0 with yaim 2.5.0-1 and can't connect to
> the BDII:

Is your OS RH7.3?

In that case you need to add this line to /etc/hosts.allow:

slapd : 127.0.0.1

> # ldapsearch -x -H ldap://ce.epcc.ed.ac.uk:2170 -b
> mds-vo-name=ScotGRID-Edinburgh,o=grid
> ldap_bind: Can't contact LDAP server
> 
> The processes are listening on the correct ports:
> 
> # netstat -taupn|grep 217.
> tcp        0      0 129.215.175.18:2170         0.0.0.0:*
> LISTEN      5362/bdii-fwd [acce
> tcp        0      0 127.0.0.1:2171              0.0.0.0:*
> LISTEN      4935/slapd
> tcp        0      0 127.0.0.1:2172              0.0.0.0:*
> LISTEN      5648/slapd
> tcp        0      0 127.0.0.1:2173              0.0.0.0:*
> LISTEN      5863/slapd
> tcp        0      0 127.0.0.1:2172              127.0.0.1:32927
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32940
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32941
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32943
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2172              127.0.0.1:32933
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32953
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32954
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32956
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32945
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32946
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32947
> TIME_WAIT   -
> tcp        0      0 127.0.0.1:2173              127.0.0.1:32951
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         192.108.45.61:57415
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         193.144.34.54:57185
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         155.198.216.148:46990
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         203.199.58.86:42581
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         130.246.183.191:48532
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         137.138.152.207:45042
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         131.154.100.38:34981
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         192.16.186.252:49914
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         140.109.98.100:38232
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         194.190.161.11:41971
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         140.109.98.156:53636
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         134.158.98.212:36135
> TIME_WAIT   -
> tcp        0      0 129.215.175.18:2170         193.206.185.155:52163
> TIME_WAIT   -
> 
> The logfile /opt/bdii/var/bdii-fwd.log shows
> ...
> 20050630_163747 [Connect from 129.215.175.21:32877]
> 20050630_163747 [Connecting to localhost...done]
> 20050630_163747 Forked process 7705 -> 2172
> 20050630_163747 Reaped process 7705 (genNr 11)
> ...
> 
> I get the same result with iptables disabled.
> 
> Any ideas?
> 
> cheers
> Steve
> 
> _________________________
> Steve Thorn
> 
> Systems Administrator
> National e-Science Centre
> 15 South College Street
> Edinburgh EH8 9AA
> United Kingdom
> 
> Tel: +44 (0)131 650 9815