[OpenAFS] Openafs client on a debian alppha (machine Alpha WS 500au)

Padiyath Sreekumaran Kumar.Padiyath@psi.ch
Mon, 19 Sep 2005 09:49:17 +0200


   Hello,
   I have installed openafs-client SW on a Debian Alpha machine.
   My kernel version is 
  # uname -a
Linux lnsa14 2.2.20 #2 Wed Mar 20 19:57:28 EST 2002 alpha GNU/Linux

   When I start the afs client with the following command I get an error
   and AFS is not started:

   #/etc/init.d/openafs-client start
   2819  execve("/etc/init.d/openafs-client", ["/etc/init.d/openafs-client",
"start
"], [/* 12 vars */]) = 0
2819  --- SIGCHLD (Child exited) ---
2819  --- SIGCHLD (Child exited) ---
2819  --- SIGCHLD (Child exited) ---


   dpkg --list shows the following afs modules:

   # dpkg --list |grep openafs
ii  openafs-client 1.3.81-3sarge1 The AFS distributed filesystem- client
suppo
ii  openafs-module 1.3.81-3sarge1 The AFS distributed filesystem- Module
Sourc


   How can I find out why I get the error when I start afs?
   /etc/openafs contains following files:
   /etc/openafs:
total 44
-rw-r--r--  1 root root 28563 Sep 16  2053 CellServDB
-rw-r--r--  1 root root     7 Sep 16  2053 ThisCell
-rw-r--r--  1 root root  2957 May 14 22:18 afs.conf
-rw-r--r--  1 root root    82 Sep 16  2053 afs.conf.client
-rw-r--r--  1 root root    31 Sep 16  2053 cacheinfo

   /etc/openafs/afs.conf file contents:
  ~# less /etc/openafs/afs.conf

# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
#
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

# Configuration information for AFS client

# AFS_CLIENT and AFS_SERVER determine if we should start the client and or
# the bosserver. Possible values are true and false.
# These are loaded from files written by debconf
# AFS_NOSETTIME is currently defaulted to auto because we believe  this is a
rea
sonable default
AFS_NOSETTIME=auto
test -f /etc/openafs/afs.conf.client && . /etc/openafs/afs.conf.client

AFS_SERVER=off

# ENABLE_AFSDB and ENABLE_DYNROOT determine whether AFSDB support and
# Dynroot support (dynamically generated /afs), respectively, should be
# enabled in the AFS client.
ENABLE_AFSDB=on
ENABLE_DYNROOT=off

# AFS client configuration options:
XXLARGE="-stat 4000 -dcache 4000 -daemons 6 -volumes 256 -files 50000"
XLARGE="-stat 3600 -dcache 3600 -daemons 5 -volumes 196 -files 50000"
LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"

# cachesize and according options are set by /afs/rc.d/init.d/afs
#   * if you set CACHESIZE to "AUTOMATIC", it will automatically be chosen
#     deduced by parition sizes (does not work if your cache is on / or
/usr)
#   * if you set OPTIONS to "AUTOMATIC", the init script will choose a set
#     of options based on the cache size
# otherwise the values specified here will be used. So be careful!
# Note: if you leave these as-is, no changes are made.
CACHESIZE=
OPTIONS=$MEDIUM

# if we're looking for ntp, what files do we look for?
TIME_SBIN_PROGS="ntptime ntpd   chronyd"

# Should we support afsdb?
if [ "x$AFS_AFSDB" = "xtrue" ] ; then
    AFSDB="-afsdb"
    else AFSDB=""
    fi
if [ "x$AFS_DYNROOT" = "xtrue" ] ; then
    DYNROOT="-dynroot"
    else DYNROOT=""
    fi
if [ "x$AFS_FAKESTAT" = "xtrue" ] ; then
    FAKESTAT="-fakestat"
    else FAKESTAT=""
    fi
if [ "x$AFS_NOSETTIME" = "xtrue" ] ; then
    NOSETTIME="-nosettime"
  elif [ "x$AFS_NOSETTIME" = "xauto" ] ; then
    for f in $TIME_SBIN_PROGS; do
       test -e "/usr/sbin/$f" && {
           NOSETTIME="-nosettime"
           break
       }
    done
  else
    NOSETTIME=""
  fi

# Set to "-verbose" for a lot of debugging information from afsd. Only
# useful for debugging as it prints _a lot_ of information.
VERBOSE=

# OPTIONS are the options passed to afsd.
OPTIONS="$OPTIONS $VERBOSE $DYNROOT $FAKESTAT $AFSDB $NOSETTIME"


# Sample server preferences function. Set server preferences using this.
# afs_serverprefs() {
#    /usr/afsws/etc/fs setserverprefs <host> <rank>
#}

# Either the name of an executable script or a set of commands go here.
# AFS_POST_INIT=afs_serverprefs
AFS_POST_INIT=

   The entry in ThisCell file is also correct: psi.ch

    Thanks in advance and regards,
        Kumar
------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath@psi.ch
AIT                      |   Office: WHGA/U132 
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     | 
Switzerland              |
-----------------------------------------------------------------