1835894 Members
3423 Online
110086 Solutions
New Discussion

Evadiscovery fails

 
Pacek Maciej
New Member

Evadiscovery fails

Hi i try to setup Metropolitan cluster and when I am runing evadiscovery i get an error:
evadiscovery -f /etc/dtsconf/mceva.conf
/usr/lib/dld.sl: Unresolved symbol: __tcerr (data) from /opt/wbem/lib/libpegcommon.1
Abort(coredump)
B8465BA A.02.00.10 HP WBEM Services for HP-UX
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Evadiscovery fails

Shalom,

Take a look a the evadiscovery command with the chatr commmand.

chatter

You may find that some of the libraries it requires are not installed. This should not happen but it happened to me the other day on a cold install.

You'll need to make sure the libraries the program needs and make sure they are on the SHLIB_PATH

Then the command should work just fine.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pacek Maciej
New Member

Re: Evadiscovery fails

pdbsrv01:/#/usr/bin/chatr /usr/sbin/evadiscovery
/usr/sbin/evadiscovery:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path enabled second /opt/wbem/lib
shared library list:
dynamic /usr/lib/libpthread.1
dynamic /usr/lib/librt.2
dynamic /opt/wbem/PA/A.02.00.04/lib/libpegclient.1
dynamic /usr/lib/libm.2
dynamic /usr/lib/libcl.2
dynamic /usr/lib/libc.2
static /usr/lib/libdld.2

I have found all libraries, still evadicovery fails with the same error.
Maciek
Steven E. Protter
Exalted Contributor

Re: Evadiscovery fails

Fascinating,

Try removing and reinstalling the evadiscovery software. Make sure the OS is properly patched prior to installation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
melvyn burnard
Honored Contributor

Re: Evadiscovery fails

Hmm, I have neve seen this fail like this.
Isuggest you verify you have the required software versions and any patches for the OS, Serviceguard, and WBEM, and also make sure you have the relevant paths to shared libraries configured correctly.
If that does not help, log a callwith your local HP Response Centre
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Carsten Krege
Honored Contributor

Re: Evadiscovery fails

This is a known problem. It will most likely be fixed in a patch for Metrocluster/EVA.

Use the LD_PRELOAD option while invoking the evadiscovery command.
e.g.: LD_PRELOAD="/usr/lib/libC.2 /opt/wbem/lib/libpegclient.1" evadiscovery -f /home/mceva.conf

(all in one line!)

Also modify the script "/usr/sbin/DRCheckDiskStatus" to include the LD_PRELOAD option wherever DRCheckCAEVADevGrp called.
eg:
if (( $cvmisused == 0 ))
then
LD_PRELOAD="/usr/lib/libC.2 /opt/wbem/lib/libpegclient.1" DRCheck${dataRep}DevGrp $ENV_FILE $lvmisused $vxvmisused "`echo ${LVM_VG[@]}`" "`echo ${VXVM_VG[@]}`"
else
LD_PRELOAD="/usr/lib/libC.2 /opt/wbem/lib/libpegclient.1" DRCheck${dataRep}DevGrp $ENV_FILE $lvmisused $vxvmisused $cvmisused "`echo ${LVM_VG[@]}`" "`echo ${VXVM_VG[@]}`" "`echo ${CVM_VG[@]}`"
fi


This problem will happen only in WBEM Services versions A.02.00.09 or later. It does not show up in earlier versions. Downgrading WBEM might also be an option.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Pacek Maciej
New Member

Re: Evadiscovery fails

Hi Carsten
Thanks a lot, this realy helped. Thank you all for spending your time on solving my problem.
Maciek
Pacek Maciej
New Member

Re: Evadiscovery fails

Use the LD_PRELOAD option while invoking the evadiscovery command.
e.g.: LD_PRELOAD="/usr/lib/libC.2 /opt/wbem/lib/libpegclient.1" evadiscovery -f /home/mceva.conf