VMware Cloud Community
George0211
Contributor
Contributor

Install problem on Solaris 10

Hi,

I'm trying to install hyperic on Solaris 10 and it keeps failing on the server installation with
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:401: : The following error occurred while executing this line:
/Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:407: The following error occurred while executing this line:
/Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:531: The following error occurred while executing this line:
/Documents/hyperic-hq-installer/installer-4.0.3/data/setup-db-MySQL.xml:16: The following error occurred while executing this line:
/Documents/hyperic-hq-installer/installer-4.0.3/data/setup-db-hibernate.xml:193: Errors while performing <hbm2ddl>


I can't seem to find any info on this.

Please help.

Thank you
Reply
0 Kudos
11 Replies
excowboy
Virtuoso
Virtuoso

Hi,

are you using an Oracle database ?

http://communities.vmware.com/message/1933974#1933974

HQ 4.1 Beta is available, so maybe you can give it a try and see if it solves your problem.

Cheers,
Mirko
Reply
0 Kudos
George0211
Contributor
Contributor

No, I'm using MySQL
Reply
0 Kudos
jvalkeal_hyperi

Is mysql installed to solaris? And if it is, how did you configure it? Are you able to log in to db from command line? And was this x86 or sparc?
Reply
0 Kudos
dhustace
Contributor
Contributor



On Mar 2, 2009, at 9:31 PM, George0211 wrote:

I can't seem to find any info on this.

Taking a shot in the dark on this one, but is it the old Solaris tar vs. GNU tar problem?  If the Hyperic install script is using tar, change it to use GNU tar (gtar on Solaris 10) and see if that helps.

David Hustace
The OpenNMS Group, Inc.


Reply
0 Kudos
George0211
Contributor
Contributor

I apologize, I should have included more info in the first message.

This is x86, MySQL is installed, it's actually being used for other purposes as well, and yes I can log into it from command line.
Reply
0 Kudos
jvalkeal_hyperi

Then you need to check how far your installation got. When I installed hq to solaris x86 using mysql(version is 5) I only needed to add user:

mysql> create user 'hqadmin'@'localhost' identified by 'secret';
mysql> create database HQ;
mysql> grant all on HQ.* to 'hqadmin'@'localhost';

I used default jdbc settings
Enter the JDBC connection URL for the MySQL 5.x database [default 'jdbc:mysql://localhost:3306/HQ']:

Check these settings. Was those error snippets from hq-install.log file?
Reply
0 Kudos
toddrader
Contributor
Contributor

You probably know this already, but hbm2ddl is the Hibernate task that
creates your database schema. This can fail for a limited number of
reasons. The task looks something like this:

<hbm2ddl
destdir="${build.dir}/sql"
outputFileName="hibernate.sql"
drop="false"
create="true"
update="false"
format="true"
console="false"
export="true"
delimiter=";"
haltonerror="true"
/>

As you can see, this can fail if the user doesn't have create permission
on the database (check username and password in
server/default/deploy/hq-ds.xml against the grant permissions for the
database, and in general make sure the hq-ds.xml entries look right) or
perhaps even if the user doesn't have write permissions on the output
file directory, or on the destdir directory.


George0211 wrote:
> Hi,
>
> I'm trying to install hyperic on Solaris 10 and it keeps failing on the server installation with
> An ERROR occurred, the installation cannot continue.
> FATAL EXCEPTION at /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:401: : The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:407: The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup.xml:531: The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup-db-MySQL.xml:16: The following error occurred while executing this line:
> /Documents/hyperic-hq-installer/installer-4.0.3/data/setup-db-hibernate.xml:193: Errors while performing <hbm2ddl>
>
>
> I can't seem to find any info on this.
>
> Please help.
>
> Thank you

Reply
0 Kudos
dhustace
Contributor
Contributor

Taking a shot in the dark on this one, but is it the old Solaris tar vs. GNU tar problem? If the Hyperic install script is using tar, change it to use GNU tar (gtar on Solaris 10) and see if that helps.
Reply
0 Kudos
admin
Immortal
Immortal

That is very sound advice, David. It's certainly come up a number of
times in the past in the forums, I would be surprised if we don't
already have that in the documentation. Let me check on that.

Charles


Reply
0 Kudos
George0211
Contributor
Contributor

I checked the permissions, that was actually the 1st thing I checked. Just for testing and to get this installed, I gave that user all permissions.
Also, I checked hq-ds.xml file and the entries in there are correct.

Any other suggestions, guys?
Reply
0 Kudos
MadMe
Contributor
Contributor

Without the gnu TAR it isn't even possible to extract 1 bit of the tgz files.
So that was not the problem i guess.
Reply
0 Kudos