"useradd: cannot create directory /home/habdbsync" appears during VOM upgrade from version 6.0 to 6.1
book
Article ID: 100031636
calendar_today
Updated On:
Description
Error Message
useradd: cannot create directory /home/habdbsync which by default will be located in the /var/opt/.VRTSsfmcs/logs/alt_dir/logs/config_db/setup_db_upgrade.log
Cause
The installation script requires the ability to create a user on the system. This account is used to perform the database export. It will start the upgrade as a non-root user.
Resolution
From
/etc/default/useradd, set the "HOME" variable to a location to where the root user is able to write. This must be a location where the application can create a user prior to running the installation script.
Example:
HOME=/path
As a test, the root user that is used to execute the installation script should be able to manually create a user using the
useradd command:
Example:
useradd -u 99999 -o habdbsync -s /bin/bash
Issue/Introduction
When a system is hardened to prevent user creation from the command line, the upgrade within VOM (Veritas Operations Manager) version 6.0, or 6.1, fails because the application installation script requires the ability to create a user on the system.
Was this article helpful?
thumb_up
Yes
thumb_down
No