[OpenAFS] Start of afsd fails with "afsd: Error -1 in basic initialization."

Volkmar Glauche volkmar.glauche@uniklinik-freiburg.de
Thu, 11 Feb 2016 09:29:33 +0100


Dear Kalle,

if you want to use the OpenAFS client implementation, you will need =20
the libafs kernel module from OpenAFS. It is not part of the Linux =20
kernel sources, but most distributions including Ubuntu will build it =20
for you.
kafs and af_rxrpc implement an (incomplete?) in-kernel AFS client that =20
does not use afsd. There is some documentation about it in various AFS =20
workshop talks available on openafs.org.

Volkmar

Zitat von Karl-Philipp Richter <richter@richtercloud.de>:

> Hi,
> Starting `sudo /usr/local/sbin/afsd` after installing in default prefix
> on Ubuntu 15.10 with Linux 4.3.3 fails with `afsd: Error -1 in basic
> initialization.`. In `config.log` I see that `sysname` is
> `amd64_linux26` and [I
> found](https://lists.openafs.org/pipermail/openafs-info/2004-November/0154=
32.html) that if `sysname` is wrongly detected by `configure` similar errors=
 might occur. Can you confirm that this is the right `sysname`. In case it i=
sn't which one would be the correct one (`configure --help` doesn't  =20
> list
> possiblities).
>
> I also detected with `stract` that `afsd` tries to open files in
> `/proc/` which don't exist.
>
>     SScall(183, 28, 0)=3D-1 open("/proc/fs/openafs/afs_ioctl", O_RDWR) =3D
> -1 ENOENT (No such file or directory)
>     open("/proc/fs/nnpfs/afs_ioctl", O_RDWR) =3D -1 ENOENT (No such file
> or directory)
>
> Only `/proc/fs/afs/cells` and `/proc/fs/afs/rootcell` exist with
> similar name. There're no system packages installed and OpenAFS and
> kerberos (in case that matters) are installed from source (OpenAFS
> openafs-devel-1_5_76-4781-ged52d65) and `lsmod | grep afs` shows:
>
>     kafs                  106496  0
>     af_rxrpc              102400  3 kafs
>     fscache                61440  1 kafs
>
> Any help would be appreciated.
>
> -Kalle
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info



--=20
Freiburg Brain Imaging
http://fbi.uniklinik-freiburg.de/
Tel. +761 270-54110
Fax. +761 270-53100