Operating System - HP-UX
1821584 Members
3516 Online
109633 Solutions
New Discussion юеВ

sh: ./sqlplus: Execute permission denied.

 
Jacques Carriere
Regular Advisor

sh: ./sqlplus: Execute permission denied.


After the install of Oracle on a D380, I get the following sqlplus error.

sh: ./sqlplus: Execute permission denied.

Does anybody know why I get the permission denied?

Jacques
5 REPLIES 5
Olivier Masse
Honored Contributor

Re: sh: ./sqlplus: Execute permission denied.

Salut,

Not much details to go on... can you do an ls -al on the file to see what are the permissions?

Thanks
Hein van den Heuvel
Honored Contributor

Re: sh: ./sqlplus: Execute permission denied.

After the install did you log in to an account with the right ORACLE_HOME, ORACLE_SID, PATH and LIBRARY definitions?
Tried to log in to an account in the dba group?

./sqlplus is an odd location to run sqlplus from.
Should that not be something like :
$ORACLE_HOME/bin/sqlplus

Where are you? (pwd), where is Oracle?

As the other reply indicated, let's see an ls -al on ./sqlplus.

Maybe even a 'file sqlplus' to make sure it is the executable and not a helper.
What do you get from `which sqlplus` ?

Hopefully one of these questions geets you looking in the right direction..

Cheers,
Hein.
Raj D.
Honored Contributor

Re: sh: ./sqlplus: Execute permission denied.

Jacques,

Load the Oracle environment varialbes and try,

- or logon to the oracle user and try.

- If you are as root try # su - oracle
Then use the swlplus command.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Peter Godron
Honored Contributor

Re: sh: ./sqlplus: Execute permission denied.

Jacques,
did you run the $ORACLE_HOME/root.sh file as root / at all ?

Check permissions with ll.
Arturo Galbiati
Esteemed Contributor

Re: sh: ./sqlplus: Execute permission denied.

Hi,
I got the same time ago due to teh act that the suer I try to run sqlplus was not in the same group as oracle user. Probbaly adding the user in the same group of oracle suer save this or chnage teh permission for oracle having s in the permission. (I'm sorry but I do not remmeber how to have this)
HTH,
Art