The error indicates that strace could not be executed. Is strace installed? Does the strace binary have the correct access permissions (to allow execution from WHM)?
Please use the following command to check the access permissions of the strace binary that should be included with the OS installation; please provide the output that is displayed:
Code:
# stat /usr/bin/strace
I believe the strace binary may need access permissions mode 0755, as shown in the following line quoted from stat output:
Code:
# stat /usr/bin/strace | egrep "Access.*[U|G]id"
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
If the access permissions mode is not 0755, try using the following command to correct it:
Code:
# chmod -vv 0755 /usr/bin/strace
If the access permissions mode is already correct, the output from chmod may resemble the following:
Code:
# chmod -vv 0755 /usr/bin/strace
mode of `/usr/bin/strace' retained as 0755 (rwxr-xr-x)
If the stat output displayed reports "stat: cannot stat `/usr/bin/strace': No such file or directory" please try installing strace from your OS update repository. The following command can be used to install strace for RHEL and CentOS Linux distributions:
Code:
# /scripts/ensurerpm strace
Please check to verify that strace can be executed directly via root SSH access. The following command can be used to execute strace, while ensuring to replace $PID with the actual process ID (PID) that you need to trace:
As an example, if the process ID (PID) that you wish to trace is "1416" you would use the following command, which is also included within the diagnostic error detail from the opening post in this thread:
To obtain a process ID, try using the following command via root SSH access to list all processes: