I am in the process of implementing cosign for a client, and have run into a
nasty roadblock.
I have 2 environments, 1 development and 1 production. Everything work fine
on the dev machine, but on the production box, when logging into the cosign
CGIs, I get back a HTTP 500 error.
Of course I went to the logs and came up with the following:
/var/log/system.log:Mar 11 11:13:22 SANITIZEDcosignd [76]: debug: STARTTLS 2
/var/log/system.log:Mar 11 11:13:22 SANITIZEDcosignd [76]: debug: CHECK
cosign=gYmY-H5wlNQkCe-c6oBAMyOeYybGapwpErR5aLdlBfD6rLz7VCNilY8LzdQFrZbgOFlHfszuQW8lvWS2OfqkSN6UbuuS+SBvYPdrKIgOZBxSm6zci19yzQRntiA4
/var/log/system.log:Mar 11 11:13:32 www cosign.cgi[9132]: *** NSInvocation:
warning: object 0x1000d1040 of class 'ReplicaFile' does not implement
methodSignatureForSelector: -- trouble ahead
/var/log/system.log:Mar 11 11:13:32 www cosign.cgi[9132]: *** NSInvocation:
warning: object 0x1000d1040 of class 'ReplicaFile' does not implement
doesNotRecognizeSelector: -- abort
/var/log/system.log:Mar 11 11:13:34 www ReportCrash[9135]: Formulating crash
report for process cosign.cgi[9132]
/var/log/system.log:Mar 11 11:13:34 www SANITIZEDcosignd [76]: debug:
STARTTLS 2
/var/log/system.log:Mar 11 11:13:34 www SANITIZEDcosignd [76]: debug: CHECK
cosign=xeucgoC8nlTl3xfomu+roeANbRDij+LJ26ZRVXswpp1826NIt64wgQCZJ+C6DMLHOge2c12VwFVBwDaJWcJ-Htd7jbxaSUVFbuNusF0O3X15E3GsKYFjpAe1nJaD
/var/log/system.log:Mar 11 11:13:34 www ReportCrash[9135]: Saved crashreport
to
/Library/Logs/CrashReporter/cosign.cgi_2009-03-11-111332_USIRVLEARN01.crash
using uid: 0 gid: 0, euid: 0 egid: 0
So it appears that the CGI is crashing on any successful authentication.
This does not happen if you enter invalid credentials...in that case, the
authentication fails as normal. Also, I get cookies assigned to my
browser...both a regular cosign cookie, and a service cookie if I'm trying
to go to a protected service first.
However, in the production environment, I am not seeing _any_ files recorded
in the daemon dierctory
I have been over and over the 2 environments and they are about as identical
as I can make them. I have diff'ed the output from the build process,
config.log, the output from my configure command, config.status, and the
only things I can find that are different are:
1. URLs
2. filenames that include the home directory of the user I am running as,
which is different on the 2 machines
3. the dev machine has 1 PowerPC 7450 processor, the prod one has 2 Intels.
I am building all cosign binaries as universal binaries on both the
machines. Everything appears to build and install correctly...I'm not
seeing so much as a warning.
Any clues that anyone has as to what might be causing this, or (even better)
what to do to resolve it would be _most_ appreciated.
Kevin
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Cosign-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cosign-discuss