On SLES the problem I believe you are having is the difference in what the
Yast scripts are looking for and the installs you have made using the rpms
built from SA's tarball.  If you build the tarball you will have a
spamassassin rpm and a perl-Mail-spamassassin rpm.  Yast will look for a
perl-spamassassin rpm not perl-Mail-spamassassin.  If you do not have a
perl-spamassassin install in the system amavis or spamd will not start
properly.

I might be behind where you are in the process, but first try this

1) Stop postifx, amavis, and spamassassin
2) Using Yast unistall all the spamassassin and perl-*-spamassassin rpms
from the database.
3) Using Yast re-install only SLES9 SA rpms.  Do not remove your pre files
SA 2.6 will only use what it needs.
4) See if you can start or call SA with this install first.
5) Post back any problems you have.

I run SLES 10 so I do not have rpms for 9.  Check out Ander's site at
Norrbring consulting I believe he supports SLES9 still.

> John D. Hardin wrote:
>> On Tue, 3 Jul 2007 [EMAIL PROTECTED] wrote:
>>
>>> I downloaded the traball and made a rpm; which created
>>> perl-spamassassin.rpm and mail-spamassassin.rpm. I installed
>>> perl-spamassassin first using yast and then spamassassin using
>>> yast. The spamassassin rpm failed to installed but when i do a rpm
>>> -qa spamassassin it shows both 3.1 and 3.2 installed.
>>
>> I assume you provided the "upgrade" option on the command line? You
>> can install multiple versions of the same package if you're not
>> careful.
>>
>> This should do it:
>>
>>   rpm -Uvh *spamassassin*3.2*.rpm
>>
>>> I look in /etc/mail/spamassassin and all the 3.1 files are still
>>> there along with 3.2pre file.
>>
>> What does "spamassassin --debug --lint" say about the version?
>>
>>> Should i uninstall and then reinstall and if i do this, what will
>>> happen to all the existing rules and what-not?
>>
>> You should know what custom rules you've installed. They should be
>> copied somewhere safe and/or checked into revision control (learn
>> RCS. live RCS.) and should be easy to reinstall if needed.
>>
>> It won't hurt to uninstall all of the SA RPMs and reinstall just the
>> latest one.
>>
>> The rites of initiation continue... :)
>>
>> --
>>  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>>  [EMAIL PROTECTED]    FALaholic #11174     pgpk -a [EMAIL PROTECTED]
>>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
>> -----------------------------------------------------------------------
>>   It there a Special Olympics for terrorists going on in the UK this
>>   week?                                 -- Bruce Schneier, 07/02/2007
>> -----------------------------------------------------------------------
>>  Tomorrow: The 231st anniversary of the Declaration of Independence
>>
> Wow! I have installed from source, i have installed from rpm and i have
> found out that installing from cpan does not work with suse/SLES9. I
> have re-downloaded the tarball and the zip file. I have rebuilt the rpm
> using rpmbuild -tb <filename> and nothing is working. I have installed
> from the install discs which installs Sa 2.64 and used the "upgrade"
> option, when installing from rpm, i always get this:
> ERROR(InstTarget:E_RpmDB_subprocess_failed)
>> ---
>> error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127
>>
>> 2007-07-03 21:41:52 perl-Mail-SpamAssassin.rpm installed ok
>> 2007-07-03 21:43:16 spamassassin.rpm install failed
>> rpm output:
>> spamassassin              0:off  1:off  2:off  3:on   4:off  5:on
>> 6:off/var/tmp/rpm-tmp.97155: line 13: /sbin/service: No such file
>> or directory
>> warning: waiting to reestablish exclusive database lock
>> error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127
>


Reply via email to