Re[2a]: [OpenAFS] OpenAFS rpm uninstall problem

Ron Croonenberg ronc@depauw.edu
Fri, 9 Apr 2004 10:15:07 CT


Everyone,  thanks it seems like I have been able to uninstall all the afs rpms
and I could install and build everything with no apparent problems in that part
of the process.

I amrunning into some problems with creating entries for the database servers
however.

I did start the bosserver and then run into the following :

I create  the cellname and membership with

bos create neptune afs-2.csc.depauw.edu

then :

[root@neptune bin]# bos listhosts neptune -noauth
Cell name is afs-2.csc.depauw.edu
    Host 1 is neptune.csc.depauw.edu

[root@neptune bin]# bos create neptune.csc.depauw.edu kaserver simple
/usr/afs/bin/kaserver -cell afs-2.csc.depauw.edu -noauth
bos: could not find entry (can't find cell 'afs-2.csc.depauw.edu' in cell
database)

did I miss a step in the process ?

thanks,

Ron


>Ron Croonenberg <ronc@depauw.edu> writes:
>
>> Here's what happens when I try to uninstall this rpm :
>>
>> [root@neptune OpenAFS]# rpm -qa | grep afs
>> krbafs-1.1.1-11
>> krbafs-utils-1.1.1-11
>> openafs-1.2.11-rhel3.0.1
>> krbafs-devel-1.1.1-11
>>
>> [root@neptune OpenAFS]# rpm -e openafs-1.2.11-rhel3.0.1
>> /var/tmp/rpm-tmp.88800: line 2: /etc/init.d/afs: No such file or directory
>> error reading information on service afs: No such file or directory
>> error: %preun(openafs-1.2.11-rhel3.0.1) scriptlet failed, exit status 1
>
>Uhh..  That's bogus.  Something must have destroyed this file.  Did
>you rm it by hand?  I'm asking because /etc/init.d/afs is part of the
>"openafs" package, so there's no way that it couldn't be there unless
>something destroyed it outside the package.
>
>> I would like to uninstall everything AFS so that I can start from scratch
again.
>>
>> any tips ?
>
>rpm -e --noscripts openafs
>
>> thanks,
>>
>> Ron
>
>-derek
>
>--
>       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>       Member, MIT Student Information Processing Board  (SIPB)
>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>       warlord@MIT.EDU                        PGP key available
>

=======================================================================================
 Ron Croonenberg               | Phone: 1 765 658 4761
 Technology Coordinator        | Fax:   1 765 658 4732
                               |
 Department of ComputerScience | e-mail : ronc@DePauw.edu
 DePauw University             |
 Julian Science & Math Center  | http://www.depauw.edu/acad/computer/RonCroonenberg.asp
 602 South College Ave.        |
 Greencastle, IN  46135        |
=======================================================================================