I installed the packages and executed ‘sa-update’ and ‘sa-compile’.

Executing the command ‘sudo systemctl restart spamassassin.service’ gave
the following error message:

Failed to restart spamassassin.service: Unit spamassassin.service not
found.

This is the output after compiling as installed:

chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Manifying 1 pod document
make install PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTALLSITEARCH=/va                                                             
                                                
r/lib/spamassassin/compiled/5.038/4.000000
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- body_0.bs 
blib/arch/                                                                      
                                       
auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture 
depende                                                                         
                                    nt library tree
Installing 
/var/lib/spamassassin/compiled/5.038/4.000000/auto/Mail/SpamAssassin/           
                                                                                
                  CompiledRegexps/body_0/body_0.so
Installing 
/var/lib/spamassassin/compiled/5.038/4.000000/Mail/SpamAssassin/Compi           
                                                                                
                  ledRegexps/body_0.pm
Installing 
/tmp/.spamassassin11512vrTE1Ztmp/ignored/man/man3/Mail::SpamAssassin:           
                                                                                
                  :CompiledRegexps::body_0.3pm
Appending installation info to 
/var/lib/spamassassin/compiled/5.038/4.000000/per                               
                                                                              
llocal.pod
cp /tmp/.spamassassin11512vrTE1Ztmp/bases_body_0.pl 
/var/lib/spamassassin/compil                                                    
                                                         
ed/5.038/4.000000/bases_body_0.pl
cd /tmp/.spamassassin11512vrTE1Ztmp
reading bases_body_neg2000.in
cd Mail-SpamAssassin-CompiledRegexps-body_neg2000
/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTAL                                                                          
                                   
LSITEARCH=/var/lib/spamassassin/compiled/5.038/4.000000
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_neg2000
Writing MYMETA.yml and MYMETA.json
make PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTALLSITEARCH=/var/lib/sp                                                     
                                                        
amassassin/compiled/5.038/4.000000
cp body_neg2000.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm
Running Mkbootstrap for body_neg2000 ()
chmod 644 "body_neg2000.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- body_neg2000.bs 
blib                                                                            
                                 
/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg2000.bs 644
"/usr/bin/perl" "/usr/share/perl/5.38/ExtUtils/xsubpp"  -typemap 
'/usr/share/per                                                                 
                                            l/5.38/ExtUtils/typemap'  
body_neg2000.xs > body_neg2000.xsc
mv body_neg2000.xsc body_neg2000.c
x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-stric                                                                      
                                       t-aliasing -pipe -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                      
                                                                        -O2 -g  
 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib/x86_64-linux-         
                                                                                
                    gnu/perl/5.38/CORE"   body_neg2000.c
rm -f 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg2000      
                                                                                
                       .so
x86_64-linux-gnu-gcc  -shared -L/usr/local/lib -fstack-protector-strong  
body_ne                                                                         
                                    g2000.o  -o 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_n            
                                                                                
                 eg2000.so  \
      \

chmod 755 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg          
                                                                                
                   2000.so
Manifying 1 pod document
make install PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTALLSITEARCH=/va                                                             
                                                
r/lib/spamassassin/compiled/5.038/4.000000
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- body_neg2000.bs 
blib                                                                            
                                 
/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg2000.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture 
depende                                                                         
                                    nt library tree
Installing 
/var/lib/spamassassin/compiled/5.038/4.000000/auto/Mail/SpamAssassin/           
                                                                                
                  CompiledRegexps/body_neg2000/body_neg2000.so
Installing 
/tmp/.spamassassin11512vrTE1Ztmp/ignored/man/man3/Mail::SpamAssassin:           
                                                                                
                  :CompiledRegexps::body_neg2000.3pm
Appending installation info to 
/var/lib/spamassassin/compiled/5.038/4.000000/per                               
                                                                              
llocal.pod
cp /tmp/.spamassassin11512vrTE1Ztmp/bases_body_neg2000.pl 
/var/lib/spamassassin/                                                          
                                                   
compiled/5.038/4.000000/bases_body_neg2000.pl
cd /
rm -rf /tmp/.spamassassin11512vrTE1Ztmp

The following lines can be found in the log file /var/log/mail.log after
installation:

2024-11-08T19:59:59.759067+01:00 crosis spamd[10546]: Can't locate 
Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm in @INC (you may need to 
install the Mail::SpamAssassin::CompiledRegexp>
2024-11-08T19:59:59.759451+01:00 crosis spamd[10546]: Can't locate 
Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (you may need to install 
the Mail::SpamAssassin::CompiledRegexps::bod>
2024-11-08T20:00:00.755095+01:00 crosis spamd[10546]: spamd: server started on 
IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 4.0.0)
2024-11-08T20:00:00.755396+01:00 crosis spamd[10546]: spamd: server pid: 10546
2024-11-08T20:00:00.759258+01:00 crosis spamd[10546]: spamd: server 
successfully spawned child process, pid 10601
2024-11-08T20:00:00.763510+01:00 crosis spamd[10546]: spamd: server 
successfully spawned child process, pid 10602
2024-11-08T20:00:00.763649+01:00 crosis spamd[10546]: prefork: child states: IS
2024-11-08T20:00:00.763877+01:00 crosis spamd[10546]: prefork: child states: II
2024-11-08T20:00:21.241855+01:00 crosis spamd[10546]: spamd: server hit by 
SIGHUP, restarting
2024-11-08T20:00:21.246665+01:00 crosis spamd[10546]: spamd: child [10601] 
killed successfully: interrupted, signal 2 (0002)
2024-11-08T20:00:21.251509+01:00 crosis spamd[10546]: spamd: child [10602] 
killed successfully: interrupted, signal 2 (0002)
2024-11-08T20:00:21.251631+01:00 crosis spamd[10546]: spamd: server socket 
closed, type IO::Socket::IP
2024-11-08T20:00:21.251666+01:00 crosis spamd[10546]: spamd: server socket 
closed, type IO::Socket::IP
2024-11-08T20:00:22.483929+01:00 crosis spamd[10546]: zoom: able to use 388/388 
'body_0' compiled rules (100%)
2024-11-08T20:00:22.948784+01:00 crosis spamd[10546]: spamd: server started on 
IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 4.0.0)
2024-11-08T20:00:22.948865+01:00 crosis spamd[10546]: spamd: server pid: 10546
2024-11-08T20:00:22.952219+01:00 crosis spamd[10546]: spamd: server 
successfully spawned child process, pid 11339
2024-11-08T20:00:22.955033+01:00 crosis spamd[10546]: spamd: server 
successfully spawned child process, pid 11340
2024-11-08T20:00:22.955922+01:00 crosis spamd[10546]: prefork: child states: IS
2024-11-08T20:00:22.956555+01:00 crosis spamd[10546]: prefork: child states: II

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086869

Title:
  spamassassin installation silently fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2086869/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to