Filter questions

Back to FAQ

When starting a filter, the CGPro logs record nothing but "external helper output closed"

Unfortunately CGP logs are not always accurate to report the real error for External Helpers. The external helper output closed can be anything from file not found, the path is incorrect to some libraries are missing.

The first thing to do is to try to start the filter from the terminal. Open a terminal window, use chdir to go to the Communigate Pro base directory, then issue the command you entered in the Program Path field of the Helpers page. Check any error message you may get.

  • No such file or directory: The path you entered is incorrect. Verify the path.
  • /libexec/ld-elf.so.1: Shared object "(...).so.x" not found: See next FAQ entry if you are running FreeBSD 5.x. If not, you can contact us if you purchased a filter and have troubles running it.
  • Integrity check FAILED [...] You probably forgot to copy the *.sig file from the package when installing or upgrading the filter, or either the binary or the .sig file has been corrupted. Download the package again and reinstall.

Running precompiled filter on FreeBSD 5.x

Since July 2007, our binaries are compiled on FreeBSD 6. Running them on FreeBSD 5 is possible but requires a small modification to the libmap.conf file. This modification is safe only because we took care not to use any FreeBSD6-specific function in our software.

Open /etc/libmap.conf in your preferred text editor. You must be root (or use sudo) to do so. Create the file if it doesn't exist. Add the following entries:

# For most Niversoft software
libc.so.6 libc.so.5
libpthread.so.2 libpthread.so.1
libthr.so.2 libthr.so.1
# For Niversoft's CGP-Clamav helper:
libz.so.3 libz.so.2
# For Niversoft's Domainkeys helper:
libcrypto.so.4 libcrypto.so.3

When you will upgrade to FreeBSD 6, remove these entries.

Running precompiled filter on *BSD and other i386 platforms

It should be possible to run Niversoft's precompiled binaries on BSD platforms providing an emulation layer. Such process has been tested with success on OpenBSD-i386 and NetBSD-i386; we didn't test yet on other BSD platforms, but if you succeed, you can send us the procedure and we will publish it here.

In summary, the procedure is to enable the Linux emulation layer, install the required libraries and run the Linux build of the filter.

Detailed procedure to run PolluStop on OpenBSD-i386 and NetBSD-i386

  1. [OpenBSD] As root, run the command sysctl kern.emul.linux=1
  2. [OpenBSD] To make this command permanent even after a reboot, open /etc/sysctl.conf and uncomment the line kern.emul.linux=1
  3. Install the emulation package
    • [OpenBSD] redhat_base from the OpenBSD ports system or precompiled binaries mirror
    • [NetBSD] suse_base from your NetBSD precompiled binaries mirror
  4. Unpack linux-libs.tar.bz2 in /emul/linux/lib. Replace any existing file. This package contains the latest gcc, std c++ and OpenSSL libraries
  5. Download the Linux build of the Niversoft Product you want to install, unpack it and install it according to the instructions found in the INSTALL file.

NOTE: While this process has been tested to confirm the filter is able to run on these platforms, no extensive testing has been done. There is no guarantee concerning the stability and the function of the filter you run on these platforms we do not officially support.