AW: sa-compile Error invalid pointer
Hi Daniele, there is a virtal system, no problem with mem. I hope i found the fail, i delete or rename rules.body_0/rules.body_neg100 and tested again, then there is no fail. Best regards Ronny -Ursprüngliche Nachricht- Von: Daniele Duca Gesendet: Freitag, 28. September 2018 16:24 An: users@spamassassin.apache.org Betreff: Re: sa-compile Error invalid pointer Hi, it may be worth to run a memtest on your system. Daniele On 28/09/2018 12:25, Ronny Wagner wrote: > Hello Community, > > since few days i have a problem with spamassassin. > I can't start the service, i found out, when i delete some channels in > directory "/var/lib/spamassassin/3.004001" the service come up. > > I download a test channel (/usr/bin/sa-update --nogpg --channel > spamassassin.heinlein-support.de) and use /usr/bin/sa-compile, i see a fail > message. > > Do anyone know why? > > Thank you for your help. > > > spamassassin: >Installed: 3.4.1-6+deb9u1 > > perl: >Installed: 5.24.1-3+deb9u4 > > libc6: >Installed: 2.24-11+deb9u3 > > Debian 4.9.0-5-686-pae > > Fail Message: > Sep 28 12:18:13.654 [30438] info: generic: base extraction starting. this can > take a while... > Sep 28 12:18:13.654 [30438] info: generic: extracting from rules of type > body_0 > *** Error in `/usr/bin/perl': free(): invalid pointer: 0xb508 *** > === Backtrace: = > /lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb757538a] > /lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb757bfc7] > /lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb757c806] > /usr/bin/perl(Perl_safesysfree+0x20)[0x550cf0] > /usr/bin/perl(Perl_sv_clear+0x664)[0x57d314] > /usr/bin/perl(Perl_sv_free2+0x61)[0x57d6c1] > /usr/bin/perl(+0x56799)[0x505799] > /usr/bin/perl(Perl_yylex+0x2798)[0x5094e8] > /usr/bin/perl(Perl_yyparse+0x5e4)[0x51be04] > /usr/bin/perl(+0x104cad)[0x5b3cad] > /usr/bin/perl(Perl_pp_entereval+0x3c8)[0x5bdca8] > /usr/bin/perl(Perl_runops_standard+0x17)[0x56ff67] > /usr/bin/perl(perl_run+0x33f)[0x4f37ff] > /usr/bin/perl(main+0x15e)[0x4cbb7e] > /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xb7526286] > /usr/bin/perl(+0x1cbc1)[0x4cbbc1] > === Memory map: > 004af000-006cf000 r-xp ca:02 467067 /usr/bin/perl > 006cf000-006d2000 r--p 0021f000 ca:02 467067 /usr/bin/perl > 006d2000-006d4000 rw-p 00222000 ca:02 467067 /usr/bin/perl > 00831000-03224000 rw-p 00:00 0 [heap] > b470c000-b4e98000 rw-p 00:00 0 > b500-b5001000 rw-p 00:00 0 > b530-b5321000 rw-p 00:00 0 > b5321000-b540 ---p 00:00 0 > b54a2000-b5aac000 rw-p 00:00 0 > b5aac000-b61d3000 rw-p 00:00 0 > b61d7000-b65da000 r-xp ca:02 82500 > /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so > b65da000-b65db000 r--p 00402000 ca:02 82500 > /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so > b65db000-b65dc000 rw-p 00403000 ca:02 82500 > /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so > b65dc000-b6898000 r-xp ca:02 98396 > /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 > b6898000-b689c000 r--p 002bb000 ca:02 98396 > /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 > b689c000-b6912000 rw-p 002bf000 ca:02 98396 > /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 > b6912000-b6915000 rw-p 00:00 0 > b6915000-b6a47000 rw-p 00:00 0 > b6a4d000-b6a91000 rw-p 00:00 0 > b6a93000-b6ab2000 r-xp ca:02 1082478 > /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so > b6ab2000-b6ab3000 r--p 0001e000 ca:02 1082478 > /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so > b6ab3000-b6ab4000 rw-p 0001f000 ca:02 1082478 > /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so > b6ab4000-b6ad2000 r-xp ca:02 1082480 > /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so > b6ad2000-b6ad4000 r--p 0001d000 ca:02 1082480 > /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so > b6ad4000-b6ad5000 rw-p 0001f000 ca:02 1082480 > /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so > b6ad5000-b6ad7000 rw-p 00:00 0 > b6adb000-b6ae r-xp ca:02 221477 > /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so > b6ae-b6ae1000 r--p 4000 ca:02 221477 > /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so > b6ae1000-b6ae2000 rw-p 5000 ca:02 221477 > /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/R
AW: sa-compile Error invalid pointer
Hi Kevin, sry for my late answer. I tested yesterday: su -c 'spamassassin --lint -D' -l amavis Sep 30 20:00:17.369 [28262] dbg: rules: compiled meta tests Sep 30 20:00:17.370 [28262] dbg: check: running tests for priority: 0 Sep 30 20:00:17.370 [28262] dbg: rules: running one_line_body tests; score so far=-0.001 Sep 30 20:00:17.463 [28262] dbg: rules: flush_evalstr (run_generic_tests) compiling 510 chars of Mail::SpamAssassin::Plugin::Check::_one_line_body_tests_0_1 Sep 30 20:00:17.474 [28262] dbg: rules: run_generic_tests - compiling eval code: one_line_body, priority 0 *** Error in `/usr/bin/perl': double free or corruption (out): 0x05e4aff0 *** === Backtrace: = /lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb75e738a] /lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb75edfc7] /lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb75ee806] /lib/i386-linux-gnu/libc.so.6(+0x70eaf)[0xb75f0eaf] /lib/i386-linux-gnu/libc.so.6(realloc+0x12e)[0xb75f228e] /usr/bin/perl(Perl_safesysrealloc+0x46)[0x4cfd36] /usr/bin/perl(Perl_sv_grow+0xee)[0x5041de] /usr/bin/perl(+0x539e9)[0x4809e9] /usr/bin/perl(Perl_yylex+0x2b92)[0x4878e2] /usr/bin/perl(Perl_yyparse+0x5e4)[0x499e04] /usr/bin/perl(+0x104cad)[0x531cad] /usr/bin/perl(Perl_pp_entereval+0x3c8)[0x53bca8] /usr/bin/perl(Perl_runops_standard+0x17)[0x4edf67] /usr/bin/perl(perl_run+0x33f)[0x4717ff] /usr/bin/perl(main+0x15e)[0x449b7e] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xb7598286] /usr/bin/perl(+0x1cbc1)[0x449bc1] === Memory map: 0042d000-0064d000 r-xp ca:02 467067 /usr/bin/perl 0064d000-0065 r--p 0021f000 ca:02 467067 /usr/bin/perl 0065-00652000 rw-p 00222000 ca:02 467067 /usr/bin/perl But i believe i found the fail, i delete or rename /root/.spamassassin/sa-compile.cache/rules.body_0 and rules.body_neg100. Then i tested again and there a no fail, i don´t now why. Best regards Ronny -Ursprüngliche Nachricht- Von: Kevin A. McGrail Gesendet: Freitag, 28. September 2018 13:44 An: Ronny Wagner ; users@spamassassin.apache.org Betreff: Re: sa-compile Error invalid pointer On 9/28/2018 6:25 AM, Ronny Wagner wrote: > Hello Community, > > since few days i have a problem with spamassassin. > I can't start the service, i found out, when i delete some channels in > directory "/var/lib/spamassassin/3.004001" the service come up. > > I download a test channel (/usr/bin/sa-update --nogpg --channel > spamassassin.heinlein-support.de) and use /usr/bin/sa-compile, i see a fail > message. > > Do anyone know why? > Does the channel you downloaded pass lint? spamassassin --lint ? F64B72EDA591C786_r.wagner@licoho.de.asc Description: F64B72EDA591C786_r.wagner@licoho.de.asc
Re: sa-compile Error invalid pointer
Hi, it may be worth to run a memtest on your system. Daniele On 28/09/2018 12:25, Ronny Wagner wrote: Hello Community, since few days i have a problem with spamassassin. I can't start the service, i found out, when i delete some channels in directory "/var/lib/spamassassin/3.004001" the service come up. I download a test channel (/usr/bin/sa-update --nogpg --channel spamassassin.heinlein-support.de) and use /usr/bin/sa-compile, i see a fail message. Do anyone know why? Thank you for your help. spamassassin: Installed: 3.4.1-6+deb9u1 perl: Installed: 5.24.1-3+deb9u4 libc6: Installed: 2.24-11+deb9u3 Debian 4.9.0-5-686-pae Fail Message: Sep 28 12:18:13.654 [30438] info: generic: base extraction starting. this can take a while... Sep 28 12:18:13.654 [30438] info: generic: extracting from rules of type body_0 *** Error in `/usr/bin/perl': free(): invalid pointer: 0xb508 *** === Backtrace: = /lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb757538a] /lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb757bfc7] /lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb757c806] /usr/bin/perl(Perl_safesysfree+0x20)[0x550cf0] /usr/bin/perl(Perl_sv_clear+0x664)[0x57d314] /usr/bin/perl(Perl_sv_free2+0x61)[0x57d6c1] /usr/bin/perl(+0x56799)[0x505799] /usr/bin/perl(Perl_yylex+0x2798)[0x5094e8] /usr/bin/perl(Perl_yyparse+0x5e4)[0x51be04] /usr/bin/perl(+0x104cad)[0x5b3cad] /usr/bin/perl(Perl_pp_entereval+0x3c8)[0x5bdca8] /usr/bin/perl(Perl_runops_standard+0x17)[0x56ff67] /usr/bin/perl(perl_run+0x33f)[0x4f37ff] /usr/bin/perl(main+0x15e)[0x4cbb7e] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xb7526286] /usr/bin/perl(+0x1cbc1)[0x4cbbc1] === Memory map: 004af000-006cf000 r-xp ca:02 467067 /usr/bin/perl 006cf000-006d2000 r--p 0021f000 ca:02 467067 /usr/bin/perl 006d2000-006d4000 rw-p 00222000 ca:02 467067 /usr/bin/perl 00831000-03224000 rw-p 00:00 0 [heap] b470c000-b4e98000 rw-p 00:00 0 b500-b5001000 rw-p 00:00 0 b530-b5321000 rw-p 00:00 0 b5321000-b540 ---p 00:00 0 b54a2000-b5aac000 rw-p 00:00 0 b5aac000-b61d3000 rw-p 00:00 0 b61d7000-b65da000 r-xp ca:02 82500 /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so b65da000-b65db000 r--p 00402000 ca:02 82500 /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so b65db000-b65dc000 rw-p 00403000 ca:02 82500 /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so b65dc000-b6898000 r-xp ca:02 98396 /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 b6898000-b689c000 r--p 002bb000 ca:02 98396 /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 b689c000-b6912000 rw-p 002bf000 ca:02 98396 /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 b6912000-b6915000 rw-p 00:00 0 b6915000-b6a47000 rw-p 00:00 0 b6a4d000-b6a91000 rw-p 00:00 0 b6a93000-b6ab2000 r-xp ca:02 1082478 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so b6ab2000-b6ab3000 r--p 0001e000 ca:02 1082478 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so b6ab3000-b6ab4000 rw-p 0001f000 ca:02 1082478 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so b6ab4000-b6ad2000 r-xp ca:02 1082480 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so b6ad2000-b6ad4000 r--p 0001d000 ca:02 1082480 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so b6ad4000-b6ad5000 rw-p 0001f000 ca:02 1082480 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so b6ad5000-b6ad7000 rw-p 00:00 0 b6adb000-b6ae r-xp ca:02 221477 /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so b6ae-b6ae1000 r--p 4000 ca:02 221477 /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so b6ae1000-b6ae2000 rw-p 5000 ca:02 221477 /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so b6ae2000-b6ae9000 r-xp ca:02 215116 /usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so b6ae9000-b6aea000 r--p 6000 ca:02 215116 /usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so b6aea000-b6aeb000 rw-p 7000 ca:02 215116 /usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so b6aeb000-b6b0e000 r-xp ca:02 1082485 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so b6b0e000-b6b0f000 r--p 00022000 ca:02 1082485 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so b6b0f000-b6b1 rw-p 00023000 ca:02 1082485 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so b6b1-b6b29000 r-xp ca:02 98533 /lib/i386-linux-gnu/libz.so.1.2.8 b6b29000-b6b2a000 r--p 00018000 ca:02 98533 /lib/i386-linux-gnu/libz.so.1.2.8
Re: sa-compile Error invalid pointer
On 9/28/2018 6:25 AM, Ronny Wagner wrote: > Hello Community, > > since few days i have a problem with spamassassin. > I can't start the service, i found out, when i delete some channels in > directory "/var/lib/spamassassin/3.004001" the service come up. > > I download a test channel (/usr/bin/sa-update --nogpg --channel > spamassassin.heinlein-support.de) and use /usr/bin/sa-compile, i see a fail > message. > > Do anyone know why? > Does the channel you downloaded pass lint? spamassassin --lint ?
sa-compile Error invalid pointer
Hello Community, since few days i have a problem with spamassassin. I can't start the service, i found out, when i delete some channels in directory "/var/lib/spamassassin/3.004001" the service come up. I download a test channel (/usr/bin/sa-update --nogpg --channel spamassassin.heinlein-support.de) and use /usr/bin/sa-compile, i see a fail message. Do anyone know why? Thank you for your help. spamassassin: Installed: 3.4.1-6+deb9u1 perl: Installed: 5.24.1-3+deb9u4 libc6: Installed: 2.24-11+deb9u3 Debian 4.9.0-5-686-pae Fail Message: Sep 28 12:18:13.654 [30438] info: generic: base extraction starting. this can take a while... Sep 28 12:18:13.654 [30438] info: generic: extracting from rules of type body_0 *** Error in `/usr/bin/perl': free(): invalid pointer: 0xb508 *** === Backtrace: = /lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb757538a] /lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb757bfc7] /lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb757c806] /usr/bin/perl(Perl_safesysfree+0x20)[0x550cf0] /usr/bin/perl(Perl_sv_clear+0x664)[0x57d314] /usr/bin/perl(Perl_sv_free2+0x61)[0x57d6c1] /usr/bin/perl(+0x56799)[0x505799] /usr/bin/perl(Perl_yylex+0x2798)[0x5094e8] /usr/bin/perl(Perl_yyparse+0x5e4)[0x51be04] /usr/bin/perl(+0x104cad)[0x5b3cad] /usr/bin/perl(Perl_pp_entereval+0x3c8)[0x5bdca8] /usr/bin/perl(Perl_runops_standard+0x17)[0x56ff67] /usr/bin/perl(perl_run+0x33f)[0x4f37ff] /usr/bin/perl(main+0x15e)[0x4cbb7e] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xb7526286] /usr/bin/perl(+0x1cbc1)[0x4cbbc1] === Memory map: 004af000-006cf000 r-xp ca:02 467067 /usr/bin/perl 006cf000-006d2000 r--p 0021f000 ca:02 467067 /usr/bin/perl 006d2000-006d4000 rw-p 00222000 ca:02 467067 /usr/bin/perl 00831000-03224000 rw-p 00:00 0 [heap] b470c000-b4e98000 rw-p 00:00 0 b500-b5001000 rw-p 00:00 0 b530-b5321000 rw-p 00:00 0 b5321000-b540 ---p 00:00 0 b54a2000-b5aac000 rw-p 00:00 0 b5aac000-b61d3000 rw-p 00:00 0 b61d7000-b65da000 r-xp ca:02 82500 /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so b65da000-b65db000 r--p 00402000 ca:02 82500 /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so b65db000-b65dc000 rw-p 00403000 ca:02 82500 /var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so b65dc000-b6898000 r-xp ca:02 98396 /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 b6898000-b689c000 r--p 002bb000 ca:02 98396 /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 b689c000-b6912000 rw-p 002bf000 ca:02 98396 /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0 b6912000-b6915000 rw-p 00:00 0 b6915000-b6a47000 rw-p 00:00 0 b6a4d000-b6a91000 rw-p 00:00 0 b6a93000-b6ab2000 r-xp ca:02 1082478 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so b6ab2000-b6ab3000 r--p 0001e000 ca:02 1082478 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so b6ab3000-b6ab4000 rw-p 0001f000 ca:02 1082478 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so b6ab4000-b6ad2000 r-xp ca:02 1082480 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so b6ad2000-b6ad4000 r--p 0001d000 ca:02 1082480 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so b6ad4000-b6ad5000 rw-p 0001f000 ca:02 1082480 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so b6ad5000-b6ad7000 rw-p 00:00 0 b6adb000-b6ae r-xp ca:02 221477 /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so b6ae-b6ae1000 r--p 4000 ca:02 221477 /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so b6ae1000-b6ae2000 rw-p 5000 ca:02 221477 /usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so b6ae2000-b6ae9000 r-xp ca:02 215116 /usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so b6ae9000-b6aea000 r--p 6000 ca:02 215116 /usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so b6aea000-b6aeb000 rw-p 7000 ca:02 215116 /usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so b6aeb000-b6b0e000 r-xp ca:02 1082485 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so b6b0e000-b6b0f000 r--p 00022000 ca:02 1082485 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so b6b0f000-b6b1 rw-p 00023000 ca:02 1082485 /usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so b6b1-b6b29000 r-xp ca:02 98533 /lib/i386-linux-gnu/libz.so.1.2.8 b6b29000-b6b2a000 r--p 00018000 ca:02 98533 /lib/i386-linux-gnu/libz.so.1.2.8 b6b2a000-b6b2b000 rw-p 00019000 ca:02 98533 /lib/i386-linux-gnu/libz.so.1.2.8 b6b2b000-b6d76000 r-xp
Re: sa-compile error centos 7
2017-08-25 10:08 GMT-06:00 Randal, Phil: > I've seen this, caused by a CPAN install which leaves stuff like this in > .bashrc: > > export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5"; > export PERL_MB_OPT="--install_base /root/perl5"; export > PERL_MM_OPT="INSTALL_BASE=/root/perl5"; > export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB"; > export PATH="/root/perl5/bin:$PATH"; > > Workaround: > > PERL_MM_OPT='' sa-compile > > Cheers, > > Phil > work perfect , thank -- rickygm http://gnuforever.homelinux.com
RE: sa-compile error centos 7
I've seen this, caused by a CPAN install which leaves stuff like this in .bashrc: export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5"; export PERL_MB_OPT="--install_base /root/perl5"; export PERL_MM_OPT="INSTALL_BASE=/root/perl5"; export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB"; export PATH="/root/perl5/bin:$PATH"; Workaround: PERL_MM_OPT='' sa-compile Cheers, Phil -Original Message- From: Ricky Gutierrez [mailto:xserverli...@gmail.com] Sent: 24 August 2017 23:47 To: users@spamassassin.apache.org Subject: sa-compile error centos 7 hi list , I have some problems compiling spamassassin 3.4.1 [root@scm ~]# sa-compile Aug 24 22:30:40.694 [4709] info: generic: base extraction starting. this can take a while... Aug 24 22:30:40.695 [4709] info: generic: extracting from rules of type body_0 100% [==] 15514.37 rules/sec 00m00s DONE 100% [==] 390.86 bases/sec 00m06s DONE Aug 24 22:30:47.535 [4709] info: body_0: 1428 base strings extracted in 7 seconds cd /tmp/.spamassassin4709y71OgLtmp reading bases_body_0.in cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re re2c -i -b -o scanner2.c scanner2.re re2c -i -b -o scanner3.c scanner3.re re2c -i -b -o scanner4.c scanner4.re re2c -i -b -o scanner5.c scanner5.re re2c -i -b -o scanner6.c scanner6.re re2c -i -b -o scanner7.c scanner7.re re2c -i -b -o scanner8.c scanner8.re /usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin4709y71OgLtmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.016/3.004001 Only one of PREFIX or INSTALL_BASE can be given. Not both. command failed: exit 25 spamassassin-3.4.1-14.el7.centos.x86_64 any help? -- rickygm http://gnuforever.homelinux.com Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it."
Fwd: sa-compile error centos 7
2017-08-24 17:55 GMT-06:00 John Hardin: > On Thu, 24 Aug 2017, Ricky Gutierrez wrote: > >> spamassassin-3.4.1-14.el7.centos.x86_64 > > > Where did you get that? > > The official Centos 7 version (as far as I can tell) is 3.4.0-2 and the > latest available via FC is 3.4.1-12 from FC26. > > I don't have a RedHat account, but I expect Centos would pretty quickly > release any updated version from RedHat... > > Is that a roll-your-own? Or am I missing something official? > > Hi Jonh , this is from fedora spamassassin-3.4.1-14.fc27.src.rpm -- rickygm http://gnuforever.homelinux.com -- rickygm http://gnuforever.homelinux.com
Re: sa-compile error centos 7
On Thu, 24 Aug 2017, Ricky Gutierrez wrote: spamassassin-3.4.1-14.el7.centos.x86_64 Where did you get that? The official Centos 7 version (as far as I can tell) is 3.4.0-2 and the latest available via FC is 3.4.1-12 from FC26. I don't have a RedHat account, but I expect Centos would pretty quickly release any updated version from RedHat... Is that a roll-your-own? Or am I missing something official? -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 --- Usually Microsoft doesn't develop products, we buy products. -- Arno Edelmann, Microsoft product manager --- Today: the 1938th anniversary of the destruction of Pompeii
sa-compile error centos 7
hi list , I have some problems compiling spamassassin 3.4.1 [root@scm ~]# sa-compile Aug 24 22:30:40.694 [4709] info: generic: base extraction starting. this can take a while... Aug 24 22:30:40.695 [4709] info: generic: extracting from rules of type body_0 100% [==] 15514.37 rules/sec 00m00s DONE 100% [==] 390.86 bases/sec 00m06s DONE Aug 24 22:30:47.535 [4709] info: body_0: 1428 base strings extracted in 7 seconds cd /tmp/.spamassassin4709y71OgLtmp reading bases_body_0.in cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re re2c -i -b -o scanner2.c scanner2.re re2c -i -b -o scanner3.c scanner3.re re2c -i -b -o scanner4.c scanner4.re re2c -i -b -o scanner5.c scanner5.re re2c -i -b -o scanner6.c scanner6.re re2c -i -b -o scanner7.c scanner7.re re2c -i -b -o scanner8.c scanner8.re /usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin4709y71OgLtmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.016/3.004001 Only one of PREFIX or INSTALL_BASE can be given. Not both. command failed: exit 25 spamassassin-3.4.1-14.el7.centos.x86_64 any help? -- rickygm http://gnuforever.homelinux.com
sa-compile error codes
Hi, Does anyone have a list of the error codes? running normally for years called from cron bash script, I am moving it to cron perl script (for lots of reasons and other things), run from console it works, but run from cron it fails, exits with 256 (assumed exit code 1 ), tried backticks and system calls to it, always with full path, only way it runs is from shell, is there something in that hidden that runs from an assumed path that its not going to get from cron? cheers signature.asc Description: This is a digitally signed message part
Re: sa-compile error codes [solved - but bug]
On Sun, 2011-11-20 at 13:37 +1000, Noel Butler wrote: Hi, Does anyone have a list of the error codes? running normally for years called from cron bash script, I am moving it to cron perl script (for lots of reasons and other things), run from console it works, but run from cron it fails, exits with 256 (assumed exit code 1 ), tried backticks and system calls to it, always with full path, only way it runs is from shell, is there something in that hidden that runs from an assumed path that its not going to get from cron? cheers Replying to ones self is not good... or maybe I ought to have had that cupa tea break earlier... sa-compile assumes qx(re2c this does not consider alternative locations, such as those who install re2c from source to default location, being /usr/local/bin put the path in there and it runs fine... signature.asc Description: This is a digitally signed message part
sa-compile error
I was trying to do sa-compile -D on my system and I got this error message: cd /tmp/.spamassassin28731HM9DTNtmp cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re re2c -i -b -o scanner2.c scanner2.re re2c: error: line 85, column 12: unexpected character: 0x1E What is causing this and how to solve this? Thank you, Frank
Re: sa-compile error
On 11/12/10 5:38 PM, fchan wrote: I was trying to do sa-compile -D on my system and I got this error message: \ first, tell us: 1) version of SA 2) version of re2c 3) what rules, other than stock SA rules do you have 4) what local rules, changes, edits do you have? 5) what operating system, i386/amdf64? 6) did you check to make sure you have the latestest SA and re2c? -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 ISN: 1259*1300 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best in Email Security,2010: Network Products Guide * King of Spam Filters, SC Magazine 2008 __ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ __
Re: sa-compile error
On 11/12/10 5:38 PM, fchan wrote: I was trying to do sa-compile -D on my system and I got this error message: \ first, tell us: 1) version of SA 2) version of re2c 3) what rules, other than stock SA rules do you have 4) what local rules, changes, edits do you have? 5) what operating system, i386/amdf64? 6) did you check to make sure you have the latestest SA and re2c? -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 ISN: 1259*1300 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best in Email Security,2010: Network Products Guide * King of Spam Filters, SC Magazine 2008 __ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ __ 1) SpamAssassin version 3.3.1 2) re2c 0.12.3 3) Very large local.cf ruleset since we are biological research company thus the large local.cf 4) This is what I just added: b o d y P H A R M _ P H I S H _ 2 2 2 / / i s c o r e P H A R M _ P H I S H _ 2 2 2 9 0 . 0 d e s c r i b e P H A R M _ P H I S H _ 2 2 2 W i t h a n d p h i s h l i n k 2 2 2 5) Red Hat Linux 2.6.18-194.8.1.el5xen 6) SA up to date however re2c needs updating. I removed the above ruleset and now sa-compile correctly. This rule had Cyrillic characters which appears to have choked sa-compile./re2c from some reason. I have added Cyrillic characters before but this first time I got this error from this. It is strange that Cyrillic characters (at least what I can read) could do this. Thank you, Frank
Re: sa-compile error
On 11/12/2010 6:05 PM, fchan wrote: 2) re2c 0.12.3 I can't say I even recall using re2c 0.12.x, but I do remember several bugs in 0.13.x prior to the current 0.13.5. Is upgrading an option? 0.13.5 has been stable for over 2 years and works great here. -- /Jason
Sa-compile error
Hi, everybody, sa-compile was running allright in my systems, and the saturday it began to spit out this output (from sa-compile -D): cd /tmp/.spamassassin28680clJUyOtmp cd Mail-SpamAssassin-CompiledRegexps-body_0 Wide character in print at /usr/local/bin/sa-compile line 379, $fh line 4428. re2c -i -b -o scanner1.c scanner1.re re2c -i -b -o scanner2.c scanner2.re re2c -i -b -o scanner3.c scanner3.re re2c -i -b -o scanner4.c scanner4.re re2c -i -b -o scanner5.c scanner5.re re2c -i -b -o scanner6.c scanner6.re re2c: error: line 103, column 8: can't find symbol command failed! at /usr/local/bin/sa-compile line 282, $fh line 4586. the relevant line of scanner6.re is this: e\/[EMAIL PROTECTED], [EMAIL PROTECTED] = and many many more ) - free shipping {RET(__SEEK_F3UZNS);} The saturday I've enabled Justin Mason's rules via sa-update, I don't know if this has something to do with it... Any other info you need to debug this, please ask. Thanks in advance, Luis -- - GNU-GPL: May The Source Be With You... Linux Registered User #448382. When I grow up, I wanna be like Theo... -
Re: Sa-compile error
=?ISO-8859-1?Q?Luis_Hern=E1n_Otegui?= writes: Hi, everybody, sa-compile was running allright in my systems, and the saturday it began to spit out this output (from sa-compile -D): there are a number of bugs in sa-compile that are fixed in SVN trunk-- please apply the patches from http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5493 http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5556 http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5594 and that should go away. Hopefully we can get a 3.2.4 release out eventually to fix these... --j.
Re: sa-compile error
Hi Guys.. Solved the problem.. After rpm installation failed, I tried installing it from re2c-0.12.1.tar.gz and it worked. Thank you Steve for suggesting Diptanjan diptanjan wrote: diptanjan wrote: Hi Friends, I am getting an error when ever I am usinf sa-compile. can you please checkout and tell me the reason behind it? # sa-compile [4846] info: generic: base extraction starting. this can take a while... [4846] info: generic: extracting from rules of type body_0 100% [===] 39.01 rules/sec 00m11s DONE 100% [===] 100.14 bases/sec 00m10s DONE [4846] info: body_0: 683 base strings extracted in 23 seconds [4846] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score cd /tmp/.spamassassin4846ilcSlDtmp cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re Can't exec re2c: No such file or directory at /usr/bin/sa-compile line 274, $fh line 985. command failed! at /usr/bin/sa-compile line 275, $fh line 985. You need to install re2c http://re2c.org/ Steve - -- I have already downloaded the rpm re2c-0.12.1-1.src.rpm from the site and tried.. but it didnt work... while installing from rpm its also giving error warning : user marcos does not exist. using root.. Diptanjan -- View this message in context: http://www.nabble.com/sa-compile-error-tf3889183.html#a11059578 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
sa-compile error
Hi Friends, I am getting an error when ever I am usinf sa-compile. can you please checkout and tell me the reason behind it? # sa-compile [4846] info: generic: base extraction starting. this can take a while... [4846] info: generic: extracting from rules of type body_0 100% [===] 39.01 rules/sec 00m11s DONE 100% [===] 100.14 bases/sec 00m10s DONE [4846] info: body_0: 683 base strings extracted in 23 seconds [4846] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score cd /tmp/.spamassassin4846ilcSlDtmp cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re Can't exec re2c: No such file or directory at /usr/bin/sa-compile line 274, $fh line 985. command failed! at /usr/bin/sa-compile line 275, $fh line 985. -- View this message in context: http://www.nabble.com/sa-compile-error-tf3889183.html#a11024668 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: sa-compile error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 diptanjan wrote: Hi Friends, I am getting an error when ever I am usinf sa-compile. can you please checkout and tell me the reason behind it? # sa-compile [4846] info: generic: base extraction starting. this can take a while... [4846] info: generic: extracting from rules of type body_0 100% [===] 39.01 rules/sec 00m11s DONE 100% [===] 100.14 bases/sec 00m10s DONE [4846] info: body_0: 683 base strings extracted in 23 seconds [4846] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score cd /tmp/.spamassassin4846ilcSlDtmp cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re Can't exec re2c: No such file or directory at /usr/bin/sa-compile line 274, $fh line 985. command failed! at /usr/bin/sa-compile line 275, $fh line 985. You need to install re2c http://re2c.org/ - -- Steve -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaT0DeERILVgMyvARAhlyAJ98qUtbGMDlTT1Jn9SZIECfsJdz7wCfSUkR 8gzVwOYOytU4pzXakEZyfqI= =RLw/ -END PGP SIGNATURE-
Re: sa-compile error
diptanjan wrote: Hi Friends, I am getting an error when ever I am usinf sa-compile. can you please checkout and tell me the reason behind it? # sa-compile [4846] info: generic: base extraction starting. this can take a while... [4846] info: generic: extracting from rules of type body_0 100% [===] 39.01 rules/sec 00m11s DONE 100% [===] 100.14 bases/sec 00m10s DONE [4846] info: body_0: 683 base strings extracted in 23 seconds [4846] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score cd /tmp/.spamassassin4846ilcSlDtmp cd Mail-SpamAssassin-CompiledRegexps-body_0 re2c -i -b -o scanner1.c scanner1.re Can't exec re2c: No such file or directory at /usr/bin/sa-compile line 274, $fh line 985. command failed! at /usr/bin/sa-compile line 275, $fh line 985. You need to install re2c http://re2c.org/ Steve - -- I have already downloaded the rpm re2c-0.12.1-1.src.rpm from the site and tried.. but it didnt work... while installing from rpm its also giving error warning : user marcos does not exist. using root.. Diptanjan -- View this message in context: http://www.nabble.com/sa-compile-error-tf3889183.html#a11024925 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
sa-compile error
I've set up sa-compile successfully on two of our three servers. The third gives this error: Insecure dependency in mkdir while running with -T switch at /usr/bin/sa-compile line 321, $fh line 1. Googling around, there are references to editing a perl .pm file, but this error points to the sa-compile source itself. How do I fix this?
Re: sa-compile error
Steven Stern wrote: I've set up sa-compile successfully on two of our three servers. The third gives this error: Insecure dependency in mkdir while running with -T switch at /usr/bin/sa-compile line 321, $fh line 1. Googling around, there are references to editing a perl .pm file, but this error points to the sa-compile source itself. How do I fix this? Please open a bug at http://issues.apache.org/SpamAssassin/ and be sure to include the command line parameters that trigger this. Thanks, Daryl
SA-Compile Error
Hi, I have just run sa-compile against my rules which ran through okay. Though when I perform a lint now I get the following error :- /usr/bin/perl: symbol lookup error: /var/lib/spamassassin/compiled/3.002000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so: undefined symbol: Mail_SpamAssassin_CompiledRegexps_body_0_scan1 Any ideas on how to resolve it ? -- --[ UxBoD ]-- // PGP Key: curl -s http://www.splatnix.net/uxbod.asc | gpg --import // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8 // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8 // Phone: +44 845 869 2749 // SIP Phone: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: SA-Compile Error
check the FAQ --[ UxBoD ]-- writes: Hi, I have just run sa-compile against my rules which ran through okay. Though when I perform a lint now I get the following error :- /usr/bin/perl: symbol lookup error: /var/lib/spamassassin/compiled/3.002000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so: undefined symbol: Mail_SpamAssassin_CompiledRegexps_body_0_scan1 Any ideas on how to resolve it ? -- --[ UxBoD ]-- // PGP Key: curl -s http://www.splatnix.net/uxbod.asc | gpg --import // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8 // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8 // Phone: +44 845 869 2749 // SIP Phone: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.