CentOS 5 INstall error Java but java is installed [SOLVED}

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

skenigma
Posts: 22
Joined: Mon Nov 12, 2007 12:55 pm
Location: Spokane, WA
Contact:

CentOS 5 INstall error Java but java is installed [SOLVED}

Postby skenigma » Fri Sep 12, 2008 1:29 pm

ok I am dying here, I am trying to install sacalix on my Virtual dedicated @ godaddy,

this server has everything that I know of that is should need and runs on CentOS 5.

Everytime I try and install it gets to "Configuring Web applications..." and fails.

here is the Install message

Code: Select all

Configuring Web applications...
Fatal error occured: Msg: An error occurred configuring Web applications -- check the log for errors.
Scalix Installer - cleaning up...
Scalix Installer - done.


here is the tail end of the log

Code: Select all

2008-09-12 10:10:29,277 INFO Found package jre-1_5_0_13-linux-i586.rpm in directory /root/scalix-11.4.1-U1-GA/third_party/jre/i386
2008-09-12 10:10:29,277 INFO Found package jre-1_5_0_*-linux-i586.rpm in /root/scalix-11.4.1-U1-GA/third_party/jre/i386/jre-1_5_0_13-linux-i586.rpm
2008-09-12 10:10:29,630 INFO Found installed JRE version '1.5.0_13-fcs'
2008-09-12 10:10:31,820 INFO JRE is up to date
2008-09-12 10:10:33,485 INFO Setting JAVA_HOME environment variable to
2008-09-12 10:10:42,657 WARNING Could not determine PostgreSQL whitelist, OK.
2008-09-12 10:12:29,430 INFO Configuring PostgreSQL...
2008-09-12 10:13:40,473 CRITICAL Operation failed: Couldn't determine the version of Java installed in .
The output of java -version command is included below:
2008-09-12 10:13:40,473 ERROR Operation failed: Aborting web apps configuration


now here is the kicker,

Code: Select all

# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


as you can see java IS installed. What am I missing???
Last edited by skenigma on Fri Sep 12, 2008 7:01 pm, edited 1 time in total.
Comptia Linux + Certified

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Postby ltward » Fri Sep 12, 2008 1:52 pm

2008-09-12 10:10:33,485 INFO Setting JAVA_HOME environment variable to
<...>
2008-09-12 10:13:40,473 CRITICAL Operation failed: Couldn't determine the version of Java installed in .


For some reason the JAVA_HOME is not getting set.
You can try editing /etc/opt/scalix-tomcat/scalix-tomcat.conf:

# The directory where Java is installed:
JAVA_HOME="/usr/java/jre1.5.0_13"


That may help but I'd still be concerned about why the variable is not getting set in the first place.

skenigma
Posts: 22
Joined: Mon Nov 12, 2007 12:55 pm
Location: Spokane, WA
Contact:

[SOLVED]

Postby skenigma » Fri Sep 12, 2008 7:00 pm

I solved this, had to add to the /etc/bashrc file,the following three lines

Code: Select all

export JAVA_HOME=/usr/java/jre1.5.0_13/
export PATH=$PATH:/usr/java/jre1.5.0_13/bin
export _JAVA_OPTIONS="-Xms20m -Xmx64m"



It is a VPS issue with Java
Comptia Linux + Certified


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests