VMware Cloud Community
R-Sommer
Enthusiast
Enthusiast

How to install on debian

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

Tags (1)
0 Kudos
10 Replies
R-Sommer
Enthusiast
Enthusiast

Found it myself: Hyperic 5 no longer support MySQL. Therefore, parameter -mysql is obsolete.

0 Kudos
R-Sommer
Enthusiast
Enthusiast

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

0 Kudos
admin
Immortal
Immortal

You need to use Postgres 9.x

0 Kudos
R-Sommer
Enthusiast
Enthusiast

Of course. Therefore, I wrote "to use the built-in database"

0 Kudos
admin
Immortal
Immortal

Sorry, I missed that.. can you attache the installer log file?

0 Kudos
R-Sommer
Enthusiast
Enthusiast

I attached the log files found in /home/hyperic/server-5.0.0/logs

0 Kudos
R-Sommer
Enthusiast
Enthusiast

hmm, looks like it's not a good idea to use Hyperic

0 Kudos
admin
Immortal
Immortal

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.  

0 Kudos
R-Sommer
Enthusiast
Enthusiast

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?

0 Kudos
R-Sommer
Enthusiast
Enthusiast

Ok, found it myself (again): Hyperic 5.0 does not support 32-bit installations with internal database.

0 Kudos