[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Sendmail PKG 16402 Problem installing package component: sendmail-conf-8.10.2-C3.i386.rpm - SOLUTION
- Subject: [cobalt-users] Sendmail PKG 16402 Problem installing package component: sendmail-conf-8.10.2-C3.i386.rpm - SOLUTION
- From: "ISEE Multimedia" <mail@xxxxxxxxxxxxxxxxxxx>
- Date: Mon Apr 28 22:29:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi All,
OK, i first received the error
"Problem installing package component: sendmail-conf-8.10.2-C3.i386.rpm"
when trying to install the Sendmail Security Update 2.0.1 16402 pkg. and
since could not sendmail through the server. this was stopping me from
installing the Sendmail Security Update 2.0.1 16429 pkg as the previous was
a prerequisit.
Thanks to UWE for supplying some of the information here which helped alot.
but once i got it all working again I thought i would write this for the
archives.
Firstly SSH into your box (telnet should be off !!!!) then su- to root.
Copy the /etc/mail directory using the following command
[root root]# cp /etc/mail /etc/mailbak
issueing the following command should give you some ouput like this.
[root root]# rpm -qf /etc/mail/sendmail.cf
sendmail-conf-8.10.2-C1
sendmail-conf-8.10.2-C3
sendmail-conf-8.10.2-C3
I had about 10 -C3 files where i had tried to install the packages several
times.
Issue the following commands to remove these files.
[root root]# rpm -e sendmail-conf-8.10.2-C1
[root root]# rpm -e --allmatches sendmail-conf-8.10.2-C3
Then install the 2 pkg's in order 16402 then 16429
Then move to the etc/mail directory
[root root]# cd /etc/mail
[root root]# ls -al
this will give you some output like this
[root mail]# ls -al
total 934
drwxr-xr-x 3 root root 1024 Apr 29 04:26 .
drwxr-xr-x 42 root root 3072 Apr 29 04:23 ..
-rw-r--r-- 1 root root 5457 Apr 29 04:26 access
-rw-r--r-- 1 root root 20480 Apr 29 04:26 access.db
-rw-r--r-- 1 root root 5450 Apr 28 01:50 access.rpmsave
-rw-r--r-- 1 bin bin 4714 Apr 29 04:10 aliases
-rw-r--r-- 1 root root 20480 Apr 29 04:16 aliases.db
-rw-r--r-- 1 root root 37464 Apr 28 01:47 aliases.majordomo
-rw-r--r-- 1 root root 77824 Apr 11 17:52 aliases.majordomo.db
-rw-r--r-- 1 root root 259 May 10 2001
aliases.majordomo.master
-rw-r--r-- 1 root root 267 May 10 2001 aliases.master
-rw-r--r-- 1 root root 4714 Apr 27 22:42 aliases.rpmsave
-rw-r--r-- 1 bin bin 5373 Apr 1 22:31 helpfile
-rw-r--r-- 1 bin bin 11481 Apr 29 04:26 local-host-names
-rw-r--r-- 1 root root 34 May 10 2001
local-host-names.master
-rw-r--r-- 1 root root 11481 Apr 28 01:50
local-host-names.rpmsave
drwxr-xr-x 3 root root 1024 Apr 29 03:14 mailbak
-rw-r--r-- 1 root root 20480 Apr 29 05:06 popip.db
-rw-r--r-- 1 root root 40806 Apr 15 06:37 sendmail.cf
-rw-r--r-- 1 root root 40835 May 10 2001 sendmail.cf.master
-rw-r--r-- 1 root root 41961 Jun 21 2002 sendmail.cf.nopopauth
-rw-r--r-- 1 root root 40806 Apr 15 06:37 sendmail.cf.pre16402
-rw-r--r-- 1 root root 40806 Apr 15 06:37 sendmail.cf.pre16429
-rw-r--r-- 1 root root 40806 Apr 15 06:37 sendmail.cf.rpmsave
-rw-r--r-- 1 bin bin 43 Apr 1 22:31 trusted-users
-rw-r--r-- 1 bin bin 120720 Apr 29 04:08 virtusertable
-rw-r--r-- 1 root root 208896 Apr 29 05:07 virtusertable.db
-rw-r--r-- 1 root root 197 May 10 2001 virtusertable.master
-rw-r--r-- 1 root root 120720 Apr 28 01:48 virtusertable.rpmsave
-rw-r--r-- 1 root root 4096 Apr 29 04:02
virtusertable.rpmsave.db
You will see considerable differences in the file sizes of some of the files
with the backups made before the packages where installed. (the above was
made after the changes so there is not much difference its just for
reference). There will be instances of the same files for example
access
access.rpmsave
the second one here is the backup and for every instance of this where the
rpmsave file is bigger than the original you need to issue the following
command.
[root root]# cp <filename>.rpmsave <filename>
Where <filename> is the name of the file.
Now once this is done there is one more file we need to re-instate from the
backup we made.
[root root] cd /etc/mailbak
[root root] cp virtusertable.db /etc/mail virtusertable.db
Then restart sendmail
[root root]# /etc/rc.d/init.d/sendmail restart
Thats it. all should be working again and with both packages installed.
NOTE
I am no guru and cannot be held responsible if the above doesnt work for
you, it worked for me!
If there are any gurus out there that can see any errors in the above please
let me know.
Regards.
Mark Priest