Johan Gunnarsson wrote: > Steve Traylen wrote: > >>On Thu, Nov 03, 2005 at 10:27:27AM +0100 or thereabouts, Johan Gunnarsson wrote: >> >> >>>Steve Traylen wrote: >>> >>> >>>>>>If you mod the lcg-info-generic.conf file you should probably >>>>>># /opt/lcg/sbin/lcg-info-generic-config /opt/lcg/var/gip/lcg-info-generic.conf >>>>>> >>>>>>to update the static file. >>>>>> >>>>>>Steve >>>>> >>>>>I'm afraid this didn't help. However I can run pbsnodes, qstat and so on >>>> >>>>>from the command line on the CE and get proper output. It just seems >>>> >>>> >>>>>like the GIIS never get the output from the lcg-info-dynamic-pbs script. >>>> >>>> >>>>If you run the info provider by hand does it work? >>>> >>>># su - edginfo -c '/opt/lcg/libexec/lcg-info-wrapper' >>>> >>>>Steve >>> >>>Yes, and in difference from an ldapsearch it gives the correct cpu values: >> >> >>Just to check you ldapsearch'ing the GRIS and not the BDII? >> >>ldapsearch -x -H ldap://ce-name:2135 -b 'Mds-vo-name=local,o=Grid' >> >>for the GRIS and >> >>ldapsearch -x -H ldap://ce-name:2170 -b 'Mds-vo-name=SITE_NAME,o=Grid' >> >>for the site BDII. >> >>If it is the gris that is failing then you can add more (far to much) >>logging to it with >> >>local4.* /var/log/mds.log >> >>in your /etc/syslog.conf && /sbin/service syslog reload >> >> Steve >> >> > > > I get 0 when ldapsearch'ing both the GRIS and the BDII. /var/log/mds.log > didn't show any errors when i turned on logging. Put this extra line in /opt/lcg/libexec/lcg-info-wrapper: env | sort > /tmp/env.$$ Then repeat the ldapsearch until a file /tmp/env.* appears. Compare its contents with the environment you have in the interactive shell: chances are that some directory is missing in the PATH.