Forum Problems Installing LAMS: Re: Can't login as administrator after install


 
Search: 

2: Re: Can't login as administrator after install
In response to 1 04/06/09 12:12 PM
[ Reply | Forward ]
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

3: Re: Can't login as administrator after install
In response to 2 04/07/09 12:53 AM
[ Reply | Forward ]
In desperation I have now compiled and installed the deparecated mod_jk2 instead of mod_jk and configured it using the instructions on the page http://www.lamsinternational.com/faq/advanced_p.php?g=modjk2

However once again when I try to login as administrator I am refused and the following lines appear in the lams.log file:

2009-04-07 07:47:05,216 [TP-Processor11:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - initialize
2009-04-07 07:47:05,216 [TP-Processor11:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - login
2009-04-07 07:47:05,218 [TP-Processor11:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authenticating user: admin
2009-04-07 07:47:05,667 [TP-Processor11:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authentication type: LAMS
2009-04-07 07:47:13,675 [TP-Processor11:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - abort
2009-04-07 07:47:13,677 [TP-Processor11:] 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: 3CBDDB916CDEC9A4CE2AC8AA03C394EF
2009-04-07 07:47:13,678 [TP-Processor11:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - Set locale information for login page:en_GB
2009-04-07 07:47:13,685 [TP-Processor12:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Couldn't find the sso cookie
2009-04-07 07:47:13,686 [TP-Processor12:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Created one - 8ae48091207f530601207f54a0160080
2009-04-07 07:47:13,686 [TP-Processor12:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: cookie is null, generating a new session

Please what is wrong???

Thanks

Clive

Posted by Clive Gould

Reply to first post on this page
Back to Problems Installing LAMS