Differences between version 13 and predecessor to the previous major change of CommonErrors.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 13 | Last edited on Thursday, February 27, 2003 4:00:39 am | by NorbertHahn | Revert |
Older page: | version 10 | Last edited on Thursday, December 26, 2002 12:43:55 pm | by PerryLorier | Revert |
@@ -24,8 +24,23 @@
-bash: /path/to/script: /bin/bash: bad interpreter: Permission denied
/bin/bash exists and runs fine; the probably cause is the "u+x" bit is not set on the script. (a+x should overwrite it, shouldn't it?)
+
+My experimentation suggests that /bin/bash probably isn't executable, and since it is a bash script the kernel is trying to start bash. Judging by the number of people doing searchs we're having a large number of people have this problem with bash and perl. Still have no idea what's going on? try
+ chmod a+rx /bin/bash /usr/bin/perl /usr/local/bin/perl ''/path/to/your/script/here''
+this will mark these all as executable and readable by everyone.
+
+''It seems highly unlikely that you got into a user run-level if bash and/or perl aren't executable. Based on Plug's experience with linuxsms, it seems this is caused by the script being not executable by you, but set executable by group and/or other -- JohnMcPherson''
+
+Here is another
+
+ -bash: /path/to/script: /bin/bash: bad interpreter: Permission denied
+
+You may use any existing interpreter here such as perl or ksh...
+
+This error occured on my system on the /var directory because /dev/hda5 was mounted on /var
+with the option "noexec".
----
!!ping: sendto: Operation not permitted
PING 192.168.66.10 (192.168.66.10): 56 data bytes