Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Unable to install hyperic 4.2.0 on Ubuntu 9.04

$
0
0
Hello,


I'm trying to install hyperic 4.2.0 (open source) on an ubuntu 9.04 server machine. I was a little surprised that the installer refused to run as root, since I figured things would need root permissions. Anyway, ran the installer, everything seemed fine until the very end when it gave me an error about starting the database. I will paste all the output in case some of it helps:

$ ./setup.sh
Please ignore references to missing tools.jar
Initializing Hyperic HQ 4.2.0 Installation...
Loading taskdefs...
Taskdefs loaded
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1
HQ server installation path [default '/home/hyperic']:
/usr/local/hyperic
server.installdir does not exist: /usr/local/hyperic
HQ server installation path [default '/home/hyperic']:
/usr/local/hyperic
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking server JRMP port...
Checking server JNP port...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Unpacking server to: /usr/local/hyperic/server-4.2.0...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server control file...
Copying server binaries...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...

Now login to another terminal as root and execute this script:

    /home/ghost/hyperic-hq-installer/installer-4.2.0/data/hqdb/tune-os.sh

This script sets up the proper shared memory settings to run the
built-in database.

Press Enter after you run the script to continue this installation.


Setting up JDBC driver...
Copying database files...
Configuring database...
Starting repopulation of configuration table...
Waiting for built-in database to start (on port 9432)...
Starting built-in database...
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.

An error occurred trying to start the HQ built-in database.  More
information may be available in the /usr/local/hyperic/server-4.2.0/logs/hqdb.log file.
--------------------------------------------------------------------------------
Waiting for server to stop...
Stopping built-in database...
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/ghost/hyperic-hq-installer/installer-4.2.0/data/setup.xml:434: : The following error occurred while executing this line:
/home/ghost/hyperic-hq-installer/installer-4.2.0/data/setup.xml:440: The following error occurred while executing this line:
/home/ghost/hyperic-hq-installer/installer-4.2.0/data/setup.xml:580: The following error occurred while executing this line:
/home/ghost/hyperic-hq-installer/installer-4.2.0/data/setup-db-PostgreSQL.xml:158: The following error occurred while executing this line:
/home/ghost/hyperic-hq-installer/installer-4.2.0/data/setup-db-PostgreSQL.xml:199: The following error occurred while executing this line:
/usr/local/hyperic/server-4.2.0/data/server.xml:168: exec returned: 127
--------------------------------------------------------------------------------


Looking at the /usr/local/hyperic/server-4.2.0/logs/hqdb.log file, I see one line:
$ more hqdb.log
/usr/local/hyperic/server-4.2.0/bin/db-stop.sh: 12: /usr/local/hyperic/server-4.2.0/hqdb/bin/pg_ctl: not found


That file actually does exist:
ghost@cerebus:/usr/local/hyperic/server-4.2.0/hqdb/bin$ ls -lh pg_ctl
-rwxr-xr-x 1 ghost cvs 39K 2007-11-27 08:03 pg_ctl


Any ideas?

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>