In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail what to do if the permissions of the installation directory in the oracle rac environment have been modified. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
In red hat Enterprise Edition linux rhel 6 and above, two nodes of oracle 11g rac are installed. Due to various reasons, such as psu typing, upgrade, misoperation, etc., if the installation directory / u01/app/oracle permission of a node is modified, such as
Chown-R grid:dba / u01/app/
Chmod-R 775 / u01/app
At this time, the owner,group of the subdirectory under / u01/app/, and the permissions, special permissions, including acl, have been modified. How can you quickly change it back?
If there is a backup, it would be better. Of course, it is the backup of permissions or the backup of files. If not, we have two nodes of rac. Only one node is modified, and the rac of two nodes is the same. You can try to overwrite the modified node with the file permissions of the unmodified node, as follows:
1. Get permissions for files and directories on node 2:
# getfacl-R / u01/app > / backupperm.txt
two。 Copy / backupperm.txt to Node 1
Scp / backupperm.txt rac1:/.
3. Restore permissions on node 1
# setfacl-restore=backupperm.txt
Then check whether the permissions on node 1 have been restored, including users, group,acl,suid,sgid, etc.
:% s/u01/\ / u01swap g
About "what to do if the permissions of the installation directory in the oracle rac environment are modified?" this article ends here. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.