8 Replies Latest reply: Oct 18, 2012 5:22 AM by Fayn_dba RSS

    ./runInstaller

    Fayn_dba
      Hi experts:

      I am getting error when I run Installer from /media/Linux...

      bash: ./runInstaller: /bin/sh: bad interpreter: Permission denied

      I have users oracle-validate when O.S was installed

      Please help

      Regards
        • 1. Re: ./runInstaller
          Srini Chavali-Oracle
          Pl post exact OS and database versions, along with what you are trying to install. Pl see previous discussions on this topic

          https://forums.oracle.com/forums/search.jspa?threadID=&q=bad+interpreter%3A+Permission+denied&objID=f64&dateRange=all&userID=&numResults=15

          HTH
          Srini
          • 2. Re: ./runInstaller
            Helios-GunesEROL
            Hi;

            1 What is Db version
            2 What is linux version
            3 With which user you are running /runInstaller?

            Please review:
            /bin/sh: bad interpreter: Permission denied- Rapidwiz

            Regard
            Helios
            • 3. Re: ./runInstaller
              Fayn_dba
              Linux uat 2.6.18-92.el5 #1 SMP Fri May 23 23:40:43 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
              ORACLE 11g Release 1 (11.1)
              ORACLE USER
              • 4. Re: ./runInstaller
                sb92075
                post results from following OS commands

                id
                env | sort
                • 5. Re: ./runInstaller
                  Fayn_dba
                  id shows
                  uid=500(oracle) gid=500(dba) groups=500(dba),501(oinstall)

                  env | sort

                  CLASSPATH=/u01/oracle/product/11.1.0/db_1/JRE:/u01/oracle/product/11.1.0/db_1/jlib:/u01/oracle/product/11.1.0/db_1/rdbms/jlib
                  COLORTERM=gnome-terminal
                  DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-eGzUDDD3qA,guid=a5b87e501f0f2287158aa526ddad6d00
                  DESKTOP_SESSION=default
                  DESKTOP_STARTUP_ID=
                  DISPLAY=:0.0
                  G_BROKEN_FILENAMES=1
                  GDMSESSION=default
                  GDM_XSERVER_LOCATION=local
                  GNOME_DESKTOP_SESSION_ID=Default
                  GNOME_KEYRING_SOCKET=/tmp/keyring-yZG76M/socket
                  GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
                  HISTSIZE=1000
                  HOME=/home/oracle
                  HOSTNAME=uat
                  INPUTRC=/etc/inputrc
                  LANG=en_US.UTF-8
                  LD_LIBRARY_PATH=/u01/oracle/product/11.1.0/db_1/lib:/lib:/usr/lib
                  LESSOPEN=|/usr/bin/lesspipe.sh %s
                  LOGNAME=oracle
                  LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
                  MAIL=/var/spool/mail/oracle
                  ORACLE_BASE=/u01/oracle
                  ORACLE_HOME=/u01/oracle/product/11.1.0/db_1
                  ORACLE_SID=orcl
                  PATH=/u01/oracle/product/11.1.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
                  PWD=/home/oracle
                  SESSION_MANAGER=local/uat:/tmp/.ICE-unix/5241
                  SHELL=/bin/bash
                  SHLVL=2
                  SSH_AGENT_PID=5275
                  SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
                  SSH_AUTH_SOCK=/tmp/ssh-uGSlcp5241/agent.5241
                  TERM=xterm
                  TMPDIR=/tmp
                  TMP=/tmp
                  USERNAME=oracle
                  USER=oracle
                  _=/usr/bin/env
                  WINDOWID=46138644
                  XAUTHORITY=/tmp/.gdmHKK4LW
                  XMODIFIERS=@im=none
                  • 6. Re: ./runInstaller
                    Srini Chavali-Oracle
                    The errors are typically due to incorrect OS and/or mountpoint permissions.

                    Srini
                    • 7. Re: ./runInstaller
                      sb92075
                      Fayn_dba wrote:
                      Hi experts:

                      I am getting error when I run Installer from /media/Linux...

                      bash: ./runInstaller: /bin/sh: bad interpreter: Permission denied
                      which OS user owns /media/Linux/ directory & files that reside in it?
                      • 8. Re: ./runInstaller
                        Fayn_dba
                        Thanks for your help the issue is resolve by

                        chmod -R 755 /media

                        &

                        than copied it in directory where oracle has read/write permissions

                        chmod -R 755 /u01