/usr/bin/perl:错误的解释器:文本文件忙 [英] /usr/bin/perl: bad interpreter: Text file busy

查看:1536
本文介绍了/usr/bin/perl:错误的解释器:文本文件忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这对我来说是个新问题:此错误表示什么?

This is a new one for me: What does this error indicate?

  /usr/bin/perl: bad interpreter: Text file busy

当时有几个磁盘密集型进程正在运行,但是实际上我从未见过该消息,这是我第一次记得在尝试运行Perl脚本时遇到错误.等待了几秒钟后,我得以运行它,此后再也没有看到此问题,但是对此有一个解释是很高兴的.

There were a couple of disk-intensive processes running at the time, but I've never seen that message before—in fact, this is the first time that I can remember getting an error when trying to run a Perl script. After a few seconds of waiting, I was able to run it, and haven't seen the issue since, but it would be nice to have an explanation for this.

运行Ubuntu 9.04,文件系统为ext3.

Running Ubuntu 9.04, file system is ext3.

推荐答案

我猜你遇到了如果您尝试执行Perl脚本(或任何其他类型的脚本)以进行编写,则Linux内核将生成bad interpreter: Text file busy错误.

The Linux kernel will generate a bad interpreter: Text file busy error if your Perl script (or any other kind of script) is open for writing when you try to execute it.

您没有说磁盘密集型进程在做什么.

You don't say what the disk-intensive processes were doing. Is it possible one of them had the script open for read+write access (even if it wasn't actually writing anything)?

这篇关于/usr/bin/perl:错误的解释器:文本文件忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆