Article ID: 119811, created on Jan 25, 2014, last review on May 11, 2014

  • Applies to:
  • Odin Business Automation Standard 4.5
  • Odin Business Automation Standard 4.3

Symptoms

I'm trying to register PVC node using compat mode according to this KB article. I've installed all the packages according to point #6, but vzagent_compat_ctl still cannot be started:

[root@vz_node ~]# vzagent_compat_ctl start
Starting vzagent: /usr/sbin/vzaop_compat: error while loading shared libraries: libvza.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Cause

Login to VZ node which you are trying to register in PBA-S as root. Verify required libraries for the binary:

[root@vz_node ~]# ldd /usr/sbin/vzaop_compat
        linux-vdso.so.1 =>  (0x00007fff4953f000)
        libvza.so => not found
        libvzasys.so => not found
        libvzalib.so => not found
        libvzamsg.so => not found
        libvzaconnection.so => not found
        libvzacommon.so => not found

The libraries are missing in the path which is specified as environment variable LD_LIBRARY_PATH. The libraries exist in directory /usr/local/lib:

[root@vz_node ~]# ls /usr/local/lib/libvza*
/usr/local/lib/libvzabinary.so  
/usr/local/lib/libvzaconnection.so  
/usr/local/lib/libvzamsg.so       
/usr/local/lib/libvza.so     
/usr/local/lib/libvzaxml.so
/usr/local/lib/libvzacommon.so  
/usr/local/lib/libvzalib.so         
/usr/local/lib/libvzaopcommon.so  
/usr/local/lib/libvzasys.so

Resolution

Add the needed path to the environment variable on VZ node:

[root@vz_node ~]# export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Successfully start vzagent_compat_ctl:

[root@vz_node ~]# vzagent_compat_ctl start
Starting vzagent:                                          [  OK  ]

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 807e9c1dc97aefd951b912a17e50c428 70a5401e8b9354cd1d64d0346f2c4a3e 624ca542e40215e6f1d39170d8e7ec75

Email subscription for changes to this article
Save as PDF