[pubcookie-users] login.cgi errors
Breeze P. Howard
bhoward at acns.fsu.edu
Fri Feb 21 09:12:06 PST 2003
Oops. I had set the debug and log level to 100 (should be enough) and I
could have sworn there were no messages in the log file. But I guess that
was before I fixed the library issue. Because there are log messages now.
Feb 21 10:46:53 wireless pubcookie login server[16705]: [ID 702911
local3.error] couldn't find session keyfile (try setting ssl_key_file?)
The thing that fixed it was changing the permissions on the key file and
it's directory. Now it seems to bring up the login.cgi just fine.
ssl_key_file: /usr/local/apache/conf/ssl.key/server.key
drwxr-xr-x 2 root other 512 Jan 31 09:16 ssl.key
-rw-r--r-- 1 root other 887 Dec 24 14:19 server.key
Thanks again,
Breeze
----------------------
Breeze P. Howard
bhoward at acns.fsu.edu
(850) 644-2591
Academic Computing & Networking Services
Florida State University
On Fri, 21 Feb 2003, Nathan Dors wrote:
>
> Have you bumped up the debug and logging_level in
> your pubcookie config file? That should result in
> better diagnostics in syslog.
>
> -Nathan
>
>
> On Wed, 19 Feb 2003, Breeze P. Howard wrote:
>
> > When I go to my webpage that is protected by Pubcookie using the .htaccess
> > file, it does redirect me to the login.cgi script correctly. But the
> > login.cgi script gives me an "Internal Server Error".
> >
> > The webpage is http://wireless.fsu.edu/testapp
> > and the redirect is to https://wireless.fsu.edu/cgi-bin/login.cgi
> >
> > At first, the errors that were coming up in the apache error_log were
> >
> > ld.so.1: login.cgi: fatal: libldap.so.2: open failed: No such file or
> > directory
> > [Tue Feb 18 11:08:32 2003] [error] [client 146.201.3.44]
> > Premature end of script headers: /usr/local/apache/cgi-bin/login.cgi
> >
> > I put some sym links into /usr/lib, so it could find
> > /usr/local/lib/libldap.so.2 and liblber.so.2. And now the only error I am
> > getting is the second one. "Premature end of script headers".
> >
> > I know there is a probably a better way to fix the first error, but I'm
> > not too concerned with it now since I "fixed" it... I only mention it, in
> > case it is relevant to the rest of the problem.
> >
> > Also, I should mention that when I run the login.cgi from the command
> > line, it gives me what looks like normal output. I included it below
> > along with all of my system specs and config excerps.
> >
> > Any help or direction you guys can give me would be appreciated.
> >
> > Thanks, Breeze
> >
> > System specs:
> > -------------
> > Solaris 8
> > Sun Fire 280
> > Pubcookie 3.0.0beta3 (login and app server on same machine)
> > login server built with enable-ldap auth.
> > Apache 1.3.27 (DSO support)
> > openSSL 0.9.6g
> > mod_ssl 2.8.12-1.3.27
> >
> > In my httpd.conf
> > ----------------
> > AllowOverride AuthConfig
> >
> > <IfDefine SSL>
> > PubcookieAuthTypeNames basic_flavor
> > PubcookieInactiveExpire -1
> > PubcookieLogin https://wireless.fsu.edu/cgi-bin/login.cgi
> > </IfDefine>
> >
> > in my .htaccess
> > ----------------
> > AuthType basic_flavor
> > require valid-user
> >
> > Output of login.cgi when run from command line
> > ----------------------------------------------
> > Pragma: No-Cache
> > Cache-Control: no-store, no-cache, must-revalidate
> > Expires: Sat, 1 Jan 2000 01:01:01 GMT
> > Content-Type: text/html
> >
> > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
> > <html>
> > <head>
> > <SCRIPT LANGUAGE="JavaScript">
> > window.location.replace("https://");
> > </SCRIPT>
> > <NOSCRIPT>
> > <meta http-equiv="Refresh" content="0;URL=https://">
> > </NOSCRIPT>
> > <title>pubcookie redirect</title>
> > </head>
> >
> > <body bgcolor="white">
> > <!--redirecting to https://-->
> > </body>
> > </html>
> >
> >
> > ---------------------
> > Breeze P. Howard
> > bhoward at acns.fsu.edu
> > (850) 644-2591
> > Academic Computing & Networking Services
> > Florida State University
> > _______________________________________________
> > pubcookie-users mailing list
> > pubcookie-users at u.washington.edu
> > http://mailman.u.washington.edu/mailman/listinfo/pubcookie-users
> >
>
More information about the pubcookie-users
mailing list