Forum Problems Installing LAMS: Re: Re: Problem installing on Ubuntu 9.10


 
Search: 

6: Re: Re: Problem installing on Ubuntu 9.10
In response to 5 11/24/10 08:22 AM
[ Reply | Forward ]
Ernie, thank you very much for your help!

I installed LAMS using Automated Download Script from your link, but i really have non-Sun Java now:

root@elearning:/var/vm# java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2)
(6b18-1.8.2-4ubuntu1~9.10.1) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)


is it a main problem?

Make sure the user you are running LAMS as, has the right permission to write/read from this folder

please tell me if it is a root ubuntu's user?

Thank you!!!

Posted by Alex Lifanov

7: Re: Re: Re: Problem installing on Ubuntu 9.10
In response to 6 11/24/10 08:58 AM
[ Reply | Forward ]
Hi Alex,

I haven't run LAMS with OpenJDK, but just to rule out any problems with it, I would recommend using the Oracle/Sun version instead.

See the instructions on how to install it on the link I point to you before.


If you are to run LAMS on port 80, you will need to run jboss as root. That would probably solve the issues with permissions for that folder. Just make sure that the folder has been created though.

Thanks,

Ernie

Posted by Ernie Ghiglione

8: Re: Re: Re: Re: Problem installing on Ubuntu 9.10
In response to 7 11/29/10 03:52 AM
[ Reply | Forward ]
Hi Ernie!

We have set sun java to be default VM, created /var/lib/lams/temp dir with permissions, but it's still the same problem with opening LAMS page.

Please see ubuntu process output:

moodle@elearning:~$ ps aux | grep lams
moodle 21018 0.0 0.0 7336 880 pts/0 R+ 12:35 0:00 grep --color=auto lams
lams 25959 0.3 5.3 1407616 512452 ? Sl Nov24 21:04 /usr/lib/jvm/java-6-sun/bin/java -server -Xms512m -Xmx512m -XX:MaxPermSize=512m -Dprogram.name= -Djava.endorsed.dirs=/usr/share/jboss-4.0.2/lib/endorsed -classpath /usr/share/jboss-4.0.2/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar org.jboss.Main


And addtional strings in lams.log output while opening page:

2010-11-29 12:37:36,823 [http-0.0.0.0-8180-7:] 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: 17CD6146807423EFE6C5D92DCCFFC8FA
2010-11-29 12:37:36,823 [http-0.0.0.0-8180-7:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
2010-11-29 12:37:36,823 [http-0.0.0.0-8180-7:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - Set locale information for login page:ru_RU
2010-11-29 12:37:36,823 [http-0.0.0.0-8180-7:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId


Will be very appreciate for any help!

Sincerely, Alex

Posted by Alex Lifanov

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