EEM install fails with dxsetup error chown: cannot access 'users': No such file or directory
search cancel

EEM install fails with dxsetup error chown: cannot access 'users': No such file or directory

book

Article ID: 369363

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

EEM installation on Linux fails because Unix user/groups are tied to a Windows Domain.  

Unix account autosys already exists and is an LDAP account on the Linux host, belongs to a default group "Domain Users" apart from other groups.

05 Jun 2024 11:13:29 INFO   - 
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - CA Directory response file is
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - # ==============================
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - #   CA Directory Response File
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - # ==============================
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - # User parameters
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - INSTUSER=root
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - DXUSER=autosys
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - DXGROUP=autosys
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - DXSHELL=/bin/sh
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - # Install parameters
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - INSTALLDX=y
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - INSTALLDOC=y
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - INSTALLDXA=n
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - RUN64BIT=y
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - INSTALLDXAGENT=n
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - LEGACY_SETUID=y
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - DXMASTERKEYPASS=XXXXXXXXXX
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - # Location parameters
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - ETDIRHOME=/opt/CA/Directory
05 Jun 2024 11:13:29 INFO  InstallCADirectoryAction - DXHOME=
05 Jun 2024 11:13:30 INFO  InstallCADirectoryAction - chown: cannot access 'users': No such file or directory

 Cannot set the correct ownership on /home/autosys for autosys
 Please check that the autosys user is a part of the appropriate domain users group.

05 Jun 2024 11:13:30 INFO  InstallCADirectoryAction - CA Directory installation returned 1

Cause

The groupname "Domain Users" is somehow interfering with the chown operation of the Directory configuration. 

Resolution

1) Backup and then update /etc/group with below

users:x:123456:             ## 123456 is the GUID for Domain Users group

2) Check the identify of the Unix (say dsa) user in question:

id autosys

3)  The user and group should now change from “domain users” to “users”
 

4) Retry install again

 

Additional Information

1) There are additional requirements in the Directory documentation:  installing-ca-directory    

2) Whatever the dsa Unix user is, dsa or autosys or some custom name, that needs to be used, the description (locally in /etc/passwd file or LDAP user) must be 'DXserver Administrator' (it is case sensitive)