Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Mail Server stopped working after installing MailScanner

Reply to Post Add a New Topic
UserPost

8:19 pm
November 30, 2010


butchb2

Member

posts 6

Hi,

I followed ths step by step installation. Got the mail server working until I installed the MailScanner.

Below is what I see in the MailScanner service window status, can anyone help. Thanks.

 

Can't locate Sys/SigAction.pm in @INC (@INC contains: /usr/lib/MailScanner /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

BEGIN failed–compilation aborted at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

Compilation failed in require at /usr/lib/MailScanner/MailScanner/Config.pm line 47.

Compilation failed in require.

BEGIN failed–compilation aborted.

Can't locate Sys/SigAction.pm in @INC (@INC contains: /usr/lib/MailScanner /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

BEGIN failed–compilation aborted at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

Compilation failed in require at /usr/lib/MailScanner/MailScanner/Config.pm line 47.

Compilation failed in require.

BEGIN failed–compilation aborted.

Can't locate Sys/SigAction.pm in @INC (@INC contains: /usr/lib/MailScanner /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

BEGIN failed–compilation aborted at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

Compilation failed in require at /usr/lib/MailScanner/MailScanner/Config.pm line 47.

Compilation failed in require.

BEGIN failed–compilation aborted.

Can't locate Sys/SigAction.pm in @INC (@INC contains: /usr/lib/MailScanner /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

BEGIN failed–compilation aborted at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

Compilation failed in require at /usr/lib/MailScanner/MailScanner/Config.pm line 47.

Compilation failed in require.

BEGIN failed–compilation aborted.

Can't locate Sys/SigAction.pm in @INC (@INC contains: /usr/lib/MailScanner /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

BEGIN failed–compilation aborted at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 38.

Compilation failed in require at /usr/lib/MailScanner/MailScanner/Config.pm line 47.

Compilation failed in require.

BEGIN failed–compilation aborted.

/etc/init.d/MailScanner: line 84: [: =: unary operator expected

Checking MailScanner daemons:

         MailScanner:       [FAILED]

 

/etc/init.d/MailScanner: line 335: [: =: unary operator expected

/etc/init.d/MailScanner: line 349: [: =: unary operator expected

4:01 am
December 3, 2010


Ginger

Member

posts 14

Hi butchb2,

 

Did you use the "yum install –nogpgcheck mailscanner*" command to install?

I tried that without success.

I finally read the README inside /usr/share/your_mailscanner_directory

which led me to trying /usr/share/your_mailscanner_directory/install.sh as an install method that actually worked for me.

I don't have the faintest idea what your error messages are, but you might try "yum remove mailscanner" and then try /usr/share/your_mailscanner_directory/install.sh to reinstall.

 

Ginger

11:30 am
December 6, 2010


butchb2

Member

posts 6

Thanks Ginger,

 

Didn't think anybody was going to respond to a newbie, so I decided to reinstall CentOS over the weekend, just in case I missed something during the step by step configuration.

 

I appreciate the response, and I will try your suggestion If I get the same errors during the Mailscanner installation.

 

Butch

10:33 am
December 7, 2010


butchb2

Member

posts 6

To All,

 

So far, I have tried 3 fresh installs of CentOS 5.5 on 3 different machines. I will get the mail server working until I install Mailserver.

I get the same error above on all 3 installs.

Can anyone help.

 

butchb2

2:53 pm
December 7, 2010


cwall64

Houston, Tx

Member

posts 4

Smae issue here – it works great until the MailScanner configuration.  (butchb2 the SigAction.pm is an install that can be added with yum or the GUI, but after that install it still will not work)

5:21 pm
December 7, 2010


cwall64

Houston, Tx

Member

posts 4

butchb2,

I got it working by using the ./install.sh as someone stated earlier in the tread.  Then I used the "MailScanner –lint" command to test it – there seemed to be several errors in the MailScanner.conf file I was using and some bad file locations etc referenced in the different conf files.  Once all that was corrected and restarted, mails started to flow in…

11:19 am
December 8, 2010


butchb2

Member

posts 6

cwall64,

 

Thanks for the response, the SigAction.pm, is that part of a package in CentOs 5.5 ?

While surfing for solutions, I found perl-Sys-SigAction-0.11-1.el5.noarch.rpm, can I use this?

Again, I appreciate and thanks for the help.

 

Butch

11:41 am
December 8, 2010


cwall64

Houston, Tx

Member

posts 4

butchb2 said:

cwall64,

 

Thanks for the response, the SigAction.pm, is that part of a package in CentOs 5.5 ?

While surfing for solutions, I found perl-Sys-SigAction-0.11-1.el5.noarch.rpm, can I use this?

Again, I appreciate and thanks for the help.

 

Butch


from package manager -> search tab -> sigaction search – for me (on 5.4) it brings up perl-Sys-SigAction-0.11-1.el5.rf.noarch.  I was also missing a Df.pm, that is why I used the install.sh in the MailScanner tar file (it seems to build or find all of the necessary dependancies & is the way the README and Quickstart suggest).

Chris

12:50 pm
December 8, 2010


butchb2

Member

posts 6

Chris,

 

Do I need to start with a fresh install or can I just uninstall MailScanner & the perl packages?

 

Butch

1:37 pm
December 8, 2010


cwall64

Houston, Tx

Member

posts 4

butchb2 said:

Chris,

 

Do I need to start with a fresh install or can I just uninstall MailScanner & the perl packages?

 

Butch


To be honest with you, I just installed over the top of the one that was failing after MailScanner config…  Whether that is proper or not – who knows!

7:12 pm
December 9, 2010


butchb2

Member

posts 6

Chris & Ginger,

Thanks for your responses. I finally got it to work.

Ended up installing Sys-SigAction, re-installing MailScanner via install.sh & re-installing Clam-SA.

As a newbie in Linux, I learned a lot from this excercise.

Again my appreciation for your help.

 

Butch

5:35 am
July 7, 2011


Fabio

Guest

OK guys, i solved in a different way.

If you install with install.sh from MailScanner the problem is when you try to do yum update.

In that case there could appear a lot of problem due to perl  packeges from compiled ones in the install.sh.

So I follow the http://www.linuxmail.info/mail…..-centos-5/ step by step guide.. …

install rpmforge repo

yum install perl-Archive-Zip
perl-DBI
perl-DBD-SQLite
perl-Filesys-Df
perl-Net-CIDR perl-OLE-Storage_Lite
perl-Sys-Hostname-Long

 

yum install --nogpgcheck mailscanner*
and after that... I solved all with
yum install perl-Sys-SigAction
hope I could help..
Bye
Fabio

5:54 am
July 7, 2011


Fabio

Guest

Please, an addon…

yum install perl-Sys-Hostname-Long

you need also this

Fabio

 

Reply to Post

Reply to Topic:
Mail Server stopped working after installing MailScanner

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 3
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
20 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)