Hyperic HQ

Hyperic HQ
官方网站:[url]http://www.hyperic.com/[/url]

1、linux安装:
1.1>安装参见[url]http://support.hyperic.com/display/DOC/Choose+and+Download+an+Installation+Package[/url]
1.2>安装
解压:
tar zxvf hyperic-hq-installer-4.6-x86-64-linux.tar.gz
解压后生成目录:hyperic-hq-installer-4.6
cd hyperic-hq-installer-4.6
./setup.sh

安装过程中会提示:
Initializing Hyperic HQ 4.6 Installation...
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']:
/george/installs/hyperic-hq (安装的路径)
Choices:
1: Yes
2: No
Should we overwrite the existing HQ server installation? [default '2']:
1 (因为我已经安装一次,但是不成功,再安装的时候会提示是否覆盖)
Enter the email address that HQ will use as the sender for email messages [default '[email protected]']:

Enter an encryption key to use to encrypt the database password.:
password
What should the username be for the initial admin user? [default 'hqadmin']:

What should the password be for the initial admin user?:
(again):
What should the email address be for the initial admin user? [default '[email protected]']:


我在安装时报如下错误:
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.

You must run this script as root:
/george/installs/hyperic-hq-installer-4.6/installer/data/hqdb/tune-os.sh
before continuing the installation.
FATAL EXCEPTION at /george/installs/hyperic-hq-installer-4.6/installer/data/setup.xml:510: : The following error occurred while executing this line:
......
/george/installs/hyperic-hq-installer-4.6/installer/data/setup-db-PostgreSQL.xml:224: ^^^ERROR:\
You must run this script as root:
/george/installs/hyperic-hq-installer-4.6/installer/data/hqdb/tune-os.sh
before continuing the installation.
--------------------------------------------------------------------------------
错误分为两类:目录没权限,赋权即可;使用root用户执行调优的脚本tune-os.sh。
错误提示比较明确;

出现如下信息表明安装成功:
Installation Complete:
Server successfully installed to: /george/installs/hyperic-hq/server-4.6
.......
Setup completed.

在安装完成后,查看bootstrap.log日志时,会有[color=red]org.postgresql.util.PSQLException: Cannot change transaction isolation level in the middle of a transaction.[/color]异常。
经查明,该异常为4.6版本的一个bug,可见参hyperic的jira系统:
https://jira.hyperic.com/browse/HHQ-5054
问题出在应用tomcat的jdbc pool的lib的bug。但是不影响HQ的使用,后续HQ会修复这个BUG;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章