Error under installation

thumbnail
Gianmaria Gai, modified 12 Years ago.

Error under installation

Padawan Posts: 26 Join Date: 4/5/12 Recent Posts
Hi,
I'm installing the application via console.
On the last step of the scrit I see:

Starting process Clearing target directory (1/4)
Starting process Clearing work directory (2/4)
Starting process Starting Tomcat (3/4)
Starting process Launching Browser (4/4)
java.lang.Exception: [firefox, google-chrome, opera, konqueror, epiphany, seamonkey, galeon, kazehakase, mozilla]
Install was successful
application installed on /usr/local/klaros

Is the installation ok or not?

Thanks.
thumbnail
Torsten Stolpmann, modified 12 Years ago.

RE: Error under installation

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
You have selected the start browser option (this should best be not here in console mode anyway - the installer framework does not allow to properly detect console mode) and none of the browsers listed could be found.

Your Installation should be ok.

Regards,

Torsten
thumbnail
Gianmaria Gai, modified 12 Years ago.

RE: Error under installation

Padawan Posts: 26 Join Date: 4/5/12 Recent Posts
Ok thanks,
following your guide:

http://HOST:HTTP-Port/klaros-web/ --> for me http://XXX.XX.X.XX:18080/klaros-web/

doesn't work. I have installed the application under /usr/local/klaros and the proces seem to be ok.

00:01:23 /usr/local/java/bin/java -Djava.util.logging.config.file=/usr/local/klaros/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/local/klaros/endorsed -classpath /root/.klaros/resources:/usr/local/klaros/bin/bootstrap.jar -Dcatalina.base=/usr/local/klaros -Dcatalina.home=/usr/local/klaros -Djava.io.tmpdir=/usr/local/klaros/temp -XX:MaxPermSize=192m -Xms256m -Xmx512m org.apache.catalina.startup.Bootstrap start

Any idea?
thumbnail
Torsten Stolpmann, modified 12 Years ago.

RE: Error under installation

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Did you have a look at /usr/local/klaros/logs/catalina.out?

Please make sure that you have a dedicated user account for the application (not root).

Hope this helps,

Torsten
thumbnail
Gianmaria Gai, modified 12 Years ago.

RE: Error under installation

Padawan Posts: 26 Join Date: 4/5/12 Recent Posts
Installing with a simple user (not root)

[ ERROR: /usr/local/klaros/LICENSE (Permission denied) ]
java.io.FileNotFoundException: /usr/local/klaros/LICENSE (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at com.izforge.izpack.installer.Unpacker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
thumbnail
Torsten Stolpmann, modified 12 Years ago.

RE: Error under installation

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Seems your user account is missing write permissions to /usr/local/klaros/

The installer needs write permissions to the target directory
When being run the klaros application needs write permissions to <user home>/.klaros

To make things easy you should use the same account for installing and executing the application. It is advised but not required to create a dedicated account for this so you may have your init-script under that user.

Hope this helps,

Torsten
thumbnail
Gianmaria Gai, modified 12 Years ago.

RE: Error under installation

Padawan Posts: 26 Join Date: 4/5/12 Recent Posts
Installation done but after that the service is not up.
thumbnail
Torsten Stolpmann, modified 12 Years ago.

RE: Error under installation

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
The application server startup script is <install_dir>/bin/catalina.sh, please refer to the service installation documentation for the command line: http://www.klaros-testmanagement.com/files/doc/html/User-Manual.Installation.installAsService.html to start the service.

Regards,

Torsten
thumbnail
Gianmaria Gai, modified 12 Years ago.

RE: Error under installation

Padawan Posts: 26 Join Date: 4/5/12 Recent Posts
Installation DONE.
Thanks.
Just a quick note on the guide:

3.7.1 Installing Klaros-Testmanagement as a Linux service

/bin/su - $KLAROS_USER -c "$KLAROS_PATH/bin/catalina.sh $@ >/var/tmp/klaros.log 2>&1"

insted of

/bin/su -- -"${KLAROS_USER}" --c -"${KLAROS_PATH}/bin/catalina.sh $@ >/var/tmp/klaros.log 2>&1"

Regards
thumbnail
Torsten Stolpmann, modified 12 Years ago.

RE: Error under installation

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Thanks for spotting!

This seems to be a bug in the DocBook PDF generation, the HTML documentation has been generated as intended.

Cheers,

Torsten