Skip to content

Control-M/EM Job submission aborted due to error in executing ‘/bin/su’

Introduction:

When launching jobs you may have this kind of issue

job submission aborted due to error in executing ‘/bin/su’

The purpose of this post is to resolve it and to explain why you can get this issue

We created a job with user controlm to execute a basic command:

When it was ordered and submitted the issue occurred:

As the ouput explains it , there is an issue

Explanation :

It is not possible to write sysout in the appropriate folder

Seems that the directory is not reachable by the user

Agent is giving us the path where the permission is needed.

If we take a look on our server we can find out that the agents directory (named ctmag900) has restricted rights.

To let user controlm defined in the job go inside the Control-M agent’s folder, rights must be updated:

As we can see folder’s rights are 700 and that may cause the issue.

Cause

Rights were set by default to 700 when it was created by Unix command adduser  ( thanks to my CTM colleague Mamy for the tip )

Solution

You have to add   rights 755 to let users write sysout on this path:

Note

I have passed -R parameter to be recursive in the folder updated,but you can just put 755 rights on ctma900 folder and then define other rights in this folder.

“ctmag900” directory is correctly updated as you can see below:

Then , once rights are correctly set we will rerun the job and check the state

Job is submitted correctly and ENDED OK issue is fixed 😀

Conclusion

We were lucky to have precious info from the Control M log and sysout to solve this issue.

generally, it may be important to set agents folders access rights correctly.

Once again feel free to check dbi’s blogs to have more tips and tricks on your favorite software!

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Middleware Team

Middleware Team

Posts published under the Middleware Team account are collective contributions by the dbi services middleware and enterprise content management consultants. The practice covers ECM platforms such as OpenText Documentum, Alfresco, and M-Files, as well as application servers and integration technologies including WebLogic, JBoss, Tomcat, and the Elastic Stack, from architecture and deployment to operations under service level agreements.View Author posts

322 posts since February 2013

Most read in Control-M

The Control-M posts our readers open most: the all-time favourites, and what is trending right now.

Leave a Comment

Your email address will not be published. Required fields are marked *