Hi,
I am working on my
first afs cell and have run into some troubles with klog coreing on the
client?
First
Background:
I have an openafs
server (bayan) which is FedoraCore5 x86_64 runing openafs-1.4.1rc10 (I
recompiled the RPMs from the Fedora Core 5 .src.rpm). I also have a client
(foxglove) which is exactly the same OS configuration FedoraCore5
x86_64, runing openafs-1.4.1rc10. These two seem to work okay together
(only basic functionality tested, e.g. logging in with klog, get token, reading
and writting files.) They were
installed following the Quick Beginnings documentation, (With a little bit of
head scratching). They are therefore using
kaserver.
I also have a Redhat
8.0 Server (named chengdu) that needs to interact with the AFS
server. So I re-compiled the openafs-1.2.13-rh8.0.1.src.rpm to
make new RPMS. When I did this I made two changes to the SPEC
file:
-- Turned off krb5support
-- Turned on bootkernelsupport
"
# Set 'krb5support'
to 1 if you want to build the openafs-krb5 package
# to distribute aklog and asetkey
%define krb5support 0
# to distribute aklog and asetkey
%define krb5support 0
# Set
'bootkernelsupport' to 1 if you want to build the
# kernel module for RedHat BOOT Kernels on x86.
%define bootkernelsupport 1
# kernel module for RedHat BOOT Kernels on x86.
%define bootkernelsupport 1
"
This cell client
seems to be okay (eg read the filesystem), except that klog
cores
"[EMAIL PROTECTED] ]#
klog admin
Password:
Segmentation fault (core dumped)
" (See gdb output below)
Password:
Segmentation fault (core dumped)
" (See gdb output below)
Also " kas examine
-name admin -admin_username admin" also coredumps (with a very similar "gdb
where").
Questions:
Do I need
krb5support enabled for klog?
Is there a RedHat
RPM that I need to have installed for klog to work?
Instead of 1.2.13
should I be trying to get 1.4.1 to make on the redhat 8.0?
Thank-you for your
thoughts on the matter,
Cynthia
Oldham
Systems Engineer,
Contec Innovations.
-- Log from gdb on
klog core --
[EMAIL PROTECTED] bin]# gdb klog core
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)...
Core was generated by `klog'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
< trace deleted, Loading and reading
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)...
Core was generated by `klog'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
< trace deleted, Loading and reading
Reading symbols from
/usr/lib/sasl/libplain.so...done.
Loaded symbols for /usr/lib/sasl/libplain.so
#0 0x42073cd0 in _int_malloc () from /lib/i686/libc.so.6
(gdb) where
#0 0x42073cd0 in _int_malloc () from /lib/i686/libc.so.6
#1 0x42073155 in malloc () from /lib/i686/libc.so.6
#2 0x0806f802 in xdr_array ()
#3 0x0806eeb1 in xdr_array ()
#4 0x0806e653 in xdr_array ()
#5 0x08061a45 in strcpy ()
#6 0x0804afc2 in strcpy ()
#7 0x0804e73a in strcpy ()
#8 0x0804be4a in strcpy ()
#9 0x0804c149 in strcpy ()
#10 0x0804a1d6 in strcpy ()
#11 0x08073e27 in xdr_array ()
#12 0x08049ddc in strcpy ()
#13 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) quit
Loaded symbols for /usr/lib/sasl/libplain.so
#0 0x42073cd0 in _int_malloc () from /lib/i686/libc.so.6
(gdb) where
#0 0x42073cd0 in _int_malloc () from /lib/i686/libc.so.6
#1 0x42073155 in malloc () from /lib/i686/libc.so.6
#2 0x0806f802 in xdr_array ()
#3 0x0806eeb1 in xdr_array ()
#4 0x0806e653 in xdr_array ()
#5 0x08061a45 in strcpy ()
#6 0x0804afc2 in strcpy ()
#7 0x0804e73a in strcpy ()
#8 0x0804be4a in strcpy ()
#9 0x0804c149 in strcpy ()
#10 0x0804a1d6 in strcpy ()
#11 0x08073e27 in xdr_array ()
#12 0x08049ddc in strcpy ()
#13 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) quit
