In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to solve the problem of Text file busy when the execution program appears under Linux". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of Text file busy when the execution program appears under Linux".
Use the fuser xxx command to see which process the developed file is occupied by, and then close the process to solve the problem.
Note: if the xxx command is opened under ordinary root, but under ordinary users: fuser xxx is inconclusive.
Switch to root usage, and then execute fuser xxx, the process number will be displayed, and you can kill it.
Eg:
#. / Xfbdev: 0-fp / usr/share/fonts/X11/misc
. / Xfbdev: Text file busy
$fuser Xfbdev
$sudo su
# fuser Xfbdev
Xfbdev: 28784e
# ps aux | grep Xfbdev
Root 28784 0.9 0.2 4608 2640 pts/0 S + 12:48 0:00. / Xfbdev: 0-fp / usr/share/fonts/X11/misc
Root 30708 0.0 0.1 3792 1248 pts/1 S+ 12:49 0:00 grep Xfbdev
The solution of Text file busy problem
Author: liucy
A Text file busy error occurred when using scp to copy files across servers, resulting in an inability to complete the operation. Later, it was found that the error meant that the file was in use by a process and was locked, so it could not be copied. Later, it was verified that the above problems can be solved by using the fuser command, and the specific execution of the command is as follows:
Fuser-cdkux filename
Thank you for your reading, the above is the content of "how to solve Text file busy under Linux". After the study of this article, I believe you have a deeper understanding of how to solve this problem when Text file busy appears in the execution program under Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.