Problems starting Mailscanner
Julian Field
mailscanner at ecs.soton.ac.uk
Tue Oct 22 14:53:30 IST 2002
At 14:30 22/10/2002, you wrote:
>At 13:40 22-10-2002 +0100, you wrote:
>>At 13:08 22/10/2002, you wrote:
>>>Yes I have used the install.sh script.
>>>
>>>How can i install them?
>>
>>Do an "rpm --rebuild" on the HTML-Tagset and HTML-Parser modules.
>
>[root at the-mask MailScanner-4.01-5]# rpm --rebuild
>perl-HTML-Parser-3.26-1.src.rpm
>
>t/xml-mode..........ok
>Failed Test Status Wstat Total Fail Failed List of failed
>-------------------------------------------------------------------------------
>t/linkextor-rel 2 512 4 4 100.00% 1-4
>3 tests skipped.
>Failed 1/40 test scripts, 97.50% okay. 4/218 subtests failed, 98.17% okay.
>make: *** [test_dynamic] Error 29
>error: Bad exit status from /var/tmp/rpm-tmp.66187 (%build)
Okay, I've just taken a look at the source for this module that is specific
to this test. It's not a feature that MailScanner will ever use anyway. I
have "tweaked" the RPM distribution of MailScanner so that it doesn't do
the "make test" step any more. And if you are working from the tar
distribution, just don't skip/ignore the "make test" step for this module.
So if you download the latest release of the RPM dist again, you should
find this problem goes away.
>RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.66187 (%build)
>[root at the-mask MailScanner-4.01-5]#
>
>
>[root at the-mask MailScanner-4.01-5]# rpm --rebuild
>perl-HTML-Tagset-3.03-1.src.rpm
>Is no problem.
>
>
>>Then
>> cd /usr/src/redhat/RPMS/noarch
>>and "rpm -Uvh perl-HTML-Tagset*rpm" to install that one.
>
>[root at the-mask noarch]# rpm -Uvh perl-HTML-Tagset*rpm
>Preparing... ########################################### [100%]
>package perl-HTML-Tagset-3.03-1 is already installed
>file /usr/share/man/man3/HTML::Tagset.3pm.gz from install of
>perl-HTML-Tagset-3.03-1 conflicts with file from package
>perl-HTML-Tagset-3.03-1
>[root at the-mask noarch]# rpm -Uvh perl-HTML-Tagset*rpm --force
>Preparing... ########################################### [100%]
> 1:perl-HTML-Tagset ###########################################
> [100%]
>[root at the-mask noarch]#
>
>
>>Then
>> cd /usr/src/redhat/RPMS/i386
>>and do the same to perl-HTML-Parser which should be in there.
>
>[root at the-mask i386]# cd /usr/src/redhat/RPMS/i386
>[root at the-mask i386]# rpm -Uvh perl-HTML-Parser*rpm
>error: cannot open file perl-HTML-Parser*rpm: No such file or directory
>
>in the "/usr/src/redhat/RPMS/i386" directory and in the
>"/usr/src/redhat/RPMS/noarch" is no such a HTML-Parser file .
>
>
>>It may be that one of the tests is failing when it tries to build
>>HTML-Parser, I've seen that happen.
>>
>>Get back to me with results and I'll try to make it go away.
>>
>>
>>
>>>At 12:04 22-10-2002 +0100, you wrote:
>>>>At 09:31 22/10/2002, you wrote:
>>>>>I''ve installed the latest version 4.01-5, when I want to start
>>>>>mailscanner
>>>>>I get the following error.. What is going wrong?
>>>>
>>>>Did you use the install.sh script? The HTML-Tagset and HTML-Parser modules
>>>>are not installed.
>>>>
>>>>
>>>>
>>>>>Please remember to kill all the old mailscanner version 3
>>>>>processes before you start the new version.
>>>>>
>>>>>Preparing... ###########################################
>>>>>[100%]
>>>>> 1:mailscanner ###########################################
>>>>>[100%]
>>>>>
>>>>>To activate MailScanner run the following commands:
>>>>>
>>>>>service sendmail stop
>>>>>chkconfig sendmail off
>>>>>chkconfig --level 2345 MailScanner on
>>>>>service MailScanner start
>>>>>
>>>>>[root at the-mask MailScanner-4.01-5]# service sendmail stop
>>>>>/etc/init.d/sendmail: is_no: command not found
>>>>>/etc/init.d/sendmail: msg_stopping: command not found
>>>>>[root at the-mask MailScanner-4.01-5]# chkconfig sendmail off [ OK ]
>>>>>[root at the-mask MailScanner-4.01-5]# chkconfig --level 2345 MailScanner on
>>>>>[root at the-mask MailScanner-4.01-5]# service MailScanner start
>>>>>Starting MailScanner daemons:
>>>>> incoming sendmail: [ OK ]
>>>>> outgoing sendmail: [ OK ]
>>>>> MailScanner: Can't locate HTML/TokeParser.pm in @INC (@INC
>>>>>contains: /usr/lib/MailScanner /usr/lib/perl5/5.6.0/i386-linux
>>>>>/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
>>>>>/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .
>>>>>/usr/lib/MailScanner) at /usr/lib/MailScanner/MailScanner/Message.pm
>>>>>line 42.
>>>>>BEGIN failed--compilation aborted at
>>>>>/usr/lib/MailScanner/MailScanner/Message.pm line 42.
>>>>>Compilation failed in require at /usr/sbin/MailScanner line 45.
>>>>>BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 45.
>>>>> [ OK ]
>>>>>[root at the-mask MailScanner-4.01-5]#
>>>>
>>>>--
>>>>Julian Field Teaching Systems Manager
>>>>jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
>>>>Tel. 023 8059 2817 University of Southampton
>>>> Southampton SO17 1BJ
>>>
>>>
>>>Met vriendelijke groet,
>>>
>>> Bobbejaan van Elst
>>> http://www.Life-eXtreme.com
>>> http://www.the-mask.net
>>
>>--
>>Julian Field Teaching Systems Manager
>>jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
>>Tel. 023 8059 2817 University of Southampton
>> Southampton SO17 1BJ
>
>
>Met vriendelijke groet,
>
> Bobbejaan van Elst
> http://www.Life-eXtreme.com
> http://www.the-mask.net
--
Julian Field Teaching Systems Manager
jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
Tel. 023 8059 2817 University of Southampton
Southampton SO17 1BJ
More information about the MailScanner
mailing list