Starting sqlplus on Fedora 14

Hi,
Oracle10gXE
Linux Fedora14
How to start Sqlplus screen in linux ?

user640001 wrote:
bash-4.1$ env|sort
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-p2Intr0Hfu,guid=2b90219c208c270878db9ab000000033
DESKTOP_SESSION=gnome
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDM_KEYBOARD_LAYOUT=us
GDM_LANG=en_US.UTF-8
GDMSESSION=gnome
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/tmp/keyring-LafEud
GNOME_KEYRING_PID=1935
GPG_AGENT_INFO=/tmp/keyring-LafEud/gpg:0:1
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/usr/lib/oracle/xe
HOSTNAME=fedora14.localdomain
IMSETTINGS_INTEGRATE_DESKTOP=yes
IMSETTINGS_MODULE=none
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
MAIL=/var/spool/mail/oracle
OLDPWD=/usr/lib/oracle/xe
ORBIT_SOCKETDIR=/tmp/orbit-oracle
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
PWD=/
QT_IM_MODULE=xim
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1945,unix/unix:/tmp/.ICE-unix/1945
SHELL=/bin/bash
SHLVL=2
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/keyring-LafEud/ssh
TERM=xterm
USERNAME=oracle
USER=oracle
_=/usr/bin/env
WINDOWID=65011715
WINDOWPATH=1
XAUTHORITY=/var/run/gdm/auth-for-oracle-as9KwS/database
XDG_SESSION_COOKIE=4dc848c19439ce46f367c03b00000011-1300944613.72892-471688632
XMODIFIERS=@im=none
bash-4.1$ id
uid=501(oracle) gid=501(dba) groups=501(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
bash-4.1$ ls -l $ORACLE_HOME/bin/sqlplus
ls: cannot access /bin/sqlplus: No such file or directory
bash-4.1$And where is the setting of your mentioend oracle_home,oracle_sid,path variables here?
Aman....

Similar Messages

  • Cannot Start Sqlplus after installing Oracle on linux

    Hi All,
    I tried installing oracle10g-10.1.0 on Fedora core 2.My installation was successful.But i'm not able to start sqlplus after my installation.I have made the necessary changes in the .bash_profile.Please do find the contents of the file and let me know what i need to do further for me to start both my sqlplus and isqlplus.when i go to the bin directory and execute sqlplus as oracle user i get the following error messages.
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory.
    How can i solve this error.Your suggestions are greatly appreciated.The contents of my .bash_profile are as follows.Pls advice on the same.Thanks in advance.
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    umask 022
    PATH=$PATH:$HOME/bin
    unset USERNAME
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/10.1.0/Db_1
    export ORACLE_SID=orcl
    export PATH=$PATH:$ORACLE_HOME/bin
    export PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    #/u01/app/oracle/product/10.1.0/db_1/bin
    #NLS_LANG=american_america.US7ASCII
    #export NLS_LANG
    #ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    #export ORA_NLS33
    Thanks,
    Rama

    Hi Gasparotto,
    Thanks for your time and for your suggestion in helping me out to find a solution to my problem.As per your request pls do find enclosed the contents of the command env in my /home/oracle directory.Pls advice me where i have done a mistake.Your inputs are greatly appreciated.Thanks once again.
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    QTDIR=/usr/lib/qt-3.3
    USER=oracle
    LD_LIBRARY_PATH=/u01/app/oracle/product/10.1.0/Db_1/lib
    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:
    ORACLE_SID=orcl
    ORACLE_BASE=/u01/app/oracle
    KDEDIR=/usr
    MAIL=/var/spool/mail/oracle
    PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/bin:/etc::/bin::/home/oracle/bin:/u01/app/oracle/product/10.1.0/Db_1/bin
    INPUTRC=/etc/inputrc
    PWD=/home/oracle
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/oracle
    LOGNAME=oracle
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    DISPLAY=:0.0
    ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    G_BROKEN_FILENAMES=1
    XAUTHORITY=/home/oracle/.xauthzZ1FKa
    _=/bin/env
    Thanks,
    Rama

  • Error while starting sqlplus in SunSolaris-5.8

    Hello,
    I'm getting below error when I start sqlplus in sunOS-5.8.
    I'm just giving following command.
    $sqlplus
    It giving the error like,
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*Plus
    Any info on this would be very useful..
    Thanks,
    Pradeep

    Hi Jhon,
    While connecting the work rep I am getting following error. Could you help me in this regards please ? I am new to ODI world. I am able to connect master rep but when I am trying to connect work rep getting following errors
    oracle.odi.core.config.WorkRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
         at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:155)
         at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
         at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:581)

  • How to start SQLPLUS in oracle 10g which install on Red Hat Linux AS 4

    I install oracle 10g on Red hat linux enterprize AS 4. but i can not start SQLPLUS. I could not login to grid control. When installation, some agents installations are fail. what can i do? please help me out.

    I install oracle 10g on RHEL 4. But error occure in cofiguration assistant.
    following assistance not configured (which are recommended):
    Oracle Net Configuration Assistant - fail
    HTTP Server Configuration Assitant - skipped
    Java Security Configuration Assistant - skipped
    OC4J Configuration Assistant - skipped
    Web Cache Configuration Assistant - skipped
    Oracle Instance Configuration Assistant - skipped
    Oracle Database Configuration Assistant - skipped
    OC4J Instance Configuration Assistant - skipped
    OPMN Configuration Assistant - skipped
    Register DCM Plug-ins with EM - skipped
    Application Server Control Configuration Assistant -skipped
    DCM Repository Backup Assistant - skipped
    Enterprize Manager Reposotory Creation Assistant - skipped
    Log Details given about "Oracle Net Configuration Assistant" as
    /usr/app/oracle_sw_owner/oracle/product/10..0/EM10g_1/oracle.swd.jre/bin/..
    /lib/i686/native_thread/libzip.so : symbol errno version GLIBC_
    Unable to initialize threads:cannot find class javalang thread not define in file libc.so.6 with link time referance (libzip.so)
    could not create Java VM
    configuration of assistant "Oracle Net Configuration Assistant" fail
    When try to run sqlplus from xterm, it gives an following error :
    $ /usr/app/oracle_sw_owner/oracle/product/10.1.0/EM10g_1/bin/sqlplus
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*Plus
    After installation there is an information is given for Enterprise Manager Grid Control and it gives an url as http://localhost.localdomain:7777/em. But when i try to connect it gives an error massage as "The connection was refuse when attempting to contact localhost.localdomain:7777"
    Same situation when i try to connect Enterprise Manager Application Server (its url: http://localhost.localdomain:1810). It gives an error massage "The connection was refuse when attempting to contact localhost.localdomain:1810"
    What can i do in this situation? Please help me out.

  • Starting Sqlplus

    Hi,
    on 8.1.7 /Win 2000 Server when I start Sqlplus (in cmd box I issue sqlplus /nolog) , windows says that it should be closed and in Windows Event log I have the following error :
    Faulting application sqlplus.exe, version 0.0.0.0, faulting module oraclient8.dll, version 0.0.0.0, fault address 0x00031c86
    Any idea ? Thanks for help.

    DLL problems often come from
    1) unclean shutdown of the computer or a crash on the system disk
    2) an update to the OS DLLs that the application DLL references
    3) a different DLL intercepting the DLL provided by the OS.
    Did, 10 days ago,
    1) the system crash (or the system hang and task manager used to crash the application)?
    2) the operating system get updated (manual or automatic Windows Update)
    3) a new application get installed
    Do you still have the original install disks? If yes, consider re-installing Oracle (the database, especially if backed up, should be safe). You might also be able to restore the DLL by extracting it from the Oracle disks by itself, going into Windows Safe Mode, and copying that file to where it belongs. (Back up first!)
    /Hans

  • SP2-1503 when starting sqlplus (privilege problem)

    System: windows 2003 terminal server
    Oracle db: 10gr2
    After i installing the database everything works perfect as administrator user, but when i start sqlplus as a "normal" user without administrator rights, the following error message apears:
    SP2-1503: Oracle aanroepinterface kan niet
    SP2-0152: ORACLE functioneert mogelijk niet
    Please help...

    Hi,
    We had this issue on one of our 11.1.0.6 database running on IBM AIX whereby no oracle user was trying to access the database. We followed the metalink note 417067.1 to resolve it.
    For those who don't have access to metalink, this is the solution from the note that worked for us:
    To implement the solution, please execute the following steps:
    1. Manually change the privileges for the $ORACLE_HOME/oracore/zoneinfo directory and files.
    chmod o+r oracore
    chmod o+r oracore/zoneinfo/timezone.dat
    or just type from $ORACLE_HOME directory:
    2. SQL*Plus should be working now.
    $sqlplus usr/password@dbalias
    See if that helps.
    Pranilesh Chand

  • How start SQLPLUS in Oracle Express (Linux)

    My install of Oracle Database XE (SUSE Enterprise 9, FireFox, etc) and the accompanying Web app work fine. But, I am unable to start SQLPlus
    (in usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/)
    Any assistance would be appreciated!
    Thanks,
    Marcia

    Why not ask your question about Express Edition into Express Edition Forum?
    (Oracle Database Express Edition (XE)
    You need firstly register here: http://www.oracle.com/technology/xe/registration/index.html

  • Cannot Start SQLPLUS

    I have installed Oracle 8.1.5 on my RedHat 6.1 system. I seem to be able to create a database, but cannot delete or modify it, get a "not logged-on" error. Cannot start sqlplus, get a no such command error. Cannot run the demobld, it errors out, saying "cannot find sqlplus"
    any ideas??
    null

    the svrmgrl tool requires OS user to be oracle.
    to find oracle executables, add $ORACLE_HOME/bin to your PATH variable.
    And, the 8.1.5 installation leaves the
    programs in $ORACLE_HOME/bin with the WRONG execute permissions. do chmod +x $ORACLE_HOME/bin
    null

  • How to login to sqlplus on Fedora 14

    Hi,
    I tried to logon to sqlplus after an Oracle 10g R2 installation on Fedora 14 but I got the error message
    "Command not found"
    Does anyone know how to configure sqlplus on Fedora 14?

    Config your enviroment ,add the $ORACLE_HOME and PATH=$ORACLE_HOME/bin:$PATH; then try again.

  • Error starting SQLPLUS after updating Fedora Core 5

    Hi,
    I ran "yum update" on fedora core 5 and now sqlplus does not start anymore. I get this error:
    sqlplus: error while loading shared libraries: /opt/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied
    I understand it has something to do with the SELinux policy but how can I configure my system so Oracle still works AND the security policy still works ?
    Thanks !!!
    Coen

    Hello,
    This solution ( tail -f /var/log/audit/audit.log |tee oracle.log; audit2allow -M oracle < oracle.log; semodule -i oracle.pp)
    worked for me. Can somebody explain what it did (I don't understand from the man pages)? ALso, how did this come to be. This happened to me right after a fresh install, and the machine got bounced.
    All answers are apprecaited.
    Thanks,
    Edited by: user8674025 on Nov 27, 2009 9:59 AM

  • Starting Server On Fedora Core 3

    I have -
    Fedora Core 3
    Plesk 7.5.4
    Apache 2
    PHP 5
    MySQL 4.1
    I am installing a Chatroom with a JavaSocket serve option however when I attempt to the run the startServer file which has a Java call it tells me "Java: command not found"...
    I know that Java (j2sdk 1.4.2) is installed.. and I have the Plesk/Tomcat plugin installed...
    How can I start the Java Server?? It seems simple enough lol just can't get it working

    oraclexe@fuzzy:~> sqlplus system/oracle
    SQL*Plus: Release 10.2.0.1.0 - Beta on Tue Nov 22 12:31:23 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
    SQL> select dbms_xdb.gethttpport() from dual;
    DBMS_XDB.GETHTTPPORT()
    8080
    SQL>
    If you do not get 8080, replace the http port with the result of the above.
    Recommend continuing discussion in the XE forum,.

  • Error in starting sqlplus

    Initializing first test to use userid: scott, password: tiger
    Attempting to connect using userid: scott
    The test did not succeed.
    ORA-12541: TNS:no listener
    There may be an error in the fields entered,
    or the server may not be ready for a connection.

    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    and try again as user oracle:dba
    Regards: Michael
    craig (guest) wrote:
    : Hi all,
    : I've installed Oracle on RH5.2. It all seemed to go well. No
    : i've just run the root.sh script as root. Before going much
    : further, I wanted to start up the database (via svrmgrl). I
    : tried starting both svrmgrl and sqlplus and received an error
    : (error in loading shared libraries
    : libclntsh.so.1.0: cannot open shared object file: No such file
    : or directory)
    : I ran env from root. I don't see the environment variables I
    : defined for the install (e.g., ORACLE_HOME, ORACLE_SID, etc).
    : What is wrong?
    : Any help is appreciated.
    : craig
    null

  • Starting SQLPlus via batch script

    Hi,
    When I type in: sqlplus USER/PASS@SERVER at command prompt it starts SQL Plus in the command prompt.
    Now when I save this command as .bat file and then execute this bat file it doesn't start SQL Plus. It just keeps on executing this command continuously.
    How can I start SQL Plus via a batch file.
    Thanks in advance,
    Raja

    > Once I execute the bat script it just keeps on executing this command endlessly on the command
    prompt.
    This is typically how you should start SQL*Plus in "batch" mode. Note, the script does not use the command line for the username and password, as that will make it visible to others via a process listing (that typically includes the command line for that process).
    /home/billy> cat x.sh
    #!/bin/sh
    sqlplus -s /nolog <<EOF
    set heading off
    set feedback off
    connect scott/tiger
    select sysdate from dual;
    exit;
    EOF
    /home/billy> ./x.sh
    2008-06-11 07:33

  • How to start SQLPlus

    Hello DBA Guru,
    I installed ORACLE LINUX 4 Release 7 and Oracle 10g.
    And, I 'm not sure how to start the SQLPlus.
    Please help and advise.
    Thanks,
    Edwin

    Hello,
    this forum is related to forms, so this is the wrong place to ask DBA related questions. You might be better off in the Database General forum.
    SQL*Plus is typically found in the directory $ORACLE_HOME/bin so you might take a look there.
    And just as you know: Oracle has a fine manual: http://www.oracle.com/pls/db102/homepage?remark=tahiti
    you get a solution probably much faster by searching there first then asking questions in the first place.
    cheers

  • Problem in starting sqlplus after installing http server only on red hat linux 7.1

    I have installed http server on my pc. it was installed
    successfully mt http server is running on port 7777 but when i
    am trying to run sqlplus from user root
    /home/oracle/OraHome1/bin > ./sqlplus
    it's giving msg1<lang>.msb file not found.
    error 6 intializing sql*plus
    but i have seen that sqlplus/message directory has msg1us.msb
    file . since sqlplus is a bin file otherwise i can change it's
    path. i think so.
    give expert suggestions
    brajesh karn

    What about your envirnoment variables (ORACLE_HOME, ORACLE_SID,
    ORA_NLS33) ?

Maybe you are looking for