Skip to main content

Unable to start Ping Probe by non-root user on AIX


Technote (troubleshooting)


This document applies only to the following language version(s):

English

Problem(Abstract)

Ping probe fails to start when the probe is installed and started by non-root user.

Symptom

The following error is seen in the probe's log:

Error: E-P_P-002-038: Could not change euid: Operation not permitted
Error: E-P_P-002-017: IPv4 socket failed: specified action does not have access permission of the file
Error: E-P_P-002-037: This program can only be run by root, or it must be setuid root.

Cause

Ping probe needs permissions which allow it to run as root and the LIBPATH setting should be changed.

Environment

AIX

Resolving the problem

To enable non-root user to start the probe, you need to change the owner to root and permissions to setuid. And AIX ignores the LIBPATH setting when program runs as setuid root, so you also need to put either a copy of the required libraries, or a symbolic link to the required libraries in one of the trusted paths like /lib or /usr/lib.


1. Change the owner to root and permissions to setuid.
e.g
# cd $OMNIHOME/probes/aix5/
# chown root:root nco_p_ping
# chmod +s nco_p_poing

2. Put a symbolic link to the required libraries.
e.g
# cd /usr/lib

# ln -s /opt/IBM/netcool/platform/aix5/lib/libgsk*
# ln -s /opt/IBM/netcool/platform/aix5/lib/libPa_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libnetcool_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libslclient_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libOpl_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libsybct_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libsybcs_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libsybtcl_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libsybcomn_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libtre.a
# ln -s /opt/IBM/netcool/platform/aix5/lib/libsybintl_r.so
# ln -s /opt/IBM/netcool/platform/aix5/lib/libicuuc40.a
# ln -s /opt/IBM/netcool/platform/aix5/lib/libicui18n40.a
# ln -s /opt/IBM/netcool/platform/aix5/lib/libicudata40.a


Note:
The required libraries can be seen by the following command:
# dump -H $NCHOME/omnibus/platform/aix5/nco_p_ping

Note:
If there are newer modules of the required libraries, it's better to create a symbolic link to the newer module.
e.g
Run
# ln -s /opt/IBM/netcool/platform/aix5/lib/libicui18n40.1.a
rather than,
# ln -s /opt/IBM/netcool/platform/aix5/lib/libicui18n40.a

But, please note that it would be better to create the symbolic links again whenever after you apply Fix pack for OMNibus core.


Cross reference information
Segment Product Component Platform Version Edition
Systems and Asset Management Tivoli Netcool/OMNIbus Ping AIX All Versions

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Netcool/OMNIbus

Ping


Software version:
All Versions


Operating system(s):
AIX


Reference #:
1499280


Modified date:
2013-04-09

Translate my page

Content navigation