Thursday, April 19, 2012

Hyperic, installing Server on a Linux machine

requires root access if you want to use the internal PostGREs Database:

this script:

must be run as root.

If you are not root, you can try to fool him by doing

touch /tmp/_hq-was-tuned

and hope your system will be fool enough to believe you... do at your own risk!!!

cd /opt/hyperic/server/server-4.6.5-EE/bin/
./ start
cd ../logs/
less bootstrap.log

I find this :o( :

2012-04-22 11:50:20,511 ERROR [main] [] Task "dbupgrade" finished with error.
/opt/hyperic/server/server-4.6.5-EE/data/db-upgrade.xml:43: DBUpgrader: sql error: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

In fact I do

cd /opt/hyperic/installer/bin

and I find

./ line 7: cd: hqdb: No such file or directory
./ line 16: /opt/hyperic/installer/bin/pg_ctl: No such file or directory


Otherwise you must configure the Server to use an external db, such as Oracle

No comments: