In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
The purpose of this article is to share with you what to do about crontab reporting BAD FILE MODE errors in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Recently, we encountered a problem. After the server went online, the crontab failed to execute automatically. Check the log below and find the problem:
Apr 16 11:26:01 jb51.net crond [28354]: (* system*) BAD FILE MODE (/ etc/cron.d/flushhost)
Apr 16 11:26:01 jb51.net crond [28354]: (root) BAD FILE MODE (cron/root)
Check the other files in the / etc/cron.d/ directory and find that the attribute of flushhost is 755 and the other is 644, so change this script attribute to 644, and the problem is solved.
In addition, the install.sh script of the mysql installation package is modified at the same time. After the new service is installed, the attribute of the flushhost script is modified to 644.
This problem seems to have been encountered only in individual versions of RHEL, but not in all versions.
Thank you for reading! This is the end of the article on "what to do with crontab BAD FILE MODE errors in Linux". 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, you can 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.