> "David K." wrote:
> 
> I have the daemons in authdaemonrc reduced to 1, and this is
> the begining of the truss output of authdaemond:
> 
>     Received signal #18, SIGCLD, in poll() [caught]
>       siginfo: SIGCLD CLD_DUMPED pid=24336 status=0x000B
> poll(0x08046CEC, 1, 300000)                     Err#4 EINTR
> close(4)                                        = 0
> sigaction(SIGHUP, 0x08046A00, 0x08046A70)       = 0

Ooops, wrong daemon: it was the parent. Try truss the next process
number (ps -ef | grep authdaemon shows me 2 whith "daemons=1".)
You should see an accept as the first system call.

Recall you can use

   truss -u "" -p nnnn

for a reallty verbose output.

> 
> I'm not familiar with gdb, and it tells me:
> 
> This GDB was configured as "i386-pc-solaris2.9"..."/etc/rc3.d/core": not in 
> executable format: File format not recognized


try

   gdb -core /etc/rc3.d/core

and then use `bt', `up', `print' and `quit' as needed. See e.g.
http://sources.redhat.com/gdb/current/onlinedocs/gdb_9.html


> - David
> 
> Alessandro Vesely wrote:
> 
> > "David K." wrote:
> > [...]
> >
> >
> >> pstack core
> >> core 'core' of 17227:   /usr/local/libexec/courier-authlib/authdaemond
> >>  d26cf539 strcmp   () + 115
> >>  d2793d3d authcheckpassword (804d234, d254bba6, d277bb7b, d253e724) + 101
> >>  d253e73d ???????? ()
> >>
> >>
> > Possibly that is a strcmp in do_authcheckpassword, comparing
> > crypt(password) with the encripted password? Then when the daemon
> > crashes the client gets an I/O error.
> >
> > You should investigate some more, either with gdb or, if
> > you can reduce daemons to 1 in authdaemonrc, pointing
> > truss to the running daemon. In case you have a MySQL query
> > log, that may provide some more hints as well.
> >
> >


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to