000028197 - B-1152 - Unable to enable Oracle listener through UI - "script failed return code 1"

Document created by RSA Customer Support Employee on Jun 15, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028197
Applies ToAffected Versions: 3.6.X
IssueAttempting to disable/enable the Oracle listener through the UI fails
CauseThe error is because the web user from the Aveksa UI does not have permission to run the scripts that enable/disable the listener.
ResolutionTo resolve this follow these steps:

1. Become root

2. Run "visudo" (from any directory)

3. Add the following 2 lines BEFORE the "root ALL=(ALL) ALL

ADMINS ALL=(root) NOPASSWD:/usr/bin/oraclelistenerstop.sh *

ADMINS ALL=(root) NOPASSWD:/usr/bin/oraclelistenerstart.sh *

4. Save the file

5. Test the enable/disable functionality