Page 1 of 1

mscpanel folder missing?

Posted: 01 Nov 2008, 05:27
by mikelegg
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?

Posted: 01 Nov 2008, 05:33
by mikelegg
My bad

I didn't use "su -" just "su".

All good now.

Posted: 01 Nov 2008, 05:39
by mikelegg
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.

Posted: 01 Nov 2008, 06:53
by mikelegg
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?

Posted: 01 Nov 2008, 08:04
by Sarah
We've been seeing some perl module problems on install lately. You can try running /scripts/checkperlmodules until it runs clean. After that just keep installing whatever modules are missing. We will look into this and see if we can determine where the problem lies.

Posted: 01 Nov 2008, 13:33
by mikelegg
Thanks Sarah

I'll give it a try.

Posted: 01 Nov 2008, 15:44
by mikelegg
Added a few packages and updated Perl::IO to the latest version and it's all good now.