Linux WP core dumps when hostname= is set to very long name
search cancel

Linux WP core dumps when hostname= is set to very long name

book

Article ID: 261095

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

When a WP on linux has the hostname= setting in ucsrv.ini set to a very long name, the WP core dumps instead of throwing an error message.

Example:

1) on a Linux AE system, update ucsrv.ini to have a very long hostName= setting, for example: 
   hostName=this-is-a-very-long-fully-qualified-domain-name-and-will-cause-a-core-dump-.domain.com
   
2) Start a WP: nohup $PWD/ucsrvwp &

Expected behavior:
In a case where the long hostName string is valid, WP starts up

Actual behavior:
Process ends with:
[1]+  Aborted                 (core dumped) nohup $PWD/ucsrvwp  (wd: /usr/automic/ae/bin)

 

Log is created, but simply ends with:
20221111/160307.035 -          AUTOMIC#WP005  WP   0 16f455a682a9                0 2022-11-11 15:43:03 2022-11-11 16:02:59
20221111/160307.035 -          AUTOMIC#WP006  WP   0 16f455a682a9                0 2022-11-11 15:43:04 2022-11-11 16:02:59
20221111/160307.035 -  
20221111/160307.037 - U00004000 Zero Downtime Information: component 'WP', base MQSet='1', active MQSet='1', own MQSet='1'.
20221111/160307.039 - U00003488 Server 'WP' was started as instance '7'.
 


Environment

Release : 12.3.3

Resolution

This is a defect that will be fixed with the release of 21.0.6, expected release is sometime in summer of 2023.