[OpenAFS] Start of afsd fails with "afsd: Error -1 in basic initialization."
Karl-Philipp Richter
richter@richtercloud.de
Wed, 10 Feb 2016 16:05:10 +0000
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/015432.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 isn't which one would be the correct one (`configure --help` doesn't list
possiblities).
I also detected with `stract` that `afsd` tries to open files in
`/proc/` which don't exist.
SScall(183, 28, 0)=-1 open("/proc/fs/openafs/afs_ioctl", O_RDWR)
= -1 ENOENT (No such file or directory)
open("/proc/fs/nnpfs/afs_ioctl", O_RDWR) = -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