Page 1 of 1
Msg: An error occurred configuring Web applications
Posted: Wed Aug 30, 2006 8:13 am
by hm2k
I'm trying to install Scalix and I get the following error:
Fatal error occured: Msg: An error occurred configuring Web applications -- check the log for errors.
Everything seems to install just perfect, then it fails on that part.
Any ideas why this is, and how to fix it?
Thanks.
Posted: Wed Aug 30, 2006 8:36 am
by jim mullady
This is somtimes indicative of a license issue, also is this a new installation or are you installing over another version? It could be failing on the creation of the sxqueryadmin user.
Posted: Wed Aug 30, 2006 2:51 pm
by hm2k
jim mullady wrote:This is somtimes indicative of a license issue, also is this a new installation or are you installing over another version? It could be failing on the creation of the sxqueryadmin user.
indicative of a license issue?
I'm trying out scalix on a VPS, it didn't install correctly a few times, I thought I finally had it working, but it didn't work, so I uninstalled it and tried to reinstall it.
So that would make this a fresh install right?
Re: same issue
Posted: Fri Sep 01, 2006 10:17 am
by hm2k
sbyrne wrote:Hi.
I have the same problem as mentioned earlier. The log indicates this:
2006-08-31 07:57:26,807 WARNING Could not determine PostgreSQL whitelist, OK.
2006-08-31 07:57:30,851 INFO Configuring PostgreSQL...
2006-08-31 07:57:52,182 ERROR Operation failed: Failed to initialize the PostgreSQL database.
Any reason why it would have failed to initialize?
Why has this guy hijacked my thread?
Please can someone deal with the original issue.
My logs do NOT mention anything about PostgreSQL, at least I don't think so.
Which log file did you find this in?
I'm using Fedora 4.
Thanks.
Posted: Fri Sep 01, 2006 10:18 am
by dkelly
Done.
Cheers
Dave
Posted: Fri Sep 01, 2006 10:22 am
by dkelly
Looking at the remaining posts in this thread, you don't seem to have given us any hard information to work from.
What was in the installer logs as the error suggests ?
Cheers
Dave
Posted: Fri Sep 01, 2006 10:22 am
by dkelly
You also do not indicate what version of the software you are trying to install or on what platform.
Cheers
Dave
Posted: Fri Sep 01, 2006 10:54 am
by hm2k
dkelly wrote:You also do not indicate what version of the software you are trying to install or on what platform.
Cheers
Dave
Linux scalix.[host[.com 2.6.8-022stab078.14-smp #1 SMP Wed Jul 19 16:13:15 MSD 2006 i686 i686 i386 GNU/Linux
Its Fedora FC4, trying to install scalix-core-intel-redhat-10.0.1
Here is the tail of my log file:
Code: Select all
[root@scalix log]# tail scalix-installer-20060830.log
2006-08-30 04:31:41,582 CRITICAL Operation failed: Couldn't determine the version of Java installed in /usr/java/jre1.5.0_04.
The output of java -version command is included below:
2006-08-30 04:31:41,582 ERROR Operation failed: Aborting web apps configuration
2006-08-30 22:48:52,011 INFO Initializing Scalix Installer version 10.0.1.24
2006-08-30 22:48:52,242 INFO Platform is: Fedora Core release 4 (Stentz) on i386 : supported.
2006-08-30 22:48:52,243 INFO Starting Scalix Installer in CLI mode
2006-08-30 22:48:52,510 INFO Current locale is and default is
2006-08-30 22:48:54,541 INFO Packages installed: {'scalix-sac': ['10.0.1.21', '10145071', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-res': ['10.0.1.21', '1900034', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-server': ['10.0.1.3', '69103710', 'i386', 'linux', '1.fc4', 'FC4', '(none)'], 'scalix-swa': ['10.0.1.6', '3722305', 'noarch', 'linux', '1', '(none)', '(none)']}
2006-08-30 22:48:59,098 INFO Obsolete packages installed: {}
2006-08-31 02:02:49,999 CRITICAL Uncaught exception: [Errno 5] Input/output error
Hope this helps.
Posted: Sat Sep 02, 2006 5:30 am
by florian
Hi,
please disregard all talk about Postgres on this thread - this is indicative of a Scalix 11 Community Preview and should be discussed in the forum dedicated to the topic; Postgres is not used at all in Scalix 10.
What I read from here is Java and I also see VPS; Scalix installation is not supported or tested on a VPS system, so this might be causing problems here. Eventually you might need to install manually on such a system; for this, check out the Scalix Wiki at wiki.scalix.com and manual CE/Raw installation instructions for detail. Again, this won't result in a supported configuration though it should technically work.
Having said this, could you simply try to execute something like
Code: Select all
/usr/java/jre1.5.0_04/bin/java -version
and see if your Java JVM get's executed? If not, you'll have to fix your system and Java.
you might also want to run scalix-installer with the --debug switch; the logfile will then contain more information.
Cheers,
Florian.
[/code]
Posted: Thu Sep 21, 2006 9:07 am
by hm2k
I've tried reinstalling, more disk space, more ram, etc doesn't seem to work..
Code: Select all
-bash-3.00# /usr/java/jre1.5.0_06/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Any ideas?
Posted: Wed Sep 27, 2006 8:05 pm
by hm2k
I've tried everything now still getting the error:
Code: Select all
2006-09-27 23:34:03,406 INFO Installing Tomcat: succeeded
2006-09-27 23:34:12,004 CRITICAL Operation failed: Couldn't determine the version of Java installed in /usr/java/jre1.5.0_06.
The output of java -version command is included below:
2006-09-27 23:34:12,007 ERROR Operation failed: Aborting web apps configuration
Posted: Wed Sep 27, 2006 10:40 pm
by florian
hm2k wrote:I've tried reinstalling, more disk space, more ram, etc doesn't seem to work..
Code: Select all
-bash-3.00# /usr/java/jre1.5.0_06/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Any ideas?
This is your root cause. Your Java installation is broken. Again, I don't know about VPS and Java, but something does not seemto work there. This is a problem of this system and Java, it is not Scalix specific. I think you should probably look in common Java forums for problems of Java in such environments....
cheers,
Florian.
Posted: Thu Nov 30, 2006 3:05 am
by donniesd
hm2k wrote:I've tried reinstalling, more disk space, more ram, etc doesn't seem to work..
Code: Select all
-bash-3.00# /usr/java/jre1.5.0_06/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Any ideas?
Your vps does not have enough memory. While playing around, i was about to get java to work with atleast 256meg of memory.
Run from root
/usr/java/VERSION HERE/bin/java -Xms64m -Xmx256m -version