Hi Luke,

Thanks for the reply.

The O/S that I am using is a suse linux 64 bit version.

That one that it is working fine is a suse linux 32 bit o/s   and both of them 
are diff machines.

When I have executed the command on the 64 bit o/s it gave the output as 
attached.
$ strace /usr/local/sbin/kadmind 2>&1 | egrep 'stat|open' | less


I have also done the output on the working machine which is a 32 bit and the 
output is also similar and there were quite a few so files that are missing and 
are identical to that in the 64 bit.

I am not understanding how is it working in the 32 bit and not in the 64 bit. 
Is there anything that is not compatible with the 64 bit suselinux.


My krb5.conf file is on /etc and it contains the correct entries.


Am I missing anything in my investigation to solve the issue...please help.


Thanks
Vilas




-----Original Message-----
From: Luke Scharf [mailto:[email protected]] 
Sent: Thursday, May 21, 2009 8:31 PM
To: Tadoori (EXT), Vilas
Cc: [email protected]
Subject: Re: Issues starting kadmin on suse linux

You could run it with strace, and see which files it's trying to open:
    $ strace /usr/loca/sbin/kadmind

If you shell happens to be bash and you want to get fancy, you can 
filter the output like so:
    $ strace /usr/local/sbin/kadmin 2>&1 | egrep 'stat|open' | less

Picking through the output should tell you for real which file isn't 
being found.

-Luke


Tadoori (EXT), Vilas wrote:
> Dear All,
>
> I  have downloaded the following version 
>
> krb5-1.6.3-signed.tar from the consortium and was able to configure , make 
> and install as per the install guide provided as per the steps below
>
> ./configure 
> make
> make install
>
> It installed fine, when I went to the /usr/local/sbin and started the 
> ./kadmind
>
> I get the following message 
> kadmind: No such file or directory while initializing, aborting
>
> The version of suse linux is as follows
>
> SUSE LINUX Enterprise Server 9 (x86_64) - Kernel 2.6.5-7.244-default(2)
>
>
> I have earlier installed it on 
>
> SUSE LINUX Enterprise Server 9 (i586) - Kernel 2.6.5-7.97-smp (1).
>
> And it is working fine....
>
> I would be greatful if anyone would help me in resolving this issue.
>
> Thanks
> Vilas
>
> ________________________________________________
> Kerberos mailing list           [email protected]
> https://mailman.mit.edu/mailman/listinfo/kerberos
>   

open("/usr/local/lib/tls/x86_64/libkadm5srv.so.5", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fbfffe9a0) = -1 ENOENT (No such file or 
directory)
open("/usr/local/lib/tls/libkadm5srv.so.5", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat("/usr/local/lib/tls", 0x7fbfffe9a0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libkadm5srv.so.5", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat("/usr/local/lib/x86_64", 0x7fbfffe9a0) = -1 ENOENT (No such file or 
directory)
open("/usr/local/lib/libkadm5srv.so.5", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=344403, ...}) = 0
open("/usr/local/lib/libkdb5.so.4", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=155580, ...}) = 0
open("/usr/local/lib/libgssrpc.so.4", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=455805, ...}) = 0
open("/usr/local/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=931632, ...}) = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92699, ...}) = 0
open("/lib64/libdl.so.2", O_RDONLY)     = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=15959, ...}) = 0
open("/usr/local/lib/libkrb5.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2826951, ...}) = 0
open("/usr/local/lib/libk5crypto.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=586419, ...}) = 0
open("/usr/local/lib/libcom_err.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=47841, ...}) = 0
open("/usr/local/lib/libkrb5support.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=94661, ...}) = 0
open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib64/libresolv.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=85276, ...}) = 0
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib64/tls/libpthread.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=99365, ...}) = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1424617, ...}) = 0
stat("/usr/local/var/krb5kdc/kdc.conf", 0x7fbfffcf70) = -1 ENOENT (No such file 
or directory)
stat("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=701, ...}) = 0
open("/etc/krb5.conf", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=701, ...}) = 0
stat("/usr/local/etc/krb5.conf", 0x7fbfffcf70) = -1 ENOENT (No such file or 
directory)
open("/dev/urandom", O_RDONLY)          = 3
fstat(3, {st_mode=S_IFCHR|0644, st_rdev=makedev(1, 9), ...}) = 0
open("/var/log/kadmind.log", O_RDWR|O_APPEND|O_CREAT, 0666) = 3
stat("/usr/local/var/krb5kdc/kdc.conf", 0x7fbfffce90) = -1 ENOENT (No such file 
or directory)
stat("/usr/local/etc/krb5.conf", 0x7fbfffce90) = -1 ENOENT (No such file or 
directory)
open("/dev/urandom", O_RDONLY)          = 4
fstat(4, {st_mode=S_IFCHR|0644, st_rdev=makedev(1, 9), ...}) = 0
stat("/usr/local/var/krb5kdc/kdc.conf", 0x7fbfffcd10) = -1 ENOENT (No such file 
or directory)
stat("/usr/local/etc/krb5.conf", 0x7fbfffcd10) = -1 ENOENT (No such file or 
directory)
stat("/usr/local/lib/krb5/plugins/kdb/db2", 0x7fbfffeeb0) = -1 ENOENT (No such 
file or directory)
stat("/usr/local/lib/krb5/plugins/kdb/db2.so", {st_mode=S_IFREG|0644, 
st_size=449756, ...}) = 0
open("/usr/local/lib/krb5/plugins/kdb/db2.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=449756, ...}) = 0
open("/usr/local/var/krb5kdc/principal", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/etc/localtime", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=3553, ...}) = 0
open("/usr/local/lib/tls/x86_64/libkadm5srv.so.5", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fbfffe9a0) = -1 ENOENT (No such file or 
directory)
open("/usr/local/lib/tls/libkadm5srv.so.5", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat("/usr/local/lib/tls", 0x7fbfffe9a0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libkadm5srv.so.5", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat("/usr/local/lib/x86_64", 0x7fbfffe9a0) = -1 ENOENT (No such file or 
directory)
open("/usr/local/lib/libkadm5srv.so.5", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=344403, ...}) = 0
open("/usr/local/lib/libkdb5.so.4", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=155580, ...}) = 0
open("/usr/local/lib/libgssrpc.so.4", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=455805, ...}) = 0
open("/usr/local/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=931632, ...}) = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92699, ...}) = 0
open("/lib64/libdl.so.2", O_RDONLY)     = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=15959, ...}) = 0
open("/usr/local/lib/libkrb5.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2826951, ...}) = 0
open("/usr/local/lib/libk5crypto.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=586419, ...}) = 0
open("/usr/local/lib/libcom_err.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=47841, ...}) = 0
open("/usr/local/lib/libkrb5support.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=94661, ...}) = 0
open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib64/libresolv.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=85276, ...}) = 0
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib64/tls/libpthread.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=99365, ...}) = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1424617, ...}) = 0
stat("/usr/local/var/krb5kdc/kdc.conf", 0x7fbfffcf70) = -1 ENOENT (No such file 
or directory)
stat("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=701, ...}) = 0
open("/etc/krb5.conf", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=701, ...}) = 0
stat("/usr/local/etc/krb5.conf", 0x7fbfffcf70) = -1 ENOENT (No such file or 
directory)
open("/dev/urandom", O_RDONLY)          = 3
fstat(3, {st_mode=S_IFCHR|0644, st_rdev=makedev(1, 9), ...}) = 0
open("/var/log/kadmind.log", O_RDWR|O_APPEND|O_CREAT, 0666) = 3
stat("/usr/local/var/krb5kdc/kdc.conf", 0x7fbfffce90) = -1 ENOENT (No such file 
or directory)
stat("/usr/local/etc/krb5.conf", 0x7fbfffce90) = -1 ENOENT (No such file or 
directory)
open("/dev/urandom", O_RDONLY)          = 4
fstat(4, {st_mode=S_IFCHR|0644, st_rdev=makedev(1, 9), ...}) = 0
stat("/usr/local/var/krb5kdc/kdc.conf", 0x7fbfffcd10) = -1 ENOENT (No such file 
or directory)
stat("/usr/local/etc/krb5.conf", 0x7fbfffcd10) = -1 ENOENT (No such file or 
directory)
stat("/usr/local/lib/krb5/plugins/kdb/db2", 0x7fbfffeeb0) = -1 ENOENT (No such 
file or directory)
stat("/usr/local/lib/krb5/plugins/kdb/db2.so", {st_mode=S_IFREG|0644, 
st_size=449756, ...}) = 0
open("/usr/local/lib/krb5/plugins/kdb/db2.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=449756, ...}) = 0
open("/usr/local/var/krb5kdc/principal", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/etc/localtime", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=3656, ...}) = 0
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to