• KSpam Debian

    By Nico Vis 2 decades ago

    Hi,

    I have successfully installed kspam on both W32 and linux (Mandrake and debian). But now I have a strange problem and I need your help if possible. Here are a couple of informations that may help:

    -I am installing Kspam on debian (2.4.18) with Domino 6.5.4 running.

    -the name of dbs are kSpamConf.nsf mailgood.nsf mailspam.nsf case sensitive

    -the 3 dbs are populated

    -kspam loads without errors

    kSpam.bload: Originally by Tom Lyne

    kSpam.bload: Linux port by Hans-Georg Franke

    kSpam.bload: Initializing complete

    kSpam.bload: Bayesian addin loading words

    kSpam.bload: Bayesian addin finished loading words

    kSpam.bload: Bayesian addin calculating probabilities

    kSpam.bload: Bayesian addin finished calculating probabilities

    kSpam.bload: kspam Ready

    -the notes.ini contains

    Extmgr_addins=libkspam.so and kspam at the end of Servertasks line



    The problem is that messages are not processed, no ks_iid appear for any incomeing messages.

    I can't see errors and I need to make it run, how can I get informations to solve the problem.

    Thank you very much for your help



    Nico

    • Name of config-db

      By Hans-Georg Franke 2 decades ago

      Hi,



      rename your config-db. Name should be: "KSpamCon.nsf" (without your "f")! If this doesn't work, set debug-parameter in your notes.ini (KS_LOG, see docu for details).



      Greetings Hans-Georg

      • Same problem

        By Nico Vis 2 decades ago

        I've tried with KSpamCon.nsf and kSpamCon.nsf with no result, now I've put ks_debug=1 in the notes.ini.

        As before words are loaded correctly but messages are not touched by Kspam.

        Where is ks_log.txt supposed to be created?

        Any other ideas?



        Again Thank You.

        • Solved Debian:

          By Nico Vis 2 decades ago

          The problem was a libpcre.so.0 missing.



          KSpam 1.38b on Debian.

          apt-get install libstdc++2.10

          apt-get install libstdc++5

          apt-get install libpcre3

          apt-get install libpcre3-dev



          ln -s/usr/lib/libpcre.so.3/usr/lib/libpcre.so.0

          solved the problem

          • make sure config filename is correct

            By Steve Lapthorn 2 decades ago

            Make sure the configuration file is called KSpamCon.nsf (note that the initial K is uppercase). We found that libspam.so fails to start and does not generate any console or debug text or stats etc, although we could "load kspam" which would generate some console output.


            • Steve
            • Debian installation suggestions

              By Steve Lapthorn 2 decades ago

              To get libspam.so loaded successfully we found that running "ldd libspam.so" showed that libnotes.so, and libpcre.so.0 and some other so files were "not found".

              We created a link from libcre.so.3 to libpcre.so.0 by running "ln -s libpcre.so.3 libpcre.so.0"

              We added the directory holding libspam.so, libnotes etc to/etc/ls.so.conf and then ran "ldconfig". Running "ldd libspam.so" showed that the dependent libraries could now be found.

              (as posted earlier… also made sure config file starts with uppercase K)


              • Steve