cancel
Showing results for 
Search instead for 
Did you mean: 

vscan_rfc problem - DLENOACCESS

Former Member
0 Kudos

Hi all!

I'm trying to register vscan_rfc as a server program. I go to the kernel directory and type:

<b>./vscan_rfc -aVSCAN_RSQ -grsqsrv -xsapwg01 -V /usr/sap/RSQ/AntiVir/libantivirvsa.so</b>

The provided parameters are correct, but vscan_rfc fails to initialize. In dev_VSCAN.trc i can see this:

-


<i>*** ERROR => DlLoadLib: dlopen()= /usr/sap/RSQ/AntiVir/libantivirvsa.so: cannot open shared object file: No such file or directory -> DLENOACCESS (0,Success) [dlux_mt.c 314]</i>

-


That's the problem. /usr/sap/RSQ/AntiVir/libantivirvsa.so exists and has the proper file permissions, but still vscan_rfc fails to see it. Any suggestions?

Accepted Solutions (0)

Answers (1)

Answers (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Juha,

please check, if libantivirvsa.so is loadable in general:

ldd /usr/sap/RSQ/AntiVir/libantivirvsa.so

What's the output of the above command?

Thanks,

Hannes Kuehnemund

SAP LinuxLab, Walldorf

Former Member
0 Kudos

Hannes, thanks for the quick reply!

Here's the output for ldd.

-


<i># ldd libantivirvsa.so

linux-gate.so.1 => (0xffffe000)

libc.so.6 => /lib/tls/libc.so.6 (0x55588000)

/lib/ld-linux.so.2 (0x56555000)</i>

-


hannes_kuehnemund
Active Contributor
0 Kudos

Dear Juha,

can you please tray the following command and post the output here:

uname -a

file /usr/sap/RSQ/AntiVir/libantivirvsa.so

file ./vscan_rfc

ldd ./vscan_rfc

Thanks,

Hannes

Former Member
0 Kudos

Ok, here's the output:

-


  1. uname- a

Linux ff202 2.6.5-7.257-smp #1 SMP Mon May 15 14:14:14 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux

  1. file /usr/sap/RSQ/AntiVir/libantivirvsa.so

/usr/sap/RSQ/AntiVir/libantivirvsa.so: symbolic link to `libantivirvsa.so.1.1.2'

  1. ldd /usr/sap/RSQ/AntiVir/libantivirvsa.so.1.1.2

linux-gate.so.1 => (0xffffe000)

libc.so.6 => /lib/tls/libc.so.6 (0x55588000)

/lib/ld-linux.so.2 (0x56555000)

  1. file ./vscan_rfc

./vscan_rfc: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped

  1. ldd ./vscan_rfc

libdl.so.2 => /lib64/libdl.so.2 (0x0000002a9566d000)

librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a95770000)

libresolv.so.2 => /lib64/libresolv.so.2 (0x0000002a95879000)

librfcum.so => /sapmnt/RSQ/exe/librfcum.so (0x0000002a9598d000)

xml63d.so => /sapmnt/RSQ/exe/xml63d.so (0x0000002a95faf000)

sapcpp46.so => /sapmnt/RSQ/exe/sapcpp46.so (0x0000002a96200000)

libstdc+.so.5 => /usr/lib64/libstdc+.so.5 (0x0000002a963e7000)

libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a965c4000)

libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a9671d000)

libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a96828000)

libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a9693c000)

/lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)

libsapu16_mt.so => /sapmnt/RSQ/exe/libsapu16_mt.so (0x0000002a96b64000)

libsapu16.so => /sapmnt/RSQ/exe/libsapu16.so (0x0000002a96c8b000)

libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a95cc4000)

libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a95dcf000)

libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95ee3000)

/lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)

Former Member
0 Kudos

Oh, I forgot to add this:

-


  1. file /usr/sap/RSQ/AntiVir/libantivirvsa.so.1.1.2

/usr/sap/RSQ/AntiVir/libantivirvsa.so.1.1.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Juha,

And this is exactly the problem. /usr/sap/RSQ/AntiVir/libantivirvsa.so.1.1.2 is a 32-bit library, which cannot be loaded by the 64-bit vscan_rfc progam. You either have to use a 32-bit vscan_rfc program, or a 64-bit libantivirvsa.so.1.1.2.

I would suggest to get the 64-bit version of libantivirvsa.so.

Thanks,

Hannes

Former Member
0 Kudos

Since there is no 64-bit version libantivirvas.so available (at least to my knowledge), I guess I'll have to implement the 32-bit vscan_rfc.

Thanks for your help Hannes.

markus_doehr2
Active Contributor
0 Kudos

You can´t in a 64bit kernel.

64bit binaries can´t load a 32bit shared library.

If you want to use that you need to install a 32bit kernel.

--

Markus

Former Member
0 Kudos

Hi Juha,

I have been following this thread,

may I suggest you give our product a try (www.bowbridge.net). It is available as a native 64-Bit library and allows you to attach virus scan engines from several vendors to your NetWeaver system.

kind regards,

Chris

markus_doehr2
Active Contributor
0 Kudos

Thanx very much for that link - VERY interesting!

--

Markus

Former Member
0 Kudos

Hi all,

Sorry I forgot to update this thread.

My problem day's are over now I e-mailed Antivir about the problem at hand, and they were kind enough to compile me a 64-bit version of the library. I got Antivir running with it just fine. Thanks to everybody for your help.