|
5:
Re: Re: Re: Re: Cannot get Lams to start
|
In response to 4
|
01/08/14 08:06 AM |
|
I have the same problem
My server is a debian and the error is:
>sudo -u lams sh -c "/usr/local/jboss-5.1/bin/run.sh -b 50.97.148.3"
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss-5.1
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
CLASSPATH: /usr/local/jboss-5.1/bin/run.jar
=========================================================================
/usr/local/jboss-5.1/bin/run.sh: 305: java: not found
but if I do: java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode)
Thanks.
Posted by mario donoso
|
|
|
6:
Re: Re: Re: Re: Re: Cannot get Lams to start
|
In response to 5
|
01/08/14 11:47 AM |
|
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 |
|
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
|
|
|
|
|
|
|
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 |
|
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 |
|
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
|
|
|