Installation Errors
=============
When I ran the install script I received the following errors
----------------------------------------------------------------------------------------
Installing MailScanner service into /etc/init.d/ ...
`MailScanner' -> `/etc/init.d/./MailScanner'
mode of `/etc/init.d/MailScanner' changed to 0700 (rwx------)
install.sh: line 7: chkconfig: command not found
Performing MailScanner installation/upgrade...
install.sh: line 11: 27144 Segmentation fault (core dumped) perl msinstall.pl
Copying MailScanner/cPanel scripts...
mkdir: created directory `/usr/mscpanel'
`mscheck.pl' -> `/usr/mscpanel/./mscheck.pl'
`mscpanel.pl' -> `/usr/mscpanel/./mscpanel.pl'
`msswitch.pl' -> `/usr/mscpanel/./msswitch.pl'
`version.txt' -> `/usr/mscpanel/./version.txt'
`exim.init' -> `/usr/mscpanel/./exim.init'
mode of `/usr/mscpanel/mscpanel.pl' changed to 0700 (rwx------)
mode of `/usr/mscpanel/mscheck.pl' changed to 0700 (rwx------)
mode of `/usr/mscpanel/msswitch.pl' changed to 0700 (rwx------)
install.sh: line 28: service: command not found
Starting chkservd: /bin/bash: line 1: 27171 Segmentation fault /usr/local/cpanel/libexec/chkservd
[FAILED]
Removing old scripts if they exist...
If any files were removed then you should ensure that you read the /usr/mscpanel/README.txt section: Upgrading.
All done.
------------------------------------------------------
Has anyone encountered this before?
mscpanel folder missing?
OK I got to the final part of the install and received the following errors ..
Reloading MailScanner workers:
Starting MailScanner daemons: [FAILED]
MailScanner: Can't locate Net/CIDR.pm in @INC (@INC contains: /usr/mailscanner/lib /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /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/mailscanner/lib) at /usr/mailscanner/lib/MailScanner/Config.pm line 34.
BEGIN failed--compilation aborted at /usr/mailscanner/lib/MailScanner/Config.pm line 34.
Compilation failed in require at /usr/mailscanner/bin/MailScanner line 70.
BEGIN failed--compilation aborted at /usr/mailscanner/bin/MailScanner line 70.
Reloading MailScanner workers:
Starting MailScanner daemons: [FAILED]
MailScanner: Can't locate Net/CIDR.pm in @INC (@INC contains: /usr/mailscanner/lib /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /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/mailscanner/lib) at /usr/mailscanner/lib/MailScanner/Config.pm line 34.
BEGIN failed--compilation aborted at /usr/mailscanner/lib/MailScanner/Config.pm line 34.
Compilation failed in require at /usr/mailscanner/bin/MailScanner line 70.
BEGIN failed--compilation aborted at /usr/mailscanner/bin/MailScanner line 70.
It appears I needed to install a packaged called "Net/CIDR".
That's done, now when I try to start MailScanner I get ...
Starting MailScanner daemons:
MailScanner: Can't locate MIME/Parser.pm in @INC (@INC contains: /usr/mailscanner/lib /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /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/mailscanner/lib) at /usr/mailscanner/lib/MailScanner/MCPMessage.pm line 41.
BEGIN failed--compilation aborted at /usr/mailscanner/lib/MailScanner/MCPMessage.pm line 41.
Compilation failed in require at /usr/mailscanner/bin/MailScanner line 80.
BEGIN failed--compilation aborted at /usr/mailscanner/bin/MailScanner line 80.
So it looks like there are more packages to install.
Is there a way of installing all of the dependant packages in one go?
That's done, now when I try to start MailScanner I get ...
Starting MailScanner daemons:
MailScanner: Can't locate MIME/Parser.pm in @INC (@INC contains: /usr/mailscanner/lib /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /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/mailscanner/lib) at /usr/mailscanner/lib/MailScanner/MCPMessage.pm line 41.
BEGIN failed--compilation aborted at /usr/mailscanner/lib/MailScanner/MCPMessage.pm line 41.
Compilation failed in require at /usr/mailscanner/bin/MailScanner line 80.
BEGIN failed--compilation aborted at /usr/mailscanner/bin/MailScanner line 80.
So it looks like there are more packages to install.
Is there a way of installing all of the dependant packages in one go?