The problem might be caused also by a wrong shell interpreter specification (the command following #! at the top of script). Peeking "bash" from your $PATH (as Mark wrote) will solve this kind of problem.
Post, Mark K wrote: >James, > >It's a little difficult to tell with the line wrap, but it looks as though >the permissions on runInstaller are -rw-r--r--. No execute permissions. >Either chmod some on, or execute it via "bash runInstaller" > >Mark Post > >-----Original Message----- >From: James Johnson [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, October 16, 2002 1:58 PM >To: [EMAIL PROTECTED] >Subject: Shell script error > > >We have this application that is shipped on CD. To get the code into Linux I >did the following as root > 1: created a mount point in the root directory > drwxrwxrwx 6 root root 288 Oct 16 09:17 >Disk1 > 2: add an entry to fstab > /dev/lvg1/srcdsk1 /Disk1 reiserfs >noauto,user 1 2 > >Then I logon as the as the application installer and FTP the CD into the >mounted directory > drwxr-xr-x 6 oracle oinstall 208 Oct 15 13:41 >doc > -rw-r--r-- 1 oracle oinstall 5330 Oct 15 13:58 >index.htm > drwxr-xr-x 3 oracle oinstall 128 Oct 15 13:41 >install > drwxr-xr-x 2 oracle oinstall 408 Oct 15 13:42 >response > -rw-r--r-- 1 oracle oinstall 1157 Oct 15 15:56 >runInstaller > drwxr-xr-x 7 oracle oinstall 304 Oct 15 13:58 >stage > >Whenever I try to run a shell scrip fron the Disk1 directory I get the >following > oracle@istestdb:~ > cd /Disk1 > oracle@istestdb:/Disk1 > ./runInstaller > bash: ./runInstaller: bad interpreter: Permission denied > >I must have an invalid premission defined somewhere but I do not see it. > >Any help would be appreciated. > > >James Johnson Email: [EMAIL PROTECTED] >Systems Programmer Voice: 660-543-8065 >Central Missouri State University Fax: 660-543-8123 > > >
