tibhawkhma works on Solaris 11.4.3.5.0(SRU 3.5.0) and above

tibhawkhma works on Solaris 11.4.3.5.0(SRU 3.5.0) and above

book

Article ID: KB0078030

calendar_today

Updated On:

Products Versions
TIBCO Hawk 6.1, 6.0, 5.2, 5.1, 4.9

Description

On Solaris platform, Process:getProcess() Hawk method from tibhawkhma relies on ioctl() to retrieve process information from OS level, but this method is no longer available from Solaris 11.4 as mentioned in End of Features (EOF) for Oracle Solaris 11.4.
https://www.oracle.com/technetwork/systems/end-of-notices/eonsolaris11-392732.html
---------------------------------------------------------------
ioctl-based /proc Interface
Support for the old ioctl-based version of the /proc interface is no longer available. If your application code uses the old interface, update the code to use the structured /proc interface that was introduced in Oracle Solaris 2.6 (1997). For more information, see the proc(4) man page.
----------------------------------------------------------------

This will result in Process:getProcess() not returning any process information, and also will result in application status unknown from tibco administrator GUI for the machine running on Solaris 11.4 GA version(Oracle Solaris 11.4.0.0.1.15.0) without any SRU installed.

Following errors will occur in Hawk_Process.log if debug trace of tibhawkhma is enabled:
-----------------------------------------------------------------
DEBUG 05/29/2019 15:10:54 Function ioctl(PIOCSTATUS) failed for file /proc/0. OS error 25: Inappropriate ioctl for device.
DEBUG 05/29/2019 15:10:54 Function ioctl(PIOCSTATUS) failed for file /proc/5. OS error 25: Inappropriate ioctl for device.
DEBUG 05/29/2019 15:10:54 Function ioctl(PIOCSTATUS) failed for file /proc/6. OS error 25: Inappropriate ioctl for device.
-----------------------------------------------------------------

Oracle has a defect to reintroduce the ioctls(which was dropped in Solaris 11.4 GA version). Please refer to the defect below.
-----------------------------------------------------------------
Bug 28489119 : Reintroduce selected procfs ioctls for Solaris 11.4
-----------------------------------------------------------------

Here is the link for the defect, but it requires Oracle account to access it.
https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=289081833787944&id=28489119&_afrWindowMode=0&_adf.ctrl-state=hs8uw1own_495

Please refer to the screen shot attached for the same.


This defect has been fixed in Oracle Solaris 11.4 SRU 3.5.0, and please refer to the readme file of Oracle Solaris 11.4 SRU 3.5.0(click link below which requires Oracle account) and find it from the fixed bug list. Please refer to the attached screen shot.
-----------------------------------------------------------------
Oracle Solaris 11.4.3.5.0 Support Repository Update (Oracle Solaris 11.4 SRU 3.5.0) (Doc ID 2472200.1)
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=288876942702849&id=2472200.1&displayIndex=16&_afrWindowMode=0&_adf.ctrl-state=hs8uw1own_446#aref_section18
-----------------------------------------------------------------

Issue/Introduction

tibhawkhma works on Solaris 11.4.3.5.0(SRU 3.5.0) and above

Environment

Solaris 11.4 Sparc and x86

Resolution

Install Solaris 11.4 SRU 3.5.0 or above to make tibhawkhma work on Solaris 11.4.

Additional Information

Solaris 11.4, ioctl, Function ioctl(PIOCSTATUS) failed for file /proc/0. OS error 25: Inappropriate ioctl for device, ioctl(), ioctl-based /proc Interface

Attachments

tibhawkhma works on Solaris 11.4.3.5.0(SRU 3.5.0) and above get_app
tibhawkhma works on Solaris 11.4.3.5.0(SRU 3.5.0) and above get_app