[OpenAFS] Help with Heimdal and OpenAFS...

Eric Knudstrup eric@knudstrup.org
Thu, 25 Oct 2001 01:39:49 -0700 (PDT)


I am having problem with OpenAFS where I can klog but I cannot use kas:

[root@taipienyi /root]# kas examine eknuds
Password for root: 
kas:examine: Auth. as root to AuthServer failed: password was incorrect
Proceeding w/o authentication

[root@taipienyi /root]# klog
Password:
[root@taipienyi /root]# tokens

Tokens held by the Cache Manager:

User's (AFS ID 2) tokens for afs@knudstrup.org [Expires Oct 29 08:03]
   --End of list--

Here's my netstat:
[root@taipienyi /root]# netstat -an
Active Internet connection.1:1126          ESTABLISHED 
tcp        0      0 127.0.0.1:1126          127.0.0.1:2040          ESTABLISHED 
tcp  [root@taipienyi /root]# ps x
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:05 init [3]
    2 ?        SW     0:01 [kflushd]
    3 ?        SW     0:01 [kupdate]
    4 ?        SW     0:00 [kpiod]
    5 ?        SW     0:09 [kswapd]
    6 ?        SW     0:00 [khubd]
  331 ?        S      0:00 syslogd -m 0
  340 ?        S      0:00 klogd
  372 ?        S      0:00 crond
  390 ?        S      0:00 inetd
  404 ?        SL     0:00 xntpd -A
  499 ?        S      0:00 gpm -t ps/2
  552 tty1     SW     0:00 [login]
  553 tty2     SW     0:00 [mingetty]
  554 tty3     SW     0:00 [mingetty]
  555 tty4     SW     0:00 [mingetty]
  556 tty5     SW     0:00 [mingetty]
  557 tty6     SW     0:00 [mingetty]
  561 tty1     S      0:00 -bash
14549 ?        S      0:18 sshd2 -i
14550 pts/1    S      0:01 -bash
15967 ?        S      0:00 smbd -D
15976 ?        S      0:00 nmbd -D
15979 ?        S      0:00 nmbd -D
15982 ?        S      0:02 smbd -D
18989 ?        S      0:00 /usr/afs/bin/bosserver
18991 pts/1    S<     0:00 [afsd]
18992 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18993 pts/1    S<     0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18994 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18995 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18996 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18997 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18998 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18999 ?        S      0:00 /usr/afs/bin/buserver
19000 ?        S      0:00 /usr/afs/bin/ptserver
19001 ?        S      0:00 /usr/afs/bin/vlserver
19002 ?        S<     0:00 /usr/afs/bin/fileserver
19003 ?        S      0:00 /usr/afs/bin/volserver
19004 ?        S      0:00 /usr/afs/bin/upserver -crypt /usr/afs/etc -clear
/usr/afs/bin
19006 ?        S<     0:00 /usr/afs/bin/fileserver
19007 ?        S<     0:00 /usr/afs/bin/fileserver
19008 ?        S<     0:00 /usr/afs/bin/fileserver
19009 ?        S<     0:00 /usr/afs/bin/fileserver
19011 ?        S<     0:00 /usr/afs/bin/fileserver
19012 ?        S<     0:00 /usr/afs/bin/fileserver
19014 ?        S<     0:00 /usr/afs/bin/fileserver
19015 ?        S<     0:00 /usr/afs/bin/fileserver
19019 ?        S<     0:00 /usr/afs/bin/fileserver
19021 ?        S<     0:00 /usr/afs/bin/fileserver
19022 ?        S<     0:00 /usr/afs/bin/fileserver
19024 ?        S<     0:00 /usr/afs/bin/fileserver
19025 ?        S<     0:00 /usr/afs/bin/fileserver
19029 ?        S<     0:00 /usr/afs/bin/fileserver
19031 ?        S<     0:00 /usr/afs/bin/fileserver
19033 ?        S<     0:00 /usr/afs/bin/fileserver
19034 ?        S<     0:00 /usr/afs/bin/fileserver
19035 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
19036 pts/1    S      0:12 /usr/heimdal/libexec/kdc
19037 pts/1    S      0:00 /usr/heimdal/libexec/kadmind
19056 pts/1    S      0:00 /usr/afsws/bin/kpwvalid
19062 pts/1    S      0:00 /usr/afsws/bin/kpwvalid
      0      0 0.0.0.0:749             0.0.0.0:*               LISTEN      
tcp        0      0 10.1.0.3:4444           0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:4444          0.0.0.0:*               LISTEN      
tcp        0      0 10.1.0.3:750            0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:750           0.0.0.0:*               LISTEN      
tcp        0      0 10.1.0.3:88             0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:88            0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:2040          0.0.0.0:*               LISTEN      
tcp        0      0 10.1.0.3:139            10.1.0.2:1060           ESTABLISHED 
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      
tcp        0   1136 10.1.0.3:22             10.1.0.6:3552           ESTABLISHED 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN      
udp        0      0 0.0.0.0:7005            0.0.0.0:*                           
udp        0      0 10.1.0.3:7004           0.0.0.0:*                           
udp        0      0 127.0.0.1:7004          0.0.0.0:*                           
udp        0      0 10.1.0.3:4444           0.0.0.0:*                           
udp        0      0 127.0.0.1:4444          0.0.0.0:*                           
udp        0      0 10.1.0.3:750            0.0.0.0:*                           
udp        0      0 127.0.0.1:750           0.0.0.0:*                           
udp        0      0 10.1.0.3:88             0.0.0.0:*                           
udp        0      0 127.0.0.1:88            0.0.0.0:*                           
udp        0      0 0.0.0.0:7008            0.0.0.0:*                           
udp        0      0 0.0.0.0:7000            0.0.0.0:*                           
udp        0      0 0.0.0.0:7003            0.0.0.0:*                           
udp        0      0 0.0.0.0:7001            0.0.0.0:*                           
udp        0      0 0.0.0.0:7002            0.0.0.0:*                           
udp        0      0 0.0.0.0:7021            0.0.0.0:*                           
udp        0      0 0.0.0.0:7007            0.0.0.0:*                           
udp        0      0 127.0.0.1:1041          0.0.0.0:*                           
udp        0      0 10.1.0.3:138            0.0.0.0:*                           
udp        0      0 10.1.0.3:137            0.0.0.0:*                           
udp        0      0 0.0.0.0:138             0.0.0.0:*                           
udp        0      0 0.0.0.0:137             0.0.0.0:*                           
udp        0      0 10.1.0.3:123            0.0.0.0:*                           
udp        0      0 127.0.0.1:123           0.0.0.0:*                           
udp        0      0 0.0.0.0:123             0.0.0.0:*                           
raw        0      0 0.0.0.0:1               0.0.0.0:*               7           
raw        0      0 0.0.0.0:6               0.0.0.0:*               7           

and the ps:

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:05 init [3]
    2 ?        SW     0:01 [kflushd]
    3 ?        SW     0:01 [kupdate]
    4 ?        SW     0:00 [kpiod]
    5 ?        SW     0:09 [kswapd]
    6 ?        SW     0:00 [khubd]
  331 ?        S      0:00 syslogd -m 0
  340 ?        S      0:00 klogd
  372 ?        S      0:00 crond
  390 ?        S      0:00 inetd
  404 ?        SL     0:00 xntpd -A
  499 ?        S      0:00 gpm -t ps/2
  552 tty1     SW     0:00 [login]
  553 tty2     SW     0:00 [mingetty]
  554 tty3     SW     0:00 [mingetty]
  555 tty4     SW     0:00 [mingetty]
  556 tty5     SW     0:00 [mingetty]
  557 tty6     SW     0:00 [mingetty]
  561 tty1     S      0:00 -bash
14549 ?        S      0:18 sshd2 -i
14550 pts/1    S      0:01 -bash
15967 ?        S      0:00 smbd -D
15976 ?        S      0:00 nmbd -D
15979 ?        S      0:00 nmbd -D
15982 ?        S      0:02 smbd -D
18989 ?        S      0:00 /usr/afs/bin/bosserver
18991 pts/1    S<     0:00 [afsd]
18992 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18993 pts/1    S<     0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18994 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18995 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18996 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18997 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18998 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
18999 ?        S      0:00 /usr/afs/bin/buserver
19000 ?        S      0:00 /usr/afs/bin/ptserver
19001 ?        S      0:00 /usr/afs/bin/vlserver
19002 ?        S<     0:00 /usr/afs/bin/fileserver
19003 ?        S      0:00 /usr/afs/bin/volserver
19004 ?        S      0:00 /usr/afs/bin/upserver -crypt /usr/afs/etc -clear
/usr/afs/bin
19006 ?        S<     0:00 /usr/afs/bin/fileserver
19007 ?        S<     0:00 /usr/afs/bin/fileserver
19008 ?        S<     0:00 /usr/afs/bin/fileserver
19009 ?        S<     0:00 /usr/afs/bin/fileserver
19011 ?        S<     0:00 /usr/afs/bin/fileserver
19012 ?        S<     0:00 /usr/afs/bin/fileserver
19014 ?        S<     0:00 /usr/afs/bin/fileserver
19015 ?        S<     0:00 /usr/afs/bin/fileserver
19019 ?        S<     0:00 /usr/afs/bin/fileserver
19021 ?        S<     0:00 /usr/afs/bin/fileserver
19022 ?        S<     0:00 /usr/afs/bin/fileserver
19024 ?        S<     0:00 /usr/afs/bin/fileserver
19025 ?        S<     0:00 /usr/afs/bin/fileserver
19029 ?        S<     0:00 /usr/afs/bin/fileserver
19031 ?        S<     0:00 /usr/afs/bin/fileserver
19033 ?        S<     0:00 /usr/afs/bin/fileserver
19034 ?        S<     0:00 /usr/afs/bin/fileserver
19035 pts/1    S      0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3
-volumes 70
19036 pts/1    S      0:12 /usr/heimdal/libexec/kdc
19037 pts/1    S      0:00 /usr/heimdal/libexec/kadmind
19056 pts/1    S      0:00 /usr/afsws/bin/kpwvalid
19062 pts/1    S      0:00 /usr/afsws/bin/kpwvalid
19213 pts/1    T      0:00 strace -o /root/kadmin.log /usr/heimdal/sbin/kadmin
19214 pts/1    Z      0:00 [kadmin <defunct>]
19870 pts/1    R      0:00 ps x

Kernel version is 2.2.18, and OpenAFS version is 1.1.1a.  Heimdal version is 0.3e.

TIA,

Eric