备份失败并显示“文本文件正忙”错误

Summary: 备份失败并显示“Text file busy”错误:--- 作业指示--- 无法打开 /var/tmp/netcd.lock:文本文件繁忙

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • "Text file busy" 错误:在尝试执行当前打开写入的文件时,通常会发生错误。
  • "Text file busy" 错误 (ETXTBSY) 表示有人试图修改或删除内核当前正在执行的可执行文件。

Cause

  • " Text file busy" 由作系统报告。
  • 进程对文件有锁定,而客户端代理无法对其进行备份。
  • 这与 Windows 客户端消息类似。
  • Code 32: The process cannot access the file because it is being used by another process.

Resolution

故障 排除:

->fuser <open directory with .lock file> (Ex : - fuser /var/tmp/netcd.lock) 此命令用于标识哪个进程保持文件打开。
然后它将返回正在运行并保留文件的进程 ID。(例如: - /var/tmp/netcd.lock: 32440328)

-> kill -9 PID (Ex : - kill -9 32440328)
>> 然后尝试触发备份,它将成功。

Additional Information

另请注意,.lock 文件是临时文件。通常不会备份它们。

如果必须备份此文件,则查找哪个进程锁定了此文件,并从那里解决它。 

 

参考链接 :-
https://community.spiceworks.com/t/0511-089-cannot-open-var-tmp-netcd-lock/837458/6本超链接将引导您访问非 Dell Technologies 运营的网站。

Affected Products

NetWorker Family, NetWorker
Article Properties
Article Number: 000410911
Article Type: Solution
Last Modified: 02 يناير 2026
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.