[OpenAFS] Installing OpenAFS on RH7.0
Timothy J. Wood
tjw@omnigroup.com
Sun, 15 Apr 2001 22:28:42 -0700
The problem was that the RH7.0 installer left me with a /etc/hosts
file that had 127.0.0.1 in it (instead of the actual IP that I gave
it). When I cleaned up the hosts file, I started making progress again.
So far so good.... rebooting the server now to see if stuff starts up
automatically...
-tim
On Sunday, April 15, 2001, at 08:58 PM, Derek Atkins wrote:
> What are the contents of:
> /usr/afs/etc/CellServDB
> /usr/vice/etc/CellServDB
>
> Is DNS working?
>
> -derek
>
> "Timothy J. Wood" <tjw@omnigroup.com> writes:
>
>> The kaserver is not running. The bos restart didn't do anything but
>> put more log files in /usr/afs/logs saying the same thing as before:
>>
>> [root@afs1 logs]# bos restart afs1 -all -noauth
>> [root@afs1 logs]# more AuthLog
>> /usr/afs/bin/kaserver: problems with host name Ubik init failed
>> l database.
>> Sun Jan 5 23:02:05 1997 Using level crypt for Ubik connections.
>> Sun Jan 5 23:02:05 1997 ubik: primary address 127.0.0.1 does not exist
>>
>>
>> -tim
>>
>>
>> On Sunday, April 15, 2001, at 08:39 PM, Charles Clancy wrote:
>>
>>> Do a "ps -ef | grep kaserver" to see if the kaserver is running.
>>> Creating the services doesn't mean it actually starts the server
>>> process.
>>> Each of the different servers is an independed process, and the
>>> bos-server
>>> (Basic Overseer Server) basically just is there to stop and start
>>> them.
>>> You might want to do a "bos restart afs1" to make sure all the AFS
>>> server
>>> processes are running.
>>>
>>> _______________________________________________________
>>> Charles Clancy -- mgrtcc@cs.rose-hulman.edu
>>> Senior UNIX Administrator, Rose-Hulman Computer Science
>>>
>>> On Sun, 15 Apr 2001, Timothy J. Wood wrote:
>>>
>>>>
>>>>
>>>> I'm in the process of installing a test AFS 1.0.3 server on a
>>>> clean
>>>> RH7.0 box. I'm following the IBM Quick Beginnings instructions and
>>>> am
>>>> running into the fact that these instructions don't apply 100% to the
>>>> OpenAFS RPMs.
>>>>
>>>> I have /usr/{afs,vice}/etc/{ThisCell,CellServDB} set up correctly
>>>> now
>>>> (well, I think so -- the /usr/afs versions are symlinks to the
>>>> /usr/vice
>>>> versions).
>>>>
>>>> [root@afs1 db]# bos listhosts afs1.omnigroup.com -noauth
>>>> Cell name is omnigroup.com
>>>> Host 1 is afs1.omnigroup.com
>>>>
>>>> I then created the databases with:
>>>>
>>>> bos create afs1.omnigroup.com kaserver simple /usr/afs/bin/kaserver
>>>> -cell omnigroup.com -noauth
>>>> bos create afs1.omnigroup.com buserver simple /usr/afs/bin/buserver
>>>> -cell omnigroup.com -noauth
>>>> bos create afs1.omnigroup.com ptserver simple /usr/afs/bin/ptserver
>>>> -cell omnigroup.com -noauth
>>>> bos create afs1.omnigroup.com vlserver simple /usr/afs/bin/vlserver
>>>> -cell omnigroup.com -noauth
>>>>
>>>> And I have:
>>>>
>>>> [root@afs1 db]# ls /usr/afs/db
>>>> bdb.DB0 kaserver.DB0 prdb.DB0 vldb.DB0
>>>> bdb.DBSYS1 kaserver.DBSYS1 prdb.DBSYS1 vldb.DBSYS1
>>>>
>>>> Now, when I try to follow the next step, to create the 'afs' user,
>>>> kas
>>>> hangs for a while and then complains about not being able to connect
>>>> to
>>>> a server (probably kaserver).
>>>>
>>>> The instructions implied that the 'bos create' commands would
>>>> actually
>>>> start some processes, but they did not.
>>>>
>>>> In the log directory, I have an 'AuthLog' that says:
>>>>
>>>> /usr/afs/bin/kaserver: problems with host name Ubik init failed
>>>> l database.
>>>> Sun Jan 5 22:33:17 1997 Using level crypt for Ubik connections.
>>>> Sun Jan 5 22:33:17 1997 ubik: primary address 127.0.0.1 does not
>>>> exist
>>>>
>>>> Do I need to put 127.0.0.1 (loopback) in the CellServDB instead of
>>>> the
>>>> real IP of my server? A bunch of the logs for the other servers have
>>>> the same sort of error (gosh, it would have been nice if it had given
>>>> me
>>>> the error from the 'bos create' command :)
>>>>
>>>> Thanks!
>>>>
>>>> -tim
>>>>
>>>> _______________________________________________
>>>> OpenAFS-info mailing list
>>>> OpenAFS-info@openafs.org
>>>> https://lists.openafs.org/mailman/listinfo.cgi/openafs-info
>>>>
>>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo.cgi/openafs-info
>
> --
> 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
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-info
>