我试图在 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
我已经在寻找数据库连接,一切都很好。我试图谷歌搜索,但没有在任何地方找到任何帮助。
我知道您可能需要更多信息,所以请随时发表评论,我会尽我所能进行更新。
问题出在 Mysql 版本上。
我使用的是 mysql 5.5 版,而 Hyperic 不知何故不支持它。
我尝试使用 Mysql 5.1 版进行安装,效果非常好。
希望这篇文章能帮助那些试图为此找到解决方案的人。