APAR status
Closed as program error.
Error description
wasservice.sh -add command fails on linux RH 9 reporting errors: CWSFU0007E: Errors occurred while adding service [dmgr]. CWSFU0007E: Errors occurred while adding service [nodeagent]. To further debug: For some basic debugging, you can invoke the wasservice.sh with the "WAS_SERVICE_DEBUG" environment variable set to any value. For example: env WAS_SERVICE_DEBUG=1 bin/wasservice.sh -add dmgr -serverName dmgr -profilePath <profile_home> ... The debug revealed: sh: line 1: /sbin/chkconfig: No such file or directory . wasservice.sh depends on the symlink /etc/init.d which is no longer present by default: ln -s /etc/rc.d/init.d /etc/init.d wasservice.sh depends on the chkconfig command which is no longer present by default dnf install chkconfig
Local fix
a. Access the server and elevate to root b. cd /etc c. mv init.d init.d.save d. dnf install chkconfig e. mv -f /etc/init.d.save/* /etc/init.d/.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * * on Linux using the wasservice.sh command * **************************************************************** * PROBLEM DESCRIPTION: wasservice.sh may fail in a hard to * * diagnose way when * * underlying utilities are absent, which * * happens with the * * default package set on RHEL9. * **************************************************************** * RECOMMENDATION: * **************************************************************** Errors invoking distribution-specific commands are not reported as they're encountered.
Problem conclusion
`wasservice.sh -add` now reports more errors and has error- checkign specific to the issues observed in RHEL9 in the error description. Additionally, invalid command-line options are now reported as an error. The fix for this APAR is targeted for inclusion in fix pack 8.5.5.26 and 9.0.5.19. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH57058
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-09-20
Closed date
2024-02-07
Last modified date
2024-02-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
07 February 2024