When trying to use Apache Web Server URL for CA Service Desk Manager (CA SDM) 12.9 install on Linux platform, getting an error: "AHD4409 pdmweb is unable to connect with the webengine"

Document ID : KB000048012
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When trying to use Apache Web Server URL for CA Service Desk Manager (CA SDM) 12.9 install on Linux platform, getting an error: "AHD4409 pdmweb is unable to connect with the webengine".

Additional Inforamtion:

  1. Tomcat port based CA SDM access works fine.
  2. Apache Web Server was restarted after running pdm_configure during which Apache Web Server + Tomcat option was chosen.
  3. No concrete errors are showing in the httpd logs.
  4. NX_ROOT/bopcfg/www/web.cfg shows the correct CGI.

    <init-param>
    <param-name>web:local</param-name>
    <param-value>pdmweb.exe</param-value>
    </init-param>

  5. When attempting http://hostname/CAisd/pdmweb_debug.exe, below similar errors in the /tmp/pdmweb_debug.err file appear:

    connect() returns error code: -1
    Could not connect after 10 retry attempts
    Unable to connect: Socket open error - 0 (761)

  6. /var/log/messages show below when restarting HTTPD.

    ServerName kernel: type=1400 audit(1409751712.955:39): avc: denied { search } for pid=31172 comm="httpd" name="servicedesk" dev=dm-2 ino=128535 context=unconfined_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir

Solution:

The error above usually indicates that selinux set to enforcing might be causing the issue.

To resolve the issue, set the Linux system to Permissive by running below commands at the Linux prompt:

# verify current
/usr/sbin/getenforce

# set it to permissive
/usr/sbin/setenforce 0

# verify change
/usr/sbin/getenforce

Restart Apache web server and retry CA SDM over Apache again now.

/etc/init.d/httpd restart