IBM Support

Troubleshooting "ibmproxy: error while loading shared libraries" that occurs when ibmproxy is started on RHEL 5.0 zSeries

Troubleshooting


Problem

On Red Hat Enterprise Linux (RHEL) 5.0 zLinux platform, ibmproxy (Websphere Caching Proxy process) fails to start and gives the following error. # ibmproxy ibmproxy: error while loading shared libraries: /usr/lib/libicudata.so.24: cannot restore segment prot after reloc: Permission denied

Symptom

ibmproxy fails to start

Cause

Security Enhanced Linux (SELinux) environment on RHEL 5.0 blocks certain shared object files from being accessed by enforcing "allow_execmod=on". /usr/lib/libicudata.so.24 is a shared object used by the ibmproxy.

Environment

Red Hat Enterprise Linux (RHEL) 5.0 zSeries

Resolving The Problem


To resolve the problem, follow either of the options given below.

1. Run the command: "chcon -t textrel_shlib_t /usr/lib/libicudata.so.24".

This command changes the security context of the file /usr/lib/libicudata.so.24. Here /usr/lib/libicudata.so.24 is labelled textrel_shlib_t. This label tells the kernel to allow the library to load.

Then try running the ibmproxy by issuing the "ibmproxy" command.

# ibmproxy

[00000001/1233745445]: EventLog.... [04/Feb/2009:16:04:05 +0500] Edge Components Caching Proxy

[00000001/1233745445]: EventLog.... [04/Feb/2009:16:04:05 +0500] Version: 6.1 .

[00000001/1233745445]: EventLog.... [04/Feb/2009:16:04:05 +0500] The proxy is using a memory cache.

2. Disable SELinux.

To disable SELinux, see the Red Hat Enterprise Linux Deployment Guide..

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Edge Component","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.0;6.1;6.0;5.1","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

Websphere Caching Proxy

Document Information

Modified date:
15 June 2018

UID

swg21369929