Error "File exists" from krb5_init_context

Curtis Robinson curtis at oushi.org
Thu May 16 15:30:01 EDT 2002


I found the error.  It could not find the krb5.conf file.  I have no
clue as to why the stat command was reporting EEXIST.  Now, I have
another error in the krb5_init_context that I am tracking.

Now, it is stopping on the function profile_get_integer in file
lib/krb5/krb/init_ctx.c but this time it is crashing the Directory
Server instead of reporting an error.

On Wed, May 15, 2002 at 02:26:57PM -0400, eichin-krb at thok.org wrote:
> > I got the man page telling me that on a success stat returns 0 and
> > a failure returns -1, so this statement will always be false.  So, I did
> 
> umm, sure, so on success stat returns zero, and the if statement
> *doesn't* follow the return errno branch.  In C, if (foo) is
> implicitly if (foo != 0).  That's not what your problem is.
> 
> Given that you're on solaris, do try running "truss" on your case that
> failed, and look at the last 10 or so lines (especially looking for
> something that shows an errno of EEXISTS... though really, the last
> syscalls before it prints your error are probably the interesting ones
> regardless.)
> _______________________________________________
> krbdev mailing list             krbdev at mit.edu
> http://mailman.mit.edu/mailman/listinfo/krbdev

-- 
Curtis Robinson
crobinso at fit.edu



More information about the krbdev mailing list