Some additional information...
DEBUG logs are shown below for a failed login session:
(all logs cleared immediately before login attempt i.e. cat /dev/null > logfilename)
ls -la
total 9852
drwxr-xr-x 2 root root 4096 Apr 6 18:54 .
drwxr-xr-x 9 root root 4096 Apr 4 21:08 ..
-rw-r--r-- 1 root root 0 Apr 6 18:55 audit.log
-rw-r--r-- 1 root root 0 Apr 6 18:55 boot.log
-rw-r--r-- 1 root root 0 Apr 6 18:57 hibernatelams.log
-rw-r--r-- 1 root root 0 Apr 6 18:56 hibernatelams.log.1
-rw-r--r-- 1 root root 0 Apr 6 18:56 hibernatelams.log.2
-rw-r--r-- 1 root root 1727 Apr 6 18:57 lams.log
-rw-r--r-- 1 root root 377 Apr 6 18:57 localhost_access_log.2009-04-06.log
-rw-r--r-- 1 root root 27226601 Apr 6 19:02 server.log
less lams.log
2009-04-06 18:57:20,450 [TP-Processor8:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Couldn't find the sso cookie
2009-04-06 18:57:20,451 [TP-Processor8:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Created one - 8ae48091207c90b301207c93c5c3006f
2009-04-06 18:57:20,480 [TP-Processor8:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - initialize
2009-04-06 18:57:20,481 [TP-Processor8:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - login
2009-04-06 18:57:20,482 [TP-Processor8:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authenticating user: admin
2009-04-06 18:57:20,619 [TP-Processor8:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authentication type: LAMS
2009-04-06 18:57:28,657 [TP-Processor8:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - abort
2009-04-06 18:57:28,686 [TP-Processor8:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: 3F02167933FF06F1E5AA1DDDD7308387
2009-04-06 18:57:28,687 [TP-Processor8:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - Set locale information for login page:en_GB
2009-04-06 18:57:28,773 [TP-Processor7:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Couldn't find the sso cookie
2009-04-06 18:57:28,773 [TP-Processor7:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Created one - 8ae48091207c90b301207c93e6450070
2009-04-06 18:57:28,773 [TP-Processor7:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: cookie is null, generating a new session
less localhost_access_log.2009-04-06.log
195.69.92.72 - - [06/Apr/2009:18:57:19 +0000] "GET /lams/images/css/btn_over.gif HTTP/1.1" 304 -
10.100.0.17 - - [06/Apr/2009:18:57:28 +0000] "GET /lams//www/news.html HTTP/1.1" 200 3502
195.69.92.72 - - [06/Apr/2009:18:57:28 +0000] "POST /lams/j_security_check HTTP/1.1" 200 8919
195.69.92.72 - - [06/Apr/2009:18:57:28 +0000] "GET /lams/images/css/warning.gif HTTP/1.1" 304 -
server.log appears to be a binary file and as such is unreadable using the less pager
Posted by Clive Gould