[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Installed RaQ4-All-Security-2.0.1-15959.pkg and now the raq is dead in the water



On Fri, 2 May 2003 11:03:16 -0400, you wrote:

>OK people!
>This has been posted and it does work. There were syntax errors that I
>fixed, so you can just follow the instructions in order and it will fix the
>sendmail and pop before smtp relay problems and allow you to install the
>updates. I can't attach it so excuse me putting it in the email:
>Thanks to the original poster of this fix, I owe you!
>Instructions for repairing sendmail and being able to install cobalt pkgs on
>RAQ4
>------------------------------------------------------------
>
>
>1> SSH into your box (telnet should be off !!!!) then su- to root.
>
>2> Create a directory called /etc/mailbak using the following command
>
>   mkdir /etc/mail

    mkdir /etc/mailbak


>
>3> Copy the /etc/mail directory using the following command
>
>   [root root]# cp /etc/mail /etc/mailbak
>
>4> issue the following command.
>
>   [root root]# rpm -qf /etc/mail/sendmail.cf
>
>   it should give you some ouput like this.
>
>   sendmail-conf-8.10.2-C1
>   sendmail-conf-8.10.2-C3
>   sendmail-conf-8.10.2-C3
>
>   You might find duplicate -C3 files where you tried to install the
>packages several
>   times.
>
>5> 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
>
>
>6> Install the 2 pkg's in order 16402 from the GUI
>
>7> Issue the following commands
>
>   [root root]# cd /etc/mail
>   [root root]# ls -al
>
>   this will give you 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
>
>NOTE: You will see considerable differences in the file sizes of some of the
>files
>      with the backups made before the packages where installed. There will
>be instances
>      of the same files for example:
>
>   access
>   access.rpmsave
>      ^the second one here is the backup
>
>8> Issue the following command for every instance of this where the
>   rpmsave file is bigger than the original
>
>   [root root]# cp <filename>.rpmsave <filename>
>
>   Where <filename> is the name of the file.
>
>9> Issue the following command to re-instate the virtusertable.db from the
>   backup made.
>
>   [root root] cd /etc/mailbak
>   [root root] cp virtusertable.db /etc/mail/virtusertable.db
>
>10> Issue the following command to restart sendmail
>
>   [root root]# /etc/rc.d/init.d/sendmail restart
>
>Thats it. all should be working again and with both packages installed.
>
>NOTE:
>
>USE AT YOUR OWN RISK  however it fixed my problem!
>
>----------------------------------------------------------------------------
>---------------------
>


-- 
Peter Frederick
MIS Director, Indiana Packers Corp, Delphi IN
Phone: (765) 564-9705   Fax: (765) 564-3684
Work: pfred@xxxxxxxxx
Home: pjfred@xxxxxxxxxxxxx
============================================================================
'Tis better to light one candle than to curse the darkness a thousand times!