[Stack Guard Vulnerability in Red Hat Enterprise Linux 7]
Yesterday I came across incident where the agent did not start as the “emctl” command got failed with a new error message. This happened after recent Infrastructure Maintenance Activity where OS patching was scheduled by our Infrastructure team on all servers. The host on which this issue occur had OS Version RHEL 7 “Red Hat Enterprise Linux Server release 7.3 (Maipo)”.
So all emctl commands whether it was “emctl start agent”, “agent stop agent” even “emctl help” failed. The error returned was “agent_188.8.131.52.0/perl/bin/perl: Argument list too long”. Check the screenshot below explains the entire scenario.
ERROR Message:- “agent_184.108.40.206.0/perl/bin/perl: Argument list too long”
Cause:- Why are applications failing to start with error message “Argument list too long” after applying the fix for Stack Guard Vulnerability in Red Hat Enterprise Linux 7 ?
Solution:- Change the commonenv file found in agent_220.127.116.11.0/bin to hash out this line
After making this change the issue got fixed and emctl command was running successfully without any issue.