Linux
嘗試安裝 Hyperic 伺服器時出錯
我正在嘗試在 centos 機器上安裝最新版本的 Hyperic (4.6.6) 並收到此錯誤。
> /home/hq/agent-4.6.6/bin/hq-agent.sh start Installing the server... Unpacking server to: /home/hq... Creating server > configuration files... Using "small" installing profile... Copying > binaries and libraries to server installation... Copying server > configuration file... Copying server db-upgrade files... Copying > server libs... Setting up server database... Loading taskdefs... > Taskdefs loaded Loading taskdefs... Taskdefs loaded > -------------------------------------------------------------------------------- An ERROR occurred, the installation cannot continue. FATAL EXCEPTION > at /home/hq/hyperic-hq-installer-4.6.6/installer/data/setup.xml:523: : > The following error occurred while executing this line: > /home/hq/hyperic-hq-installer-4.6.6/installer/data/setup.xml:532: The > following error occurred while executing this line: > /home/hq/hyperic-hq-installer-4.6.6/installer/data/setup.xml:777: The > following error occurred while executing this line: > /home/hq/hyperic-hq-installer-4.6.6/installer/data/setup-db-MySQL.xml:16: > The following error occurred while executing this line: > /home/hq/hyperic-hq-installer-4.6.6/installer/data/setup-db-hibernate.xml:94: > org.hibernate.tool.hbm2x.ExporterException: Errors while performing > Hbm2DDLExporter > -------------------------------------------------------------------------------- Deleting temporary JRE
我已經尋找了數據庫連接,一切都很好。我試圖用Google搜尋,但在任何地方都沒有找到任何幫助。
我知道您可能需要更多資訊,所以請隨時發表評論,我會盡可能更新。
問題出在 Mysql 版本上。
我使用的是 mysql 5.5 版,而 Hyperic 不知何故不支持它。
我嘗試使用 Mysql 版本 5.1 進行安裝,效果非常好。
希望這篇文章能幫助那些試圖解決這個問題的人。