The crontab command is mainly used to set the instructions that are executed periodically, but sometimes the crontab exception occurs, there is no automatic execution of the instruction, and the BAD FILE MODE error message appears. How to solve this situation? Let's learn together with Xiaobian.
recently encountered a problem on the line to the server, crontab are no exception occurs automatically, looked under the log and found the problem:
code is as follows:
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 other files in the /etc/cron.d/directory and find that the property of flushhost is 755, and the rest is 644. So the script property is also changed to 644, the problem is solved.
In addition, the install.sh script of the mysql installation package has also been modified. After the new service is installed, the property of the flushhost script is modified to 644.
This problem seems to have only been encountered in individual versions of RHEL, not all versions.
The above is the Linux crontab error BAD FILE MODE solution introduced, if your crontab is not automatically executed, and the error message appears in the log, you can use this method to solve.
Linux whereis command and find command are a bit similar, whereis command finds faster, but can only
last is a built-in tracking tool for Linux system, can list the relevant information of the login us
Delete files under Linux can be completed using the rm command. Then, which command
Soft AP is a soft AP, and the hardware part is a wireless network card. Because of
How to install and use Trickle in Linux
Linux when the program is prompted to error while loading shared?
How to solve the problem of multi-line display of wget download progress bar in CentOS
How to use function to get ns level time under Linux
Steps to Add Static Routes to Linux
How to fix the program error prompted by Ubuntu system?
What should I do if the Linux system inittab file is lost?
How to use Linux to clear Bash environment variables with commands
What should I do if the NIC cannot be started after the Linux virtual machine is cloned?
Several tips for strengthening the security of Linux systems
Fedora boot into text mode method
How to mount/uninstall USB devices using commands under Linux
Using WinXP's own disk management for hard disk partitioning
Win7 data execution protection function DEP to achieve memory monitoring unknown program running
How do the Windows system computers experience experiential index evaluation?
Win8 Tips for Installing USB3.0 and USB Devices The
How to change the thumbnail size in XP system
Windows 7 Comic Album: Flattening Panorama Photos
Win8 has installed app view and multi-device account application synchronization.
Win7/Win8.1 equipment will be discontinued for sale from October 31, 2016