[OpenAFS] running klog and fs
tjandra@cae.wisc.edu
tjandra@cae.wisc.edu
Tue, 17 Aug 2004 02:39:47 -0500
I found out that the only servers working were fileserver and buserver
I dunno why... these are the steps that I did during the installation (in
netbed, www.emulab.net)
I prepare the hda5 to be mounted to /vicepa
40 20:49 sudo mk2fs /dev/hda5
41 20:49 sudo mke2fs /dev/hda5
42 20:50 sudo mount /dev/hda5 /vicepa
43 20:50 sudo mkdir /vicepa
44 20:50 sudo mount /dev/hda5 /vicepa
45 20:50 df -h
did rpm -ivh to install 7 files (this is the content of install.sh)
#!/bin/sh
sudo rpm -ivh openafs-1.2.11-rh7.3.1.i386.rpm
sudo rpm -ivh openafs-kernel-1.2.11-rh7.3.1.i386.rpm
sudo rpm -ivh openafs-devel-1.2.11-rh7.3.1.i386.rpm
sudo rpm -ivh openafs-kpasswd-1.2.11-rh7.3.1.i386.rpm
sudo rpm -ivh openafs-krb5-1.2.11-rh7.3.1.i386.rpm
sudo rpm -ivh openafs-client-1.2.11-rh7.3.1.i386.rpm
sudo rpm -ivh openafs-server-1.2.11-rh7.3.1.i386.rpm
46 20:50 cd ~/rpm/
47 20:50 sudo ./install.sh
48 20:53 sudo /etc/rc.d/init.d/afs start
Starting AFS Services..
afsd: all daemons started
every steps from 49 thru 84 did not spit out any error messages, the output
were the same as the one on the documnetation
49 20:54 sudo emacs /etc/fstab
50 20:55 sudo emacs /etc/pam.d/login
51 20:57 sudo /usr/afs/bin/bosserver -noauth &
52 20:57 cd /
53 20:58 cd usr/vice/etc/
54 20:58 sudo rm ThisCell
55 20:58 sudo rm CellServDB
56 20:58 sudo ln -s /usr/afs/etc/ThisCell
57 20:58 sudo ln -s /usr/afs/etc/ThisCell ThisCell
58 20:58 rm ThisCell
59 20:59 sudo rm ThisCell
60 20:59 sudo ln -s /usr/afs/etc/ThisCell ThisCell
61 20:59 ls
62 20:59 sudo ln -s /usr/afs/etc/CellServDB CellServDB
63 20:59 ls -l
64 20:59 cd /
65 20:59 sudo bos setcellname server1 yung -noauth
66 21:00 sudo bos listhosts server1 -noauth
67 21:03 sudo bos create server1 kaserver simple /usr/afs/bin/kaserver
-cell yung -noauth
68 21:03 sudo bos create server1 buserver simple /usr/afs/bin/buserver
-cell yung -noauth
69 21:03 sudo bos create server1 ptserver simple /usr/afs/bin/ptserver
-cell yung -noauth
70 21:03 sudo bos create server1 vlserver simple /usr/afs/bin/vlserver
-cell yung -noauth
71 21:04 sudo kas -cell yung -noauth
72 21:05 sudo bos adduser server1 admin -cell yung -noauth
73 21:06 sudo bos addkey server1 -kvno 0 -cell yung -noauth
74 21:07 sudo bos listkeys server1 -cell yung -noauth
75 21:07 sudo kas -cell yung -noauth
76 21:08 sudo bos addkey server1 -kvno 1 -cell yung -noauth
77 21:09 sudo bos listkeys server1 -cell yung -noauth
78 21:09 sudo pts createuser -name admin -cell yung -noauth
79 21:13 sudo pts adduser admin system:administrators -cell yung -noauth
80 21:14 sudo pts membership admin -cell yung -noauth
81 21:15 sudo bos restart server1 -all -cell yung -noauth
82 21:21 sudo bos create server1 fs fs /usr/afs/bin/fileserver
/usr/afs/bin/volserver /usr/afs/bin/salvager -cell yung -noauth
83 21:21 sudo bos status server1 fs -long -noauth
84 21:23 sudo vos create server1 /vicepa root.afs -cell yung -noauth
this is where the problems happens
85 23:05 ls
86 23:05 ccd /
87 23:05 cd /
88 23:05 tokens
89 23:05 bos status server1
bos: a pioctl failed (getting tickets)
bos: running unauthenticated
Instance kaserver, temporarily disabled, stopped for too many errors, currently
shutdown.
Instance buserver, currently running normally.
Instance ptserver, temporarily disabled, stopped for too many errors, currently
shutdown.
Instance vlserver, temporarily disabled, stopped for too many errors, currently
shutdown.
Instance fs, currently running normally.
Auxiliary status is: file server running.
Instance upserver, currently running normally.
Instance runntp, temporarily disabled, stopped for too many errors, currently
shutdown.
90 23:06 klog admin
91 23:06 cd /
92 23:07 sudo /usr/afs/bin/fs checkvolumes
93 23:07 cd usr/afs/bin/fs
94 23:07 cd usr/afs/bin/
95 23:07 ls
96 23:07 pwd
97 23:08 cd /
98 23:08 /sbin/chkconfig --add afs
99 23:09 /usr/afs/bin/fs setacl /afs system:anyuser r1
100 23:10 fs checkvolumes
101 23:24 ls
102 23:24 cd /
103 23:24 klog admin
could someone help me, I will really appreciate your helps
Tjandra
Quoting Derrick J Brashear <shadow@dementia.org>:
> On Tue, 17 Aug 2004 tjandra@cae.wisc.edu wrote:
>
> > Hi people, got a question
> > I installed openAFS in redhat 7.3 and everything went smoothly until
> verifying
> > the AFS initialization script, at this part, i could not run "klog admin",
> it
> > asked me the password, but after I entered it, it said "Unable to
> authenticate
> > to AFS because Authentication Server was unavailable."
>
> is a kaserver (or a kerberos kdc) actually running on the database server
> host you listed in the client CellServDB?
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>