Got it

The installation of the CMS software on Redhat 7.5 reported an error

388 0 11 0 0

Problem description


The installation of the CMS software on Redhat 7.5 reported an error.


234806b8t2yqedduiamdy2.png?1.png


Analysis progress


1. Collect the logs regarding the Maintenance.


2. Found that the CMS failed to obtain the  get /home/cms/.bashrc file.

141840bgxgx4xxjelmvaw4.png?log.png


3. The user exists before installation, but there is a problem with the permission being denied.


141848y2hps022j5f02shp.png?log-1.png


4. Verify whether the user is manually created.


5. Verify whether the CMS was installed by the maintenance assistant.


6. Check which group /home/cms belongs to and the permissions to access.


7. Check whether the /home/cms directory is completely deleted or not.


8. useradd-d /home/cms -g icd -s /bin/bash -m cms to check the user attribute.


234826w4c4ryodm9b0nu4d.png?4.png


9. Change the /etc/passwd user attribute to /usr/bin/csh.


234831s6yj1jn63yccyli1.png?5.png  


Root cause


The user attribute error made the CMS impossible to be installed. The userpreviously was deleted but not completely.


234838th3ivg1cxcgl3cew.png?6.png


Solution description

1. Uninstall the CMS software installed before.


2. Manually create the CMS user useradd -d /home/cms -g icd -s /bin/bash -m cms, modify the cmsuser uid to 1381 (customer requirements):


chmod 750 /home/cms


3. From the CMS server installed on the UAT environment, copy the .bashrcand .bash_profile files in the /home/cms directory to the /home/cms directory of the production.


4. Configure the maintenance assistant to change the execution script userto cms and then use the maintenance assistant to install cms successfully.


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.