尝试安装 Hyperic 服务器时出错

尝试安装 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 搜索,但没有找到任何帮助。

我知道您可能需要更多信息,因此请随意发表评论,我会尽可能进行更新。

答案1

问题出在 Mysql 版本上。

我使用的是 mysql 5.5 版本,但 Hyperic 不知为何不支持它。

我尝试使用 Mysql 5.1 版本进行安装,并且效果很好。

希望这篇文章能够帮助那些正在努力寻找解决方案的人。

相关内容