Hi,
Can the bdii find the web config file?
What value do you have for BDII_UPDATE_CONFIG_FILE in the bdii config file?
/opt/lcg/var/bdii/lcg-bdii.conf
Can you download the file.
wget http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii/dteam/lcg2-all-sites.conf
Laurence
-----Original Message-----
From: LHC Computer Grid - Rollout on behalf of Nicolescu, Edward L
Sent: Thu 09/12/2004 18:28
To: [log in to unmask]
Cc:
Subject: [LCG-ROLLOUT] BDII error
Folks,
I am encountering the following problem with the BDII node at BNL-LCG2.
When manually running
/opt/lcg/libexec/lcg-bdii-update /opt/lcg/var/bdii/lcg-bdii.conf
I get this error message:
[root@lcg-bdii bdii]# /opt/lcg/libexec/lcg-bdii-update /opt/lcg/var/bdii/lcg-bdii.conf
Use of uninitialized value in print at /opt/lcg/libexec/lcg-bdii-update line 66.
Updated configuration.
Waiting 30 s for query results.
Time for searches: 0 s
cat: /opt/lcg/var/bdii/tmp/*.ldif: No such file or directory
Time to sort: 0 s
Time to update DB: 0 s
Stopping BDII [ OK ]
Starting BDII READ port: 2170 [ OK ]
Starting BDII WRITE port: 2171 [ OK ]
Running the above command also wipes out the contents of
/opt/lcg/var/bdii/lcg-bdii-update.conf (becomes zero-sized):
[root@lcg-bdii bdii]# ls -l lcg-bdii-update.conf
-rw-r--r-- 1 root root 0 Dec 9 12:12 lcg-bdii-update.conf
The following env vars in lcg-bdii.conf are set as below:
BDII_AUTO_UPDATE=yes
BDII_HTTP_URL=http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii//dteam/lcg2-all-sites.conf
Running wget http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii//dteam/lcg2-all-sites.conf <http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii/dteam/lcg2-all-sites.conf>
always downloads the lcg2-all-sites.conf without any problem.
Any hints of what might be going wrong here ? Thanks.
Edward Nicolescu
Brookhaven Nat'l Labs
------------------------ additional info -----------------------------
The configuration information as reported by "qxprof":
[root@lcg-bdii tmp]# qxprof lcgbdii
slapd=/opt/openldap/libexec/slapd
pidread=/opt/lcg/var/bdii/slapd-read.pid
ng_statusdisplay=yes
portread=2170
databaseread=/opt/lcg/var/bdii/LDAP-read
temp=/opt/lcg/var/bdii/tmp
url=http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii//dteam/lcg2-all-sites.conf
ng_cfdepend=<lcgbdii
schema=1
portwrite=2171
auto=yes
ldapread=/opt/lcg/etc/lcg-bdii-read-slapd.conf
filter='*'
ng_reconfig=configure
bind=mds-vo-name=local,o=grid
databasewrite=/opt/lcg/var/bdii/LDAP-write
ldapwrite=/opt/lcg/etc/lcg-bdii-write-slapd.conf
pidwrite=/opt/lcg/var/bdii/slapd-write.pid
user=edguser
ng_schema=1
slapadd=/opt/openldap/sbin/slapadd
timeout=30
file=/opt/lcg/var/bdii/lcg-bdii-update.conf
|