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;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章