/Var/spool/clientmqueue is full. If a user cannot be added, "useradd: unable to lock password file" may occur. You cannot install useradd: unable to lock password file in the source program. baidu has introduced a passwd under the/etc/directory. lock, group. lock, gshadow. lock, passwd. lock, shadow. lock file, delete it and it will be OK. In fact, this is not the problem I encountered. df-I: Use 100%, run du-sh * or du-sh/* to view the directory size, and find the directory that occupies a large space/var/spool/clientmqueue. originally,/var/spool/clientmqueue was sent to cron users by email if cron is enabled and the Program executed in cron has output content, sendmail does not start, so these files are generated. There are indeed dozens of scripts scheduled by cron on the server, and no output orientation is set. All the files that have been accumulated over time are saved in the/var/spool/clientmqueue directory. solution: add the>/dev/null 2> & 1/var/spool/clientmqueue directory file after the cron statement is automatically executed. There are too many files in the rm-rf * directory. The system will prompt: "-bash:/bin/rm: Argument list too long" .. it means that the parameter is too long and rm cannot do it. You can use the ls | xargs rm-f command to delete all files in the/var/spool/clientmqueue directory.