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

后端 未结 6 1468
挽巷
挽巷 2020-12-14 06:06

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

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

There were a couple of disk-inte

6条回答
  •  误落风尘
    2020-12-14 06:56

    I'd guess you encountered this issue.

    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)?

提交回复
热议问题