Penguin

Differences between version 12 and predecessor to the previous major change of CommonErrors.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Monday, February 24, 2003 6:56:53 pm by JohnMcPherson Revert
Older page: version 10 Last edited on Thursday, December 26, 2002 12:43:55 pm by PerryLorier Revert
@@ -24,8 +24,14 @@
  
  -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''  
  
 ---- 
 !!ping: sendto: Operation not permitted 
  PING 192.168.66.10 (192.168.66.10): 56 data bytes