Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th December 2007, 02:51
markerman markerman is offline
Member
 
Join Date: Dec 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default mailscanner will not start after trying to install Mailscanner-MRTG

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?
Reply With Quote
Sponsored Links
  #2  
Old 9th December 2007, 15:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Run
Code:
apt-get update
and then
Code:
apt-cache search libsnmp
What's the output?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd June 2009, 07:49
sunardo_panjaitan sunardo_panjaitan is offline
Junior Member
 
Join Date: Jun 2009
Location: Sitoluama, Laguboti. North Sumatera, Indonesia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sunardo_panjaitan
Default

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 Code:
[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.......
Reply With Quote
  #4  
Old 22nd June 2009, 16:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

The tutorial is for Ubuntu and doesn't work on Fedora.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd June 2009, 13:50
sunardo_panjaitan sunardo_panjaitan is offline
Junior Member
 
Join Date: Jun 2009
Location: Sitoluama, Laguboti. North Sumatera, Indonesia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sunardo_panjaitan
Default

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???
Reply With Quote
  #6  
Old 24th June 2009, 16:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Try to install the Perl module Filesys:f.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 8th October 2009, 12:33
edubidu edubidu is offline
Junior Member
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello, I have this problem but with sendmail:

HTML Code:
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

Quote:
Try to install the Perl module Filesys:f.
Please help me !
Reply With Quote
  #8  
Old 9th October 2009, 14:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Install the PErl module Mail::Sendmail:

Code:
perl -MCPAN -e shell

install Mail::Sendmail

q
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 9th October 2009, 14:28
edubidu edubidu is offline
Junior Member
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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

apt-get install libmail-sendmail-perl

Greetings!
edubidu
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 22:58
dns server error Hellbound General 7 2nd August 2007 10:18
install Net::DNS chrno Installation/Configuration 4 5th September 2006 18:01
how to perfect install SNMP and MRTG in Fedora Core 3??? fandi2000x Installation/Configuration 5 5th July 2006 22:48
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04


All times are GMT +2. The time now is 05:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.