mailscanner will not start after trying to install Mailscanner-MRTG

Discussion in 'Server Operation' started by markerman, Dec 9, 2007.

  1. markerman

    markerman New Member

    Ubuntu Server 7.10
    Used the "Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC and ClamAV " how to. I Got mailflow working and was even able to watch the mail.log entries by typing tal -f /var/log/mail.log. I could see the messages being scanned.

    Then I went to install the Mailscanner-MRTG.

    Typed apt-get install mrtg apache2 snmp snmpd libsnmp4.2

    Wan not ablle to find the package libsnmp4.2.

    Used atpitude instead and it still could not find it but the install proceeded.
    Got to the reboot and here is the reboot message I get

    Starting Mailscanner...
    Starting MailScanner...
    Can't locate Filesys/Df.pm in @INC (@INC contains: /opt/MailScanner/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /opt/MailScanner/lib) at /opt/MailScanner/bin/MailScanner line 66.
    BEGIN failed--compilation aborted at /opt/MailScanner/bin/MailScanner line 66.


    Can anyone help me? What happened and how can I fix it?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Run
    Code:
    apt-get update
    and then
    Code:
    apt-cache search libsnmp
    What's the output?
     
  3. sunardo_panjaitan

    sunardo_panjaitan New Member

    hey...i'am also get the same problem..in Fedora 8 and 9.

    but when i use yum to install libsnmp, there are nothing to do. it means the libsnmp doesn't exist.
    HTML:
    [root@email MailScanner-4.75.11-1]# yum install libsnmp
    updates-newkey            100% |=========================| 2.3 kB    00:00
    fedora                    100% |=========================| 2.1 kB    00:00
    updates                   100% |=========================| 2.6 kB    00:00
    Setting up Install Process
    Parsing package install arguments
    No package libsnmp available.
    Nothing to do
    So, what is its solution???
    plese help me.......
     
  4. falko

    falko Super Moderator ISPConfig Developer

    The tutorial is for Ubuntu and doesn't work on Fedora.
     
  5. sunardo_panjaitan

    sunardo_panjaitan New Member

    ok..i understand that.. i'm sorry.
    i posted that because the error which i get is similar with it.
    the detailed error is...

    [root@email postfix]# check_MailScanner
    Starting MailScanner...Can't locate Filesys/Df.pm in @INC (@INC contains: /usr/lib/MailScanner /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/MailScanner) at /usr/sbin/MailScanner line 91.
    BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 91.
    Failed.

    is there any one can help me???
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Try to install the Perl module Filesys::Df.
     
  7. edubidu

    edubidu New Member

    Hello, I have this problem but with sendmail:

    HTML:
    Can't locate Mail/Sendmail.pm in @INC (@INC contains: /etc/perl 
    /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 
    /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
    /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7 
    /usr/local/share/perl/5.8.7 .) at ./diuf-user line 8.
    BEGIN failed--compilation aborted at ./diuf-user line 8.
    I do not understand what you want to say with

    Please help me !
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Install the PErl module Mail::Sendmail:

    Code:
    perl -MCPAN -e shell
    
    install Mail::Sendmail
    
    q
     
  9. edubidu

    edubidu New Member

    Hello, thank you!
    But I found what it was:

    apt-get install libmail-sendmail-perl

    Greetings!
    edubidu
     

Share This Page