Forum Problems Installing LAMS: Problem installing on Ubuntu 9.10


 
You may request notification for Problem installing on Ubuntu 9.10.
Search: 

1: Problem installing on Ubuntu 9.10
11/24/10 05:14 AM
[ Reply | Forward ]
Hi!

I successfuly installed ubuntu/debian pack of LAMS 2.3.4 to my server with Ubuntu 9.10, started it, waited about 10 minutes for LAMS to boot, but when i open LAMS via any of my browsers, it takes him about 5 minutes to go to login page. After this moment it works ok, but when i want to logout - it takes him 5 minutes again..

P.S.
I changed
JAVA_OPTS="-server -Xms128m -Xmx512m -XX:MaxPermSize=256m"
to
JAVA_OPTS="-server -Xms512m -Xmx512m -XX:MaxPermSize=512m"
in run.conf, but haven't succeed.

Server: PRIMERGY RX300 S2, 10Gb RAM.

Please see logs attached, will be very appreciate for any help.

Sincerely,
Alex.

Posted by Alex Lifanov

2: Re: Problem installing on Ubuntu 9.10
In response to 1 11/24/10 05:15 AM
[ Reply | Forward ]
please see attached logs

Posted by Alex Lifanov

Attachments:
3: Re: Problem installing on Ubuntu 9.10
In response to 1 11/24/10 05:16 AM
[ Reply | Forward ]
run.conf file

Posted by Alex Lifanov

Attachments:
4: Re: Problem installing on Ubuntu 9.10
In response to 1 11/24/10 06:56 AM
[ Reply | Forward ]
My server is 64-bit Xeon, can it be the problem?

Thank you!

Posted by Alex Lifanov

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

No, your server is perfectly fine LAMS should be ablr to run on it no problems. Just a few things to check though:

Are you using Sun's (now Oracle) JDK 6? The best way to check is type java -version from a shell. If you aren't using, check out this page on how to enable the partner repository so you can install it with just an apt-get http://is.gd/hHvnI

I'm pretty certain that the ServerURL setting is not set up properly. Login as Sysadmin, go to the sysadmin menu, click on "Edit Configuration Settings" and change your Server URL to the IP of the server or domain you have in it. (ie: http://translations.lamscommunity.org/lams/).


2010-11-23 16:15:45,466 [main:jboss.web.deployment:war=lams-central.war,id=108437108 WebModule] ERROR org.lamsfoundation.lams.web.LamsStartupServlet - Cannot delete temporary files, do not have permission for folder: /var/lib/lams/temp

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

See how this goes.


Also, the quickest and easiest way to install LAMS in Ubuntu is using the debian installer:

http://wiki.lamsfoundation.org/display/lams/Debian,+Ubuntu+Installers


Thanks,

ernie

Posted by Ernie Ghiglione

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

9: Re: Problem installing on Ubuntu 9.10
In response to 1 12/02/10 06:40 AM
[ Reply | Forward ]
Still have no success with LAMS 2.3.4 and Ubuntu 9.10, will be very appreciate for any help!

Posted by Alex Lifanov

10: Re: Re: Problem installing on Ubuntu 9.10
In response to 9 12/05/10 11:02 PM
[ Reply | Forward ]
Hi Alex,

Sorry for the delay... being really crazy with this lately.

What have you set up as your Server URL? (See Edit Configuration settings in the Sysadmin Menu). Is this the same URL you use to access the server?

Thanks,

Ernie

Posted by Ernie Ghiglione

11: Re: Re: Re: Problem installing on Ubuntu 9.10
In response to 10 12/07/10 03:47 AM
[ Reply | Forward ]
Hi Ernie!

Thank you for your reply!

Yes, it's the same URL.

I temporarily use LAMS under windows virtual machine, installed under ubuntu and i plan to get back to this problem later.
Will be very appreciate for your help when you will have opportunity and free time :)

Alex.

Posted by Alex Lifanov

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