OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004141 [amavisd_new] other major N/A 2010-01-11 00:16 2010-04-18 11:23
Reporter skayser View Status public  
Assigned To ihsan
Priority normal Resolution fixed  
Status closed  
Summary 0004141: amavisd-new doesn't start due to Mail::SPF related import errors
Description Reported on #opencsw by user yurda for amavisd_new on OpenSolaris. Startup problems of amavisd-new, with error messages pointing to Mail::SPF. Might be rooted somewhere else, please re-assign or discuss as you see fit.

Compilation failed in require at (eval 126) line 3.
      ...propagated at /opt/csw/share/perl/5.8.8/base.pm line 85.
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/Mech.pm line 24.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/A.pm:
  Can't locate object method "explanation_templates_by_result_code" via package "Mail::SPF::SenderIPAddrMech" at /opt/csw/share/perl/csw/Mail/SPF/SenderIPAddrMech.pm line 28.
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/SenderIPAddrMech.pm line 34.
  Compilation failed in require at (eval 127) line 3.
      ...propagated at /opt/csw/share/perl/5.8.8/base.pm line 85.
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/Mech/A.pm line 22.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/PTR.pm:
  Can't locate object method "make_accessor" via package "Mail::SPF::Mech::PTR" at /opt/csw/share/perl/csw/Mail/SPF/Mech/PTR.pm line 128.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/All.pm:
  Can't locate object method "explanation_templates_by_result_code" via package "Mail::SPF::Mech::All" at /opt/csw/share/perl/csw/Mail/SPF/Mech/All.pm line 30.
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/Mech/All.pm line 35.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/Exists.pm:
  Can't locate object method "make_accessor" via package "Mail::SPF::Mech::Exists" at /opt/csw/share/perl/csw/Mail/SPF/Mech/Exists.pm line 126.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/IP4.pm:
  Can't locate object method "make_accessor" via package "Mail::SPF::Mech::IP4" at /opt/csw/share/perl/csw/Mail/SPF/Mech/IP4.pm line 134.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/IP6.pm:
  Can't locate object method "make_accessor" via package "Mail::SPF::Mech::IP6" at /opt/csw/share/perl/csw/Mail/SPF/Mech/IP6.pm line 132.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/Include.pm:
  Can't locate object method "make_accessor" via package "Mail::SPF::Mech::Include" at /opt/csw/share/perl/csw/Mail/SPF/Mech/Include.pm line 126.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mech/MX.pm:
  Can't locate object method "make_accessor" via package "Mail::SPF::Mech::MX" at /opt/csw/share/perl/csw/Mail/SPF/Mech/MX.pm line 157.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mod.pm:
  Can't locate object method "name_pattern" via package "Mail::SPF::Mod" at /opt/csw/share/perl/csw/Mail/SPF/Mod.pm line 31.
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/Mod.pm line 31.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mod/Exp.pm:
  Base class package "Mail::SPF::GlobalMod" is empty.
      (Perhaps you need to 'use' the module which defines that package first.)
   at /opt/csw/share/perl/csw/Mail/SPF/Mod/Exp.pm line 23
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/Mod/Exp.pm line 23.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
fetch_modules: error loading optional module Mail/SPF/Mod/Redirect.pm:
  Base class package "Mail::SPF::GlobalMod" is empty.
      (Perhaps you need to 'use' the module which defines that package first.)
   at /opt/csw/share/perl/csw/Mail/SPF/Mod/Redirect.pm line 23
  BEGIN failed--compilation aborted at /opt/csw/share/perl/csw/Mail/SPF/Mod/Redirect.pm line 23.
  Compilation failed in require at /opt/csw/sbin/amavisd-new line 197.
[ Jan 10 23:49:19 Method "start" exited with status 0. ]
[ Jan 10 23:49:19 Stopping because all processes in service exited. ]
[ Jan 10 23:49:19 Executing stop method ("/var/opt/csw/svc/method/svc-cswamavisdnew stop"). ]
The amavisd daemon is not running
[ Jan 10 23:49:20 Method "stop" exited with status 3. ]
[ Jan 10 23:49:20 Executing stop method ("/var/opt/csw/svc/method/svc-cswamavisdnew stop"). ]
The amavisd daemon is not running
[ Jan 10 23:49:20 Method "stop" exited with status 3. ]
[ Jan 10 23:49:20 Executing stop method ("/var/opt/csw/svc/method/svc-cswamavisdnew stop"). ]
The amavisd daemon is not running
[ Jan 10 23:49:21 Method "stop" exited with status 3. ]
Additional Information SunOS mail.bulovka.cz 5.11 snv_111b i86pc i386 i86pc

   PKGINST: CSWamavisdnew
      NAME: amavisd_new - Interface between MTA and content checkers
  CATEGORY: application
      ARCH: all
   VERSION: 2.6.3,REV=2009.04.23
   BASEDIR: /
    VENDOR: http://www.ijs.si/software/amavisd/ [^] packaged for CSW by Ihsan Dogan
    PSTAMP: ihsan@build8s-UNCOMMITTED-20090423104755
  INSTDATE: Jan 10 2010 23:29
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: ihsan@opencsw.org
    STATUS: completely installed
     FILES: 77 installed pathnames
                   3 shared pathnames
                   5 directories
                   6 executables
                5136 blocks used (approx)

   PKGINST: CSWperl
      NAME: perl - A high-level, general-purpose programming language
  CATEGORY: application
      ARCH: i386
   VERSION: 5.8.8,REV=2009.11.12
   BASEDIR: /
    VENDOR: http://www.cpan.org/src [^] packaged for CSW by Peter Bonivart
    PSTAMP: bonivart@build8x-20091112150112
  INSTDATE: Jan 10 2010 23:00
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: bonivart@opencsw.org
    STATUS: completely installed
     FILES: 1477 installed pathnames
                   3 shared pathnames
                   3 linked files
                 176 directories
                  77 executables
               42961 blocks used (approx)

   PKGINST: CSWpmmailspf
      NAME: pm_mailspf - Perl extension for Sender Policy Framework
  CATEGORY: application
      ARCH: all
   VERSION: 2.007,REV=2009.12.11
   BASEDIR: /
    VENDOR: http://search.cpan.org/~jmehnle/Mail-SPF [^] packaged for CSW by Dagobert Michelsen
    PSTAMP: dam@build8s-20091211211556
  INSTDATE: Jan 10 2010 23:01
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: dam@opencsw.org
    STATUS: completely installed
     FILES: 69 installed pathnames
                  10 shared pathnames
                  17 directories
                   2 executables
                 927 blocks used (approx)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007204)
skayser (administrator)
2010-01-11 00:17

Assigned to pm_mailspf first, now moved to amavisd_new. Sorry for the noise.
(0007367)
ihsan (manager)
2010-01-30 09:10

I can't reproduce this error. For me, it works fine with Mail::SPF.
(0007418)
skayser (administrator)
2010-02-09 01:29

The user might have done something wrong, don't know about the details of the installation. Did you try to reproduce with a fresh Solaris installation (i.e. no CSW packages except for pkgutil) and pkgutil -i amavisd_new? Maybe there are some explicit dependencies missing which you happen to have on your system through other packages.
(0007874)
ihsan (manager)
2010-04-18 11:23

Can't reproduce. Closing bug report.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker