We are able to run dbstatistics as root but not as autosys.
This is the error message we see:
dbstatistics: Running dbstatistics at: Wed Aug 2 03:30:18 2017
CAUAJM_E_90010 Unable to load libtx_local <Permission denied>.
CAUAJM_E_50033 Error initializing tx subsystem: CAUAJM_E_10006 Unable to load libtx_local.
These are the libxtx files we see in $AUTOSYS/lib
-r-xr-xr-x 1 autosys autosys 950355 Sep 23 2016 libtx_api.so*
-r-xr-xr-x 1 autosys autosys 194754 Sep 23 2016 libtx_local.so*
-r-xr-xr-x 1 autosys autosys 524861 Sep 23 2016 libtx_remote.so*
Confirm that all the library files in $AUTOSYS/lib are owned by autosys and have privileges set so that autosys can read and execute them.
Example of something that could cause the errors:
-r-xr-x--- 1 root system 18643023 Jul 02 09:36 libsafe12.so*
To correct the issue:
AS ROOT run the following:
chown autosys:autosys libsafe*
That would result in the file looking like the following:
-r-xr-x--- 1 autosys autosys 18643023 Jul 02 09:36 libsafe12.so*