# HWCCT scripts

**URL:** <https://forums.suse.com/t/hwcct-scripts/27744>\
**Category:** SLES SAP Applications\
**Created:** [December 21, 2015, 3:53pm UTC](https://forums.suse.com/t/hwcct-scripts/27744 "2015-12-21T15:53:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvramakrishna123](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dvramakrishna123](https://forums.suse.com/u/dvramakrishna123)\
**Post date:** [December 21, 2015, 3:53pm UTC](https://forums.suse.com/t/hwcct-scripts/27744/1 "2015-12-21T15:53:56Z")

</div>

Hi All,

I was trying to execute the hwcct scripts after installing the SUSE linux :  
But some how the following error is popping :

./hwval -f apols.json  
./hwval: error while loading shared libraries: libhdbversion.so: cannot open shared object file: No such file or directory  
:/hana/shared/51050456/DATA\_UNITS/SAP\_HANA\_HWCCT\_LINUX\_X86\_64/hwcct #

I have checked the env variable, it was correctly mentioned the path where the libhdbdversion.so file is there.  
:/usr/sap/SCP/HDB00/exe # ls -latr libhdbversion.so  
-r-xr-xr-x 1 scpadm sapsys 81600 Nov 4 22:05 libhdbversion.so  
:/usr/sap/SCP/HDB00/exe #

PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sap/SCP/HDB00/exe/

Thanks & Regards,  
Venkata Ramakrishna

---

<div class="post-metadata">

**Author:** ![thomasmerz](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@thomasmerz](https://forums.suse.com/u/thomasmerz)\
**Post date:** [December 21, 2015, 5:39pm UTC](https://forums.suse.com/t/hwcct-scripts/27744/2 "2015-12-21T17:39:25Z")

</div>

Hi,

your should start the HWCCT like this:

# as root:

cd /hana/shared/hwcct  
. ./envprofile.sh  
./hwval -f test\_config.json

# more ./envprofile.sh

#!/bin/bash

BASE=“$( cd “$( dirname “${BASH\_SOURCE[0]}” )” && pwd )”

export SAP\_RETRIEVAL\_PATH=“${BASE}/”  
export DIR\_EXECUTABLE=“${BASE}/lib”  
export PYTHONHOME=“${BASE}/lib/Python”  
export PYTHONPATH=“${BASE}/”  
export LD\_LIBRARY\_PATH=“${BASE}/lib”

Kind regards  
Thomas

---

<div class="post-metadata">

**Author:** ![dvramakrishna123](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dvramakrishna123](https://forums.suse.com/u/dvramakrishna123)\
**Post date:** [December 22, 2015, 5:17pm UTC](https://forums.suse.com/t/hwcct-scripts/27744/3 "2015-12-22T17:17:47Z")

</div>

Hi Thomas,

After executing envprofile.sh, it is working fine thanks a lot.🙂

Best Regards,  
Venkata Ramakrishna

---

<div class="post-metadata">

**Author:** ![nvt007](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nvt007](https://forums.suse.com/u/nvt007)\
**Post date:** [October 12, 2016, 12:02am UTC](https://forums.suse.com/t/hwcct-scripts/27744/4 "2016-10-12T00:02:20Z")

</div>

I am running to the same problem and did run the script envprofile.sh but it didn’t work.  
I did also try this,

source envprofile.sh

then ran the command, which usued to work for me.  
The little different is, I’m running on SUSE 12 SP1, not working with the same error,  
and SUSE 11 SP4, one server worked when the other not.  
I played around with the envinronmental variable,  
I found HWCCT brought in its own paython, 2.7.10  
When my OS has 2.7.9, but I still don’t know  
why it’s not launching python module.

Any idea would be greatly appricated.

Thanks,  
NT

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [October 13, 2016, 4:29pm UTC](https://forums.suse.com/t/hwcct-scripts/27744/5 "2016-10-13T16:29:57Z")

</div>

On 11/10/2016 22:04, nvt007 wrote:  
[color=blue]

> I am running to the same problem and did run the script envprofile.sh  
> but it didn’t work.  
> I did also try this,
> 
> source envprofile.sh
> 
> then ran the command, which usued to work for me.  
> The little different is, I’m running on SUSE 12 SP1, not working with  
> the same error,  
> and SUSE 11 SP4, one server worked when the other not.  
> I played around with the envinronmental variable,  
> I found HWCCT brought in its own paython, 2.7.10  
> When my OS has 2.7.9, but I still don’t know  
> why it’s not launching python module.
> 
> Any idea would be greatly appricated.[/color]

Perhaps post the contents of your envprofile.sh files?

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.
