Hi,
I'm trying to install Hyperic open source on debian and this message is shown:
=========================================================================
Installer Started
Current Date/Time: Thu May 02 15:53:51 CEST 2013
=========================================================================
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 5.0.0 Installation...
Checking for existence of install configuration file (-mode)
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
The specified Hyperic HQ install configuration file does not exist:
-mode
Make sure that the setup property is set to the correct file and
try running the installer again.
--------------------------------------------------------------------------------
It lookes like invoking setup.sh with "-mode" is wrong. I also tried "-mysql" but the same error occurs.
Did I download the wrong package? hyperic-hq-installer-noJRE-tar-5.0.0.tar.gz
Should I use V4.6.6 instead?
Any help appreciated
Roland
Found it myself: Hyperic 5 no longer support MySQL. Therefore, parameter -mysql is obsolete.
As Debian only provides postgreSQL 8.4, I changed the installation archive to hyperic-hq-installer-x86-linux-5.0.0.tar.gz (to use the built-in database).
However, I got this error message (found in /home/hyperic/server-5.0.0/logs/hqdb-2013-05-03.log):
...
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "qrtz_triggers_pkey" for table "qrtz_triggers"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "qrtz_trigger_listeners_pkey" for table "qrtz_trigger_listeners"
ERROR: syntax error at or near "not" at character 17
STATEMENT: create table if not exists EAM_ENCRYPTION_KEYS (encryption_key varchar(2000) not null, creation_date timestamp primary key default now())
Any ideas?
TIA
Roland
You need to use Postgres 9.x
Of course. Therefore, I wrote "to use the built-in database"
Sorry, I missed that.. can you attache the installer log file?
hmm, looks like it's not a good idea to use Hyperic
I am sorry for not replying, I didn't see that you attached the logs and only after your last comment I got a mail notification.
Going over the logs it seems that you have permission issues with the Hyperic folder, my suggestion is -
Check if this file exists - /tmp/_hq_was_tuned, if so, delete it.
Make sure that the user you are installing Hyperic with has full permissions for the folder you are installing the server into.
Run the installer, at a certain point it will stop and ask you to run a script as root, run the script and only then resume the installation.
I restarted from scratch:
ls -lR /home
drwxr-xr-x 3 hyperic hyperic 4096 Aug 23 04:30 hyperic
/tmp/_hq_was_tuned does not exist
Result: Exactly the same error "CREATE TABLE ..."
to me it lookes like the setup scripts contains a bug, which tries to create a table with wrong parameters. Any ideas?
Ok, found it myself (again): Hyperic 5.0 does not support 32-bit installations with internal database.