Error when adding clients on Auto Discovery:
Unable to import platform : org.hyperic.hq.common.SystemException: org.hyperic.hq.common.SystemException: Unable to find PlatformType [Win32]
Solution:
Looks like an issue with spaces in the server install path -- re-locating my server-4.5 directory enabled the server to actually complete its deployment process (without spitting stack traces to the log), and the eam_platform_type table (and others) to be populated with initial data.
Here's what I did to re-locate the server, assuming it's installed to the default "C:\Program Files\server-4.5":
1. Open a command prompt.
2. In the command prompt, run: "C:\Program Files\server-4.5\bin\hq-server" stop
(adjust path as required)
3. Run: "C:\Program Files\server-4.5\bin\hq-server" remove
4. Relocate the server-4.5 directory, eg. to C:\Hyperic\server-4.5
5. [Back] in the command prompt, run: "C:\Hyperic\server-4.5\bin\hq-server" install
6. Finally, run: "C:\Hyperic\server-4.5\bin\hq-server" start
... and hold your breath...
You may also want to relocate the agent as well, just to be safe... process follows as above
Unable to import platform : org.hyperic.hq.common.SystemException: org.hyperic.hq.common.SystemException: Unable to find PlatformType [Win32]
Solution:
Looks like an issue with spaces in the server install path -- re-locating my server-4.5 directory enabled the server to actually complete its deployment process (without spitting stack traces to the log), and the eam_platform_type table (and others) to be populated with initial data.
Here's what I did to re-locate the server, assuming it's installed to the default "C:\Program Files\server-4.5":
1. Open a command prompt.
2. In the command prompt, run: "C:\Program Files\server-4.5\bin\hq-server" stop
(adjust path as required)
3. Run: "C:\Program Files\server-4.5\bin\hq-server" remove
4. Relocate the server-4.5 directory, eg. to C:\Hyperic\server-4.5
5. [Back] in the command prompt, run: "C:\Hyperic\server-4.5\bin\hq-server" install
6. Finally, run: "C:\Hyperic\server-4.5\bin\hq-server" start
... and hold your breath...
You may also want to relocate the agent as well, just to be safe... process follows as above
No comments:
Post a Comment