[OpenAFS] Problems in openafs paradise.
Christof Hanke
christof.hanke@rzg.mpg.de
Wed, 31 Oct 2012 05:01:35 +0100
Am Tue, 30 Oct 2012 21:32:32 -0400
schrieb John Tobin <jtobin@po-box.esu.edu>:
> Ok.
>=20
> Went with desktop for the kmp, and booted to that.
>=20
> I am studying the pam setup, will get to that shortly.
>=20
>=20
> I am trying to startup the bosserver...
> >From the quickstart guide
> [http://docs.openafs.org/QuickStartUnix/ch02s11.html...
>=20
> I issue the bosserver -noauth &
>=20
> I get back:
> [1] 20522
> goodknight:-#
> [1]+ done bosserver -noauth
>=20
> goodknight:-# ps -ef |grep bos
> root ..... Blah/blah bosserver -noauth
> root .... grep ..bos
>=20
> {so the server is running...}
>=20
> I check for the "ThisCell" and "CellServDB"
> CellServDB is there, And "ThisCell" is a file, and is not identical to
> /etc/openafs/server/ThisCell, so I create the link.
>=20
> Then setcellname:
>=20
> goodknight:-# bos setcellname goodknight.dark.net dark.net
> bos: running unauthenticated
> bos: failed to set cell (you are not authorized for this operation)
>=20
> I am lost here, the ps shows the bosserver running unauth
> And bos is "running unauthenticated".
>=20
> Why doesn't this work?
You should run=20
# bos setcellname goodknight.dark.net dark.net -noauth=20
and all the bos commands below also with -noauth.
HTH,
Christof
>=20
> Yes, I have run it a few different ways, I don't think the bosserver
> command has gone to authentication mode, at least it always lists as
> "-noauth" under ps -ef....
>=20
> Ok, next:
>=20
> Bos listhosts goodknight.dark.net
> bos: running unauthenticated
> Cell name is localcell
> Host 1 is goodknight
>=20
> Cat /etc/openafs/ThisCell
> Localcellgoodknight:-#
>=20
> I did try to edit /etc/openafs/server/ThisCell, that was a waste of
> time.
>=20
> Ok, my cell is localcell.
> next:
>=20
> Since buserver [and all of the rest of the server executables] is in
> /usr/lib/openafs
>=20
> I issue:
> Bos create goodknight.dark.net buserver
> simple /usr/lib/openafs/buserver -noauth
>=20
> bos: running unauthenticated
> bos: failed to create the server instance buserver of type
> 'simple' (you are not authorized for this operation)
>=20
> Well, that about wraps that up.
> I am not authorized... What am I doing wrong?
>=20
> tob=20
>=20
>=20
>=20
>=20
> On 10/18/12 1:22 AM, "Christof Hanke" <christof.hanke@rzg.mpg.de>
> wrote:
>=20
> > Am Wed, 17 Oct 2012 20:12:12 -0400
> > schrieb John Tobin <jtobin@po-box.esu.edu>:
> >=20
> >> Dear Openafs.
> >>=20
> >> I am a relative new user of openafs.
> >> I am trying to set up openafs-1.6.1 under a suse 12.1.
> >>=20
> >> I initially tried to use an old suse readme file to install, that
> >> failed miserably.
> >>=20
> >> So I went to the quick start guide.
> >> I have setup ntp with a local server.
> >> I have installed all of the SUSE 12.1 openafs-blah-blah.rpms
> >> except the kmp stuff... There are choices there: which one do I
> >> use? Openafs-kmp-: mit, pae, xen desktop, default, I assume this
> >> is a choice, they all don=C2=B9t go on do they?
> >=20
> > SuSE comes with different flavours of kernels, depending on what
> > kind of machine you are running.
> > On my laptop it is eg. "desktop"
> >=20
> > hanke@dijon:~> uname -r
> > 3.4.6-2.10-desktop
> >=20
> > But anyway, you can install multiple kmod-rpms (as you also can
> > install multiple flavours).
> >=20
> >>=20
> >> I notice the kerberos is mit.
> > yes.
> >>=20
> >> I installed: rpm =C2=ADU openafs-repository.1.6.1noarch.rpm and I assu=
me
> >> that installing that changes the file and makes it so the modprobe
> >> program will start the loadable modules required. If not, where is
> >> the documentation for what the mods are?
> >>=20
> > =20
> > Hmm, maybe I should add a dependency on the rpms...
> >=20
> >> I assume it would be easiest to use Russ Allbery=C2=B9s
> >> =C2=B3pam-afs-server2.5 code, so I downloaded that config=C2=B9d it, r=
an
> >> make, check, and make install. The documentation is about debian,
> >> and Red Hat, any hints on SUSE?
> >=20
> > See http://www.rzg.mpg.de/networkservices/configuring-your-pc
> > for how to configure this, it is not SuSE-specific, but should be
> > understandable.
> >=20
> >>=20
> >> Does anyone have this running under SUSE 12.1 [it sounds like it
> >> from the documentation...]?
> > yes, I do. Feel free to ask more questions.
> >=20
> >>=20
> >> tob
> >=20
> > T/Christof