[OpenAFS] Problem setting up AFS server (isolated network) -

M Singh msingh@myrealbox.com
Tue, 25 May 2004 02:28:21 -0400


Hi
   
Derrick J Brashear wrote:

>
>> 3865 ?        00:00:00 bosserver
>> 3867 ?        00:00:00 buserver
>>
>>    The logs seem to indicate that the kaserver died looking for the IP
>>address for the lo interface :
>>    
>>
>
>So, does /etc/hosts list
>127.0.0.1 sggs.homenetwork.edu
>?
>  
>

It is :

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
192.168.1.1     sggs.homenetwork.edu       sggs

Actually, there was a missing tab in there. I fixed that, and now 
kaserver starts up properly. But now :

[root@sggs etc]# kas -cell HOMENETWORK.EDU -noauth
ka> create afs
initial_password:
Verifying, please re-enter initial_password:
Creating user afs  : [u] no quorum elected, wait one second
Creating user afs  : [u] no quorum elected, wait one second
Creating user afs  : [u] no quorum elected, wait one second
Creating user afs  : [u] no quorum elected, wait one second
<lots of these messages>
Creating user afs  : [u] no quorum elected, wait one second
Creating user afs  : [____] server or network not responding

AuthLog :

Tue May 25 02:18:23 2004 Using server list from homenetwork.edu cell 
database.
Tue May 25 02:18:23 2004 Using level crypt for Ubik connections.

AuthLog.old :

Tue May 25 02:09:52 2004 Using server list from homenetwork.edu cell 
database.
Tue May 25 02:09:52 2004 Using level crypt for Ubik connections.
Running server with security disabled
Waiting for quorum election.
Waiting for quorum election.
Waiting for quorum election.
Waiting for quorum election.
<lots of these messages>
Waiting for quorum election.
init_kaprocs: InitAuthServ failed: code = 5376

BosLog :

Tue May 25 02:08:10 2004: Server directory access is okay
Tue May 25 02:18:23 2004: kaserver exited with code 255

BackupLog :

05/25/2004 02:09:57 Running server with security disabled
05/25/2004 02:09:57 Waiting for quorum election
05/25/2004 02:10:01 Have established quorum
No data base
No data base - Building new one
05/25/2004 02:10:01 Have established quorum
05/25/2004 02:10:01 Ready to process requests at Tue May 25 02:10:01 2004

PtLog is empty

VLLog :

Tue May 25 02:10:05 2004 Starting AFS vlserver 4 (/usr/afs/bin/vlserver)

strace :

19989 ?        00:00:00 kaserver
[root@sggs etc]# strace -p 19989
select(4, [3], NULL, NULL, {1, 870000}) = 0 (Timeout)
gettimeofday({1085466387, 690250}, NULL) = 0
gettimeofday({1085466387, 690373}, NULL) = 0
select(4, [3], NULL, NULL, {3, 999877}) = 0 (Timeout)
gettimeofday({1085466391, 690239}, NULL) = 0
select(4, [3], NULL, NULL, {0, 11})     = 0 (Timeout)
gettimeofday({1085466391, 702345}, NULL) = 0
gettimeofday({1085466391, 702401}, NULL) = 0
select(4, [3], NULL, NULL, {3, 999944}) = 0 (Timeout)
gettimeofday({1085466395, 700250}, NULL) = 0
select(4, [3], NULL, NULL, {0, 2095})   = 0 (Timeout)
gettimeofday({1085466395, 712711}, NULL) = 0
gettimeofday({1085466395, 712767}, NULL) = 0
select(4, [3], NULL, NULL, {2, 527300}) = 0 (Timeout)
gettimeofday({1085466398, 240245}, NULL) = 0
gettimeofday({1085466398, 240359}, NULL) = 0
select(4, [3], NULL, NULL, {0, 169788}) = 0 (Timeout)
gettimeofday({1085466398, 410346}, NULL) = 0
time(NULL)                              = 1085466398
gettimeofday({1085466398, 410563}, NULL) = 0
select(4, [3], NULL, NULL, {1, 302148}) = 0 (Timeout)
gettimeofday({1085466399, 720640}, NULL) = 0
gettimeofday({1085466399, 720692}, NULL) = 0
select(4, [3], NULL, NULL, {3, 999948}) = 0 (Timeout)
gettimeofday({1085466403, 720955}, NULL) = 0
gettimeofday({1085466403, 721075}, NULL) = 0


>If so, that's wrong. If not, tell us what's returned when you run
>hostname
>and when you run
>grep `hostname` /etc/hosts
>

I get sggs.homenetwork.edu as I ought to.

What am I missing now ?

Thanks for the help so far.

MS