Operating System - HP-UX
1819711 Members
3010 Online
109605 Solutions
New Discussion юеВ

runInstaller: Execute Permission Denied.

 
Sam Waran
Occasional Advisor

runInstaller: Execute Permission Denied.

I have same problem as listed in this site by Azis on April 21, 2004:
Followed the above steps. Changed owner to oracle user. Ran /oracle902/disk1/runInstaller and get:
/oracle902/disk1/runInstaller[34]: /oracle902/disk1/install/hpunix: Permission denied.
/oracle902/disk1/runInstaller[35]: ./runInstaller: not found.
Then deleted the oracle902 folder. Re-copied the Oracle 9.2, while logged in as oracle user - in this way I am 100% positive of the owner oracle and permissions. Ensured Disk1, disk2, disk3 and disk4 all are owned by oracle user and oracle user has -rwxr-x--- permissions, including runInstaller. Ran runInstaller and again Execute Permission Denied. Checked hardware/operating requirement. hp-ux11.11 64 bit. Oracle 9.2 is 64 bit. Sufficient disk, memory etc.
Any help is very appreciated. Thanks.
13 REPLIES 13
Fred Ruffet
Honored Contributor

Re: runInstaller: Execute Permission Denied.

Hi !

3 points :

1. Did you mount with standard mount or pfs ? There may be ACLs or something like that.

2. Have you tried running runInstaller from Disk1 directory ?

3. If you look at runInstaller, it is a script that runs a program also called runInstaller in a subdirectory. Check execution permissions on this file.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Steven E. Protter
Exalted Contributor

Re: runInstaller: Execute Permission Denied.

Maybe try this:

mount the cd using the code i'm attaching, adjusting for the actual path of your cdrom.

Try the copy again as the oracle user.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hein van den Heuvel
Honored Contributor

Re: runInstaller: Execute Permission Denied.


With a much similar problem a few days ago.

I used truss to find that the top level runInstaller does a cd to install/hpunix and then forks to execute runInstaller down there. This file, in our case, did not have execute permission. We never bother to find out why, just used chmod and onwards...

Hein.
Sam Waran
Occasional Advisor

Re: runInstaller: Execute Permission Denied.

Thanks for the quick response. I do not have CDs mounted on the HP - no CD drive. I loaded them in a laptop, copied them to the laptop folder as disk1, disk2,disk3 and disk4 and then FTPed to the unix box - rp2470 into my home directory (/samdir/oracle, as "oracle user".

runInstaller is a file and I do not see any sub folders in it. Looked at the permissions on this runInstaller - -rwxr-x--- Thanks.
Hein van den Heuvel
Honored Contributor

Re: runInstaller: Execute Permission Denied.


No subfolders in it, but 'next to it'
It is called install as per my earlier reply.

If need be just use:
find Disk1 -name "runI*" -exec ls {} \;


On my box I see:

[/oracle/Patch_9.2.0.4/Disk1/install]$ ls -gR
total 4
drwxr-xr-x 2 dba 96 Jul 31 2003 hpunix
-rwxr-xr-x 1 dba 239 Jul 31 2003 oraparam.var
-rwxr-xr-x 1 dba 39 Jul 31 2003 oui.var
drwxr-xr-x 2 dba 96 Jul 31 2003 win32

./hpunix:
total 166
-rwxr-xr-x 1 dba 392 Jul 31 2003 oraparam.ini
-rwxr-xr-x 1 dba 82644 Jul 31 2003 runInstaller
-rwxr-xr-x 1 dba 53 Jul 31 2003 runInstaller.sh

./win32:
total 130
-rwxr-xr-x 1 dba 433 Jul 31 2003 access_setup.bat
-rwxr-xr-x 1 dba 391 Jul 31 2003 oraparam.ini
-rwxr-xr-x 1 dba 64512 Jul 31 2003 setup.exe
Hein van den Heuvel
Honored Contributor

Re: runInstaller: Execute Permission Denied.



Lokk VERY careful at the message you reported earlier about: /oracle902/disk1/install/hpunix

/oracle902/disk1/runInstaller[34]: /oracle902/disk1/install/hpunix: Permission denied.



Maybe you need:

chown -R oracle:dba /oracle902

Hein.

Sam Waran
Occasional Advisor

Re: runInstaller: Execute Permission Denied.

Hein van den Heuvel - you answer was detailed and great. Thanks a million. I was not able to change the permissions globally using chown, that changed the /install files, but was able to use chmode to change the permissions one by one. Ran runInstall and the Permission Denied problem went away. I now have this:
The Java RunTime Environment was not found at /tmp/OraInstall2004-07-21_05-40-42PM/jre/bin/java. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
: No such file or directory
My Java is in /opt/java1.4/jre folder. Will appreciate your detailed help. Thanks Again.
Hein van den Heuvel
Honored Contributor

Re: runInstaller: Execute Permission Denied.

Hmmm, we have had trouble with that too, but I don't recall the resolution.
Some thoughts.
- check any and all installion notes, readme, metalink article on installing.
- re-install JRE
- un-install JRE and let oracle provide it.
- re-install an old JRE ( 1.3.1 ?)
- have your jre location in $PATH
- I believe that the Oracle Universal INstaller (OUI) is willing to temporarely install it's own JRE in /tmp. Did it not have the right (or space) to write to /tmp?
- When exactly does it fail? Early on, or during dbca? Restart OUI and in a fresh shell see if it createda /tmp/OraInstall/jre or some-such with bin and lib sub directories. Try to copy all that (cp -r *) to $ORACLE_HOME/JRE.
- hit the 'advanced search' in this forums
for 'oracle jre' in 'hp-ux database' + 'entire message'. You'll find dozens or references.
- hit the web (google)

Good luck,
Hein.





Fred Ruffet
Honored Contributor

Re: runInstaller: Execute Permission Denied.

Hi !

I think you should add /opt/java1.4/jre/bin to your PATH :
export PATH=$PATH:/opt/java1.4/jre/bin

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Sam Waran
Occasional Advisor

Re: runInstaller: Execute Permission Denied.

Thanks Fred and Hein. I added the /opt/java1.3and 1.4 to my PATH. Still having the same problem. I am installing the Oracle from a CDE terminal. This is my env:
$ env
_=/bin/env
MANPATH=/usr/dt/man:/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/mx/share/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/gnome/man:/opt/wbem/share/man:/opt/graphics/common/man:/opt/hpnpl//man
DTDATABASESEARCHPATH=/samdir/oracle/.dt/types/fp_dynamic,/samdir/oracle/.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
LANG=C
DTINFOLIBDEFAULT=cde
PATH=/bin:/usr/bin:/usr/dt/bin:/usr/bin/X11:/opt/Migration/bin:/usr/vue/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/mx/bin:/opt/gnome/bin:/opt/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/Netscape:/opt/hpnpl//bin:.:/opt/java1.4/jre/bin:/opt/java1.3/jre/bin:/opt/java1.4/jre
COLUMNS=91
DTUSERSESSION=oracle-rp2470-0
XMICONBMSEARCHPATH=/samdir/oracle/.dt/icons/%B%M.bm:/samdir/oracle/.dt/icons/%B%M.pm:/samdir/oracle/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
SESSION_SVR=rp2470
WINDOWID=50331716
EDITOR=vi
LOGNAME=oracle
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
MAIL=/var/mail/oracle
TERMINAL_EMULATOR=dtterm
DTINFOLIBSEARCHPATH=
USER=oracle
SESSION_MANAGER=local/rp2470:/var/spool/sockets/ICE/7043,tcp/rp2470:51391
DISPLAY=rp2470:0.0
SHELL=/usr/bin/sh
DTAPPSEARCHPATH=/samdir/oracle/.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
HOME=/samdir/oracle
XMICONSEARCHPATH=/samdir/oracle/.dt/icons/%B%M.pm:/samdir/oracle/.dt/icons/%B%M.bm:/samdir/oracle/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
TERM=dtterm
PWD=/samdir/oracle/disk1
dtstart_sessionlogfile=/dev/null
TZ=PST8PDT
LINES=48
DTHELPSEARCHPATH=/samdir/oracle/.dt/help/oracle-rp2470-0/%H:/samdir/oracle/.dt/help/oracle-rp2470-0/%H.sdl:/samdir/oracle/.dt/help/oracle-rp2470-0/%H.hv:/samdir/oracle/.dt/help/%H:/samdir/oracle/.dt/help/%H.sdl:/samdir/oracle/.dt/help/%H.hv:/etc/dt/appconfig/help/%L/%H:/etc/dt/appconfig/help/%L/%H.sdl:/etc/dt/appconfig/help/%L/%H.hv:/etc/dt/appconfig/help/C/%H:/etc/dt/appconfig/help/C/%H.sdl:/etc/dt/appconfig/help/C/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv:/etc/vhelp/%T/%L/%H:/etc/vhelp/%T/%H:/etc/vhelp/%T/%L/%H.hv:/etc/vhelp/%T/%H.hv:/etc/vhelp/%T/C/%H:/etc/vhelp/%T/C/%H.hv:/usr/vhelp/%T/%L/%H:/usr/vhelp/%T/%H:/usr/vhelp/%T/%L/%H.hv:/usr/vhelp/%T/%H.hv:/usr/vhelp/%T/C/%H:/usr/vhelp/%T/C/%H.hv
XMBINDDIR=/usr/dt/lib/bindings
Thanks.
Sam Waran
Occasional Advisor

Re: runInstaller: Execute Permission Denied.

This is my .profile and .dtprofile:
$ cat ~./dtprofile
cat: Cannot open ~./dtprofile: No such file or directory
$ cat ~/.profile

# @(#)B.11.11_LR

# Default user .profile file (/usr/bin/sh initialization).

# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs

# Set up the search paths:
PATH=$PATH:.

# Set up the shell environment:
set -u
trap "echo 'logout'" 0

# Set up the shell variables:
EDITOR=vi
export EDITOR
umask 022
$ cat ~/.dtprofile
echo "This session log file is currently disabled." > $dtstart_sessionlogfile
echo "To enable logging, edit $HOME/.dtprofile and" >> $dtstart_sessionlogfile
echo "remove dtstart_sessionlogfile=/dev/null line." >> $dtstart_sessionlogfile

export dtstart_sessionlogfile="/dev/null"
DTSOURCEPROFILE=true
Hope this helps.
Sam Waran
Occasional Advisor

Re: runInstaller: Execute Permission Denied.

My problems went away when I mounted CD rom drive, copied all the folders to a local drive and then installed my Oracle from there. For some reasons FTP did not work even in bit format.
Marcel Boogert_1
Trusted Contributor

Re: runInstaller: Execute Permission Denied.

I had a similar problem with Oracle 8i a while ago. Do you use su to enter your Oracle user? If so export your display variable again to the correct address.