Skip to main content
Delphix

Resolving "Command 'lsnrctl status' existed with a non-zero exit code" Warning (KBA1443)

 

 

KBA

KBA# 1443

Note

Note:

This issue has been fixed in version 5.1.

Applicable Delphix Versions

This article applies to the following versions of the Delphix Engine:

Major Release

All Sub Releases

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1 ,5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

4.3

4.3.1.0, 4.3.2.0, 4.3.2.1, 4.3.3.0, 4.3.4.0, 4.3.4.1, 4.3.5.0

4.2

4.2.0.0, 4.2.0.3, 4.2.1.0, 4.2.1.1, 4.2.2.0, 4.2.2.1, 4.2.3.0, 4.2.4.0 , 4.2.5.0, 4.2.5.1

Issue

Received the following warning:

WARNING

Nov 09, 2016 1:55 AM

myVDB

Title: Command exited with a non-zero status

Details: Command 'lsnrctl status' exited with a non-zero exit code:

User Action: Check the exit status of the command when run by the Delphix OS user.

Troubleshooting 

Verify that the .bashrc file is correctly configured as this warning can be a false positive in versions older than 5.1.x. If it is correctly configured, then verify if you can manually run 'lsnrctl status', it is safe to mark the faults as "Ignore" and they will not then recur for the same object. Note: this will have to be done on each object that throws the error. If it will not run normally on the command line manually, troubleshoot as a normal Oracle configuration issue.

Resolution

Make sure that when logged on as the delphix_os account 'lsnrctl status'  the following to the .bash_profile is added correctly:

ORACLE_SID=<sid>;export ORACLE_SID

ORAENV_ASK=NO;export ORAENV_ASK

. oraenv

If this is done then the fault can be ignored; do not mark as 'Resolved' as every time the Universal Environment Monitor (UEM) runs the error will return. 

A full resolution for this issue is available in 5.1.
To discontinue getting this error either mark as 'Ignore' or upgrade to Delphix Engine v5.1.

 

Related Articles

  • Was this article helpful?