Can confirm this problem. Running 8.10 32-bit. During Oracle installation found that the runInstaller script gave the error:
"bash: ./runInstaller: /bin/bash: bad interpreter: Permission denied". Checked and found that the new userid oracle created for this installation could not execute any scripts. Example (owned by oracle user):
#!/bin/bash
echo "Hello\n";
Accounts created prior to 8.10 execute this without problems; new accounts running the same script file
give the error above. Have tried copying .bashrc and .profile from older account, no change. Both accounts have bash as the default interpreter. From passwd file (name changed):
I can probably work around the Oracle installation problem by reusing an older account, but is anyone else
seeing this behaviour? Any suggestions appreciated
Can confirm this problem. Running 8.10 32-bit. During Oracle installation found that the runInstaller script gave the error:
"bash: ./runInstaller: /bin/bash: bad interpreter: Permission denied". Checked and found that the new userid oracle created for this installation could not execute any scripts. Example (owned by oracle user):
#!/bin/bash
echo "Hello\n";
Accounts created prior to 8.10 execute this without problems; new accounts running the same script file
give the error above. Have tried copying .bashrc and .profile from older account, no change. Both accounts have bash as the default interpreter. From passwd file (name changed):
fred:x: 1000:1000: Fred Bloggs, ,,:/home/ fred:/bin/ bash x:1001: 1001:Oracle, ,,:/home/ oracle: /bin/bash
oracle:
Tried changing default group for oracle user from oinstall to oracle - no change.
Tried adding oracle to sudoers and calling indirectly:
oracle@ arwen:/ mnt/barracuda_ other/database$ sudo ./test.sh arwen:/ mnt/barracuda_ other/database$ ls -lh test.sh arwen:/ mnt/barracuda_ other/database$ /bin/bash arwen:/ mnt/barracuda_ other/database$ cat test.sh
sudo: unable to execute ./test.sh: Permission denied
oracle@
-rwxrwxrwx 1 oracle oinstall 28 2009-01-23 19:12 test.sh
# bash is functional
oracle@
oracle@
#!/bin/bash
echo "Hello\n";
I can probably work around the Oracle installation problem by reusing an older account, but is anyone else
seeing this behaviour? Any suggestions appreciated