Kristof Van Ges
New Member.
235 views

Monitor agent aborts with errno 127

Jump to solution
Environment:
Management Server: HP-UX11.i
OVO 7.19
Node: Debian Sarge (3.1)
I know Sarge is still unsupported but the number of Sarge machines in our environment is rapidly increasing so maybe someone knows how to handle the following error message.
Installation works but the monitor agent aborts after a few seconds. Following error is displayed:
# /opt/OV/bin/OpC/opcmona
/opt/OV/bin/OpC/opcmona: relocation error: /opt/OV/lib/libOvBbcBase.so: undefined symbol: cerr

I know this is a long shot but perhaps someone has a solution for this.

Anyway thanks in advance,
Kristof
0 Likes
1 Solution

Accepted Solutions
Radko Absent Member.
Absent Member.

Re: Monitor agent aborts with errno 127

Jump to solution
and did you apply all dependencies?:
gawk rpm librpm4 libstdc++2.9-glibc2.1

on my debian notebook i did installation this way:
apt-get install rpm librpm4 libstdc++2.9-glibc2.1 or apt-get install gawk librpm4 libstdc++2.9-glibc2.1

mkdir /var/lib/rpm
rpm --initdb
tar xvf opc_pkg.Z
rpm -Uvh --nodeps dce.rpm
rpm -Uvh --nodeps OPC.rpm

/opt/OV/bin/OpC/install/opcactivate -mode standalone -s


if you did it the same way, please check:
ldd /opt/OV/bin/OpC/opcmona

and try to find missing dependencie, maybe it will be enough to create symbolic link from another library

View solution in original post

0 Likes
6 Replies
Radko Absent Member.
Absent Member.

Re: Monitor agent aborts with errno 127

Jump to solution
and did you apply all dependencies?:
gawk rpm librpm4 libstdc++2.9-glibc2.1

on my debian notebook i did installation this way:
apt-get install rpm librpm4 libstdc++2.9-glibc2.1 or apt-get install gawk librpm4 libstdc++2.9-glibc2.1

mkdir /var/lib/rpm
rpm --initdb
tar xvf opc_pkg.Z
rpm -Uvh --nodeps dce.rpm
rpm -Uvh --nodeps OPC.rpm

/opt/OV/bin/OpC/install/opcactivate -mode standalone -s


if you did it the same way, please check:
ldd /opt/OV/bin/OpC/opcmona

and try to find missing dependencie, maybe it will be enough to create symbolic link from another library

View solution in original post

0 Likes
Kristof Van Ges
New Member.

Re: Monitor agent aborts with errno 127

Jump to solution
Radko,

Reinstalled everything the way you suggest and I have the following output
pc5002:/tmp# ldd /opt/OV/bin/OpC/opcmona
libopc_r.so => /opt/OV/lib/libopc_r.so (0x40018000)
libnsp.so => /opt/OV/lib/libnsp.so (0x4012c000)
libopcPublic.so => /opt/OV/lib/libopcPublic.so (0x40132000)
libopcperl.so => /opt/OV/lib/libopcperl.so (0x40149000)
libcodaaccess.so => not found
libOvActBase.so => /opt/OV/lib/libOvActBase.so (0x4023b000)
libOvBbcHttp.so => not found
libOvBbcNet.so => not found
libOvBbcIo.so => not found
libOvBbcThread.so => not found
libOvBbcBase.so => not found
libOvBbcSsl.so => not found
libdcerpc.so => /opt/dcelocal/lib/libdcerpc.so (0x40250000)
libdcethread.so => /opt/dcelocal/lib/libdcethread.so (0x40324000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40337000)
libuuid.so => /opt/dcelocal/lib/libuuid.so (0x40388000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40394000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x403c1000)
libm.so.6 => /lib/libm.so.6 (0x40490000)
libc.so.6 => /lib/libc.so.6 (0x404b2000)
libdl.so.2 => /lib/libdl.so.2 (0x405e6000)
libopcas.so => /opt/OV/lib/libopcas.so (0x405e9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libOvBbcIo.so => not found
libOvBbcThread.so => not found
libOvBbcBase.so => not found
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x405ec000)

there are a lot of libs missing. Do I copy them over from the management server or should force the agent software from the management server?



0 Likes
Highlighted
Kristof Van Ges
New Member.

Re: Monitor agent aborts with errno 127

Jump to solution
I just forced the agent installation and now all libraries are found.
pc5002:/tmp# ldd /opt/OV/bin/OpC/opcmona
libopc_r.so => /opt/OV/lib/libopc_r.so (0x40018000)
libnsp.so => /opt/OV/lib/libnsp.so (0x4012c000)
libopcPublic.so => /opt/OV/lib/libopcPublic.so (0x40132000)
libopcperl.so => /opt/OV/lib/libopcperl.so (0x40149000)
libcodaaccess.so => /opt/OV/lib/libcodaaccess.so (0x4022c000)
libOvActBase.so => /opt/OV/lib/libOvActBase.so (0x402d1000)
libOvBbcHttp.so => /opt/OV/lib/libOvBbcHttp.so (0x402e5000)
libOvBbcNet.so => /opt/OV/lib/libOvBbcNet.so (0x403cc000)
libOvBbcIo.so => /opt/OV/lib/libOvBbcIo.so (0x40406000)
libOvBbcThread.so => /opt/OV/lib/libOvBbcThread.so (0x40480000)
libOvBbcBase.so => /opt/OV/lib/libOvBbcBase.so (0x4049b000)
libOvBbcSsl.so => /opt/OV/lib/libOvBbcSsl.so (0x404c2000)
libdcerpc.so => /opt/dcelocal/lib/libdcerpc.so (0x404ce000)
libdcethread.so => /opt/dcelocal/lib/libdcethread.so (0x405a2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x405c3000)
libuuid.so => /opt/dcelocal/lib/libuuid.so (0x40614000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40621000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x4064e000)
libm.so.6 => /lib/libm.so.6 (0x4071d000)
libc.so.6 => /lib/libc.so.6 (0x4073f000)
libdl.so.2 => /lib/libdl.so.2 (0x40872000)
libopcas.so => /opt/OV/lib/libopcas.so (0x40875000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libgcc_s.so.1 => /lib/libgcc_s.so.1

Still the same error though:
# /opt/OV/bin/OpC/opcmona
/opt/OV/bin/OpC/opcmona: relocation error: /opt/OV/lib/libOvBbcBase.so: undefined symbol: cerr

I have a newer unrecognized glibc version running than the one you suggested.
libstdc++2.10-glibc2.2
I 'll try installing the older version and see what happens

Thanks,
Kristof
0 Likes
Kristof Van Ges
New Member.

Re: Monitor agent aborts with errno 127

Jump to solution
Radko,

I installed libstdc++2.9-glibc2.1 instead of libstdc++2.10-glibc2.2 and reinstalled the agent with force option. It is still showing the unrecognized glibc version warning but agents are now all running. I'm testing the monitors at the moment but all looks well. Thanks again.
Regards,
Kristof
0 Likes
Kristof Van Ges
New Member.

Re: Monitor agent aborts with errno 127

Jump to solution
Thanks again
0 Likes
felix reychman_ Absent Member.
Absent Member.

Re: Monitor agent aborts with errno 127

Jump to solution
Hi Kristof!
I'm trying to get in touch with people who have managed to install the agent on debian 3.1, since I have to do that.

What did you do to make it work?

regards
/flix
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.