Forum Problems Installing LAMS: Re: Re: Re: Re: Re: Cannot get Lams to start


 
Search: 

6: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 5 01/08/14 11:47 AM
[ Reply | Forward ]
Hi Mario,

Remember that you need Java JDK 1.6 to run LAMS with.

You can download from the Oracle website.

Once you download it, set up the JAVA_HOME variable to point to the directory in which you unzipped the JDK (ie: export JAVA_HOME=/usr/local/jdk1.6.0_45).

Then run the script to start LAMS again.

Thanks,

Ernie

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 6 01/10/14 12:42 PM
[ Reply | Forward ]
I have a new problem, I'm trying to install lams by apt
Following those instructions: http://edutechwiki.unige.ch/en/LAMS_installation_and_configuration#LAMS_2.4_on_Debian.2FUbuntu

And I have a new problem:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lams2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/60.0 MB of archives.
After this operation, 91.7 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
lams2
Preconfiguring packages ...
Selecting previously deselected package lams2.
(Reading database ... 52036 files and directories currently installed.)
Unpacking lams2 (from .../archives/lams2_2.4.0-1_all.deb) ...
Setting up lams2 (2.4.0-1) ...
sed: can't read mysql-ds.xml: No such file or directory
dpkg: error processing lams2 (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
lams2
E: Sub-process /usr/bin/dpkg returned an error code (1)


then I use: # apt-get remove lams-jboss4 as this post:
http://lamscommunity.org/dotlrn/clubs/technicalcommunity/forums/message-view?message_id=1681552

then I put: # apt-get install lams2

and I got this message :

Setting up lams-jboss4 (5.1-1) ...
Setting up lams2 (2.4.0-1) ...
dpkg: error processing lams2 (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
lams2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Posted by mario donoso

8: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 7 01/10/14 02:44 PM
[ Reply | Forward ]
Hi Mario,

What Ubuntu/Debian version are you running?

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 8 01/11/14 05:13 AM
[ Reply | Forward ]
I‘m using Debian 6.

Posted by mario donoso

10: Re: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 8 01/13/14 06:22 AM
[ Reply | Forward ]
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.8 (squeeze)
Release: 6.0.8
Codename: squeeze

Posted by mario donoso

11: Re: Re: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 10 01/13/14 09:15 AM
[ Reply | Forward ]
Hi Mario,

I tested yesterday with 6.0.7 and it worked fine.

Do you have MySQL installed already in this box? If so, was it installed via apt-get?

Thanks

Ernie

Posted by Ernie Ghiglione

12: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 11 01/13/14 10:20 AM
[ Reply | Forward ]
Hi Ernie, yes, I already have MySQL installed via apt-get.
I uninstall mysql and start over, and I have the same problem.

Configurando lams2 (2.4.0-1) ...
dpkg: error al procesar lams2 (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
configured to not write apport reports
Se encontraron errores al procesar:
lams2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Posted by mario donoso

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 11 01/13/14 02:20 PM
[ Reply | Forward ]
I got this, dna I don't know what else to do:

Install these packages without verification [y/N]? Y
Preconfiguring packages ...
Selecting previously deselected package lams-jboss4.
(Reading database ... 51681 files and directories currently installed.)
Unpacking lams-jboss4 (from .../lams-jboss4_5.1-1_all.deb) ...
Selecting previously deselected package lams2.
Unpacking lams2 (from .../archives/lams2_2.4.0-1_all.deb) ...
Setting up lams-jboss4 (5.1-1) ...
Setting up lams2 (2.4.0-1) ...
dpkg: error processing lams2 (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
lams2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Posted by mario donoso

14: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Cannot get Lams to start
In response to 11 01/15/14 09:31 AM
[ Reply | Forward ]
Fortunately I have another server and I start a new Installation, and everything is ok, I'm gonna keep looking what's the problem with the other installation.

Posted by mario donoso

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