Forum Problems Installing LAMS: Re: need help on LAMS


 
Search: 

4: Re: need help on LAMS
In response to 1 10/17/07 10:38 PM
[ Reply | Forward ]
thanks Luke for the reply sorry it took me awhile to update my problem on this, i cant install sudo on solaris i tried to run the ./configure but the make command is not working even the make install so i tried to make sa resolution on "/etc/lasm2" problem.

right now i did create a folder /etc/lams which owned by my "testuser" and it went well though here is the first and second result after running the install script

ive also changed my install script to

# Copying the main lams files
printf "Copying lams.ear directory to $JBOSS_DIR/server/default/deploy.\n"
cp -r assembly/lams.ear $JBOSS_DIR/server/default/deploy


here are the results:

*********************************************************************************

FIRST RUN

*********************************************************************************



-bash-3.00$ ./install-lams.sh
JDK_DIR is valid
MySql host is compatible with LAMS.
JBoss Directory Found

--------------------------------------------------------------------------------

WELCOME to the LAMS 2.0.3 unix Installer!

Please ensure you have read and accepted the license agreement before continuing

Make sure you have correctly configured the lams.properties file to your
preferred settings.

You should read the installation guide before continuing.

JAVA_HOME = /usr/jdk/jdk1.5.0_06

--------------------------------------------------------------------------------

LAMS requires about 117MB of space, continue with installation? (y)es, (n)o: y

Do you wish to install LAMS as a Java Service Wrapper? (y)es, (n)o, (q)uit: y

The installer could not detect a suitable wrapper, please select one from below.
(1) wrapper-linux-x86-32-3.2.3
(2) wrapper-linux-x86-64-3.2.3
(3) wrapper-linux-ppc-64-3.2.3
(n) No wrapper, continue with install
(q) quit
> 2

Using LAMS database with the following parameters...
Database name: lams
Database user: lams
Database password: lamsdemo

Creating LAMS database.
Buildfile: ant-scripts/configure-database.xml
Database Created.

Filling database with LAMS tables

Buildfile: ant-scripts/filter-config.xml
Buildfile: ant-scripts/configure-database.xml
./install-lams.sh: print: not found

Database Created.

Copying lams.ear directory to /home/lams/jboss-4.0.2/server/default/deploy.
cp: /home/lams/jboss-4.0.2/server/default/deploy/lams.ear: Permission denied

Done.

Configuring JBoss with your settings.
Buildfile: ant-scripts/configure-deploy.xml
Install Failed. Problem while copying the jboss-4.0.2 configuration files, check

log/configure-deploy.log for details.
-bash-3.00$


*********************************************************************************

SECOND RUN after changing the permision on JBOSS to testuser

*********************************************************************************



-bash-3.00# JAVA_HOME=/usr/jdk/jdk1.5.0_06
-bash-3.00# export JAVA_HOME
-bash-3.00# ./install-lams.sh
JDK_DIR is valid
MySql host is compatible with LAMS.
JBoss Directory Found

--------------------------------------------------------------------------------

WELCOME to the LAMS 2.0.3 unix Installer!

Please ensure you have read and accepted the license agreement before continuing

Make sure you have correctly configured the lams.properties file to your
preferred settings.

You should read the installation guide before continuing.

JAVA_HOME = /usr/jdk/jdk1.5.0_06

--------------------------------------------------------------------------------

LAMS requires about 117MB of space, continue with installation? (y)es, (n)o: y

Do you wish to install LAMS as a Java Service Wrapper? (y)es, (n)o, (q)uit: y

The installer could not detect a suitable wrapper, please select one from below.
(1) wrapper-linux-x86-32-3.2.3
(2) wrapper-linux-x86-64-3.2.3
(3) wrapper-linux-ppc-64-3.2.3
(n) No wrapper, continue with install
(q) quit
> 2

Using LAMS database with the following parameters...
Database name: lams
Database user: lams
Database password: lamsdemo

Creating LAMS database.
Buildfile: ant-scripts/configure-database.xml
Database Created.

Filling database with LAMS tables

Buildfile: ant-scripts/filter-config.xml
Buildfile: ant-scripts/configure-database.xml
./install-lams.sh: print: not found

Database Created.

Copying lams.ear directory to /home/lams/jboss-4.0.2/server/default/deploy.

Done.

Configuring JBoss with your settings.
Buildfile: ant-scripts/configure-deploy.xml

Configuring the java Wrapper


Installing and configuring Java Service Wrapper: wrapper-linux-x86-64-3.2.3
Buildfile: ant-scripts/configure-deploy.xml
Done.

Copying lams.properties to /etc.


LAMS 2.0.3 Configuration completed!
Please view the README for instructions on how to run LAMS.


***********************************


after having this results i thought im finished with installing LAMS but when i run ./run-lams.sh as testuser ans root user i cant access lams to my browser using

http://myipaddress:8080/lams

what seems to be the problem here?

thanks in advance!!!

Jeff

Posted by Jeffrey Jarin

5: Re: Re: need help on LAMS
In response to 4 10/17/07 11:08 PM
[ Reply | Forward ]
Hi Jeff,

Could you please send me a zip of the jboss-4.0.2/server/default/logs directory? that might shed light on the problem here.

Other than that i would suggest installing without the wrapper, and using the ./run.sh command in the jboss bin dir.

Luke

Posted by Luke Foxton

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