service MailScanner start issue.

David Lee t.d.lee at DURHAM.AC.UK
Fri Jan 28 17:50:31 GMT 2005


On Fri, 28 Jan 2005, RedRed!com IT Department wrote:

> OK, I have attached a notepad file that has the output of my
> ./install.sh. What I did was rm -rf /opt/Mailscanner and rm -rf
> /usr/src/MailScanner-install-4.38.7. I wanted to start from scratch to
> make sure I did everything correctly.
>
> First issue as you can see in the txt file is that it tells me that I'm
> not running an RPM based system. Which I most certainly am. RH 7.3.

The RPM mechanism should, and does, work on RH 7.3.  And MailScanner
installs nicely with it.

I suggest you look at the "./install.sh" script, and try to work out why
it believes that your particular system doesn't have RPM.  (You can run it
as "sh -x ./install.sh"  to see what it is doing.)  There's something not
right, and investigating it should help.

Once you have resolved this, then there is a chance that the remaining
problems may automatically fix themselves.  But see also below.

> Next it starts checking all the modules and it begins to rebuild a few
> of them. Why is it rebuilding them? I manually built and installed all
> of those modules.

MS does seem to want to rebuild various modules.  In general, on a cleanly
running system, you wouldn't need to worry about this.  But (see above and
below) I suspect that your system has a few peculiarities which are
significantly, and adversely, influencing things.

Glancing through the log file you attached (most useful!), I saw near the
top that it found only one version of perl (good) in "/usr/bin" (good).
But then I noticed references to "/usr/local/lib/perl...".  This feels
inconsistent, as though you might have (or have had) two version of perl:
1. a preferred one in "/usr/bin" and "/usr/lib";
2. a second one, or its residue, in "/usr/local/bin" and "/usr/local/lib".

Do (or did) you have a second perl installation at "/usr/local/bin/perl"?
Your MS installation would have detected this and advised against it.
Perhaps you then removed that binary so that MS passed this "two version"
test, but your perl is still, for some reason, finding the remnants of the
non-preferred "/usr/local/" version.

So if you have both a "/usr/lib/perl..." and a "/usr/local/lib/perl...",
(or remnants) then you should consider trying to remove the "/usr/local"
version completely.

If you really have and need both these paths on the machine, then you are
entering territory outside the recommended norms, where relatively few of
us on this list have trodden before.  You could probably still succeed,
but the chances are that you'll need to get to grips understanding the
particular details of your perls on your machine, which only you (not us)
can do.

Hope that helps.

--

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 334 2752                  U.K.                  :

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list