/bin/bash: bad interpreter: Text file busy

在執行程式時出現下列訊息

/bin/bash: bad interpreter: Text file busy

Reason:

有其他程式或使用者, 占用/開啟/lock此程式, 此程式已在開啟狀態, 所以出現此錯誤訊息

Solution:

1. lsof | grep [程式名稱]

會列出所有在使用此程式的Process

2. kill [pid], 將這些Process移除再重新執行一次

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s