Hi Chris,
I think this came up before and is a Savannah bug - try disabling SELinux.
Daniela
2009/12/17 Chris Curtis <[log in to unmask]>:
> Hi -
>
> I'm trying to deploy a glite-VOBOX on SL5, but I'm having some trouble. It
> will eventually be an Alice VOBox, but right now I'd settle for a working
> glite-VOBOX.
>
> My specific problem is that I can't contact the BDII service on the box, ie
> the query:
>
> ldapsearch -x -v -h epgr03.ph.bham.ac.uk -p 2170 -b "o=grid"
>
> fails with the message:
>
> ldap_initialize( ldap://epgr03.ph.bham.ac.uk:2170 )
> ldap_bind: Can't contact LDAP server (-1)
>
> I have configured the box with and without iptables running (!), so I don't
> think it's the firewall. In my /etc/hosts.allow I have
>
> slapd: 127.0.0.1
>
> To install and configure I did the following:
>
> yum -y install lcg-CA
> yum -y install glite-VOBOX
> /opt/glite/yaim/bin/yaim -c -s /root/yaim-conf/site-info.def -n lcg-VOBOX
>
> My site-info.def can be found here:
>
> http://epweb2.ph.bham.ac.uk/user/curtis/site-info.def.vobox.txt
>
> In terms of running services, I can see:
>
> 18958 ? Ssl 0:00 /usr/sbin/slapd -f /opt/bdii/etc/bdii-slapd.conf
> -h ldap://epgr03.ph.bham.ac.uk:2170 -u edguser
> 19015 ? S 0:00 /usr/bin/python /opt/bdii/bin/bdii-update -c
> /opt/bdii/etc/bdii.conf -d
>
> and if I use the command `netstat -atun`, I can see:
>
> tcp 0 0 147.188.46.50:2170 0.0.0.0:*
> LISTEN
>
> There are no entries for ports 2171 or 2172. The only relevant log file I
> can find is /var/log/bdii/bdii-update.log, which just tells me:
>
> 2009-12-17 11:59:05,573: [ERROR] Query to self failed.
> ldap_result: Can't contact LDAP server (-1)
> ldap_result: Can't contact LDAP server (-1)
>
> This has got me completely stumped. Any and all help and advice gratefully
> receieved (even if it's just an up to date twiki page).
>
> Cheers,
>
> Chris
>
> --
> West 326
> Physics and Astronomy
> University of Birmingham
> Edgbaston
> Birmingham
> B15 2TT
>
> (Office) 0121 414 4700
> (Mobile) 0798 666 1959
>
--
-----------------------------------------------------------
HEP Group
Physics Dep
Imperial College
Tel: +44-(0)20-75947810
http://www.hep.ph.ic.ac.uk/~dbauer/
|