Can't connect to SQLPlus

Hi all,
I've installed Oracle9i Database Release 2, everything went ok during the installation.
When I try to connect to the SQLPlus I get the error:
"ORA-12154: TNS:could not resolve service name".
I've checked and set up the REGEDIT in
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\TNS_ADMIN
and
\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\Home1\TNS_ADMIN
Where TNS_ADMIN is the directory of my Oracle home (Ora9iDB)
My tnsnames.ora and sqlnet.ora files I think are corretly configurated. Please see below, the database that I'm trying to connect to is TEST.OEMREP.LAN:
# TNSNAMES.ORA Network Configuration File: C:\Ora9iDB\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
TEST.OEMREP.LAN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nl4c6f31j)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = test.world)
EXTPROC_CONNECTION_DATA.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORCL.WORLD_NL4C6F31J =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nl4c6f31j)(PORT = 1521))
(CONNECT_DATA =
(SID = orcl.world)
(SERVER = DEDICATED)
INST1_HTTP.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nl4c6f31j)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
OEMREP.LAN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nl4c6f31j)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = OEMREP.lan)
# SQLNET.ORA Network Configuration File: C:\Ora9iDB\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = WORLD
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
The weird thing is that I can connect without problems to
the SQLPlus worksheet and to a PL/SQL Developer that I've download from http://www.allroundautomations.nl/PL/SQL.
I tried to TNSPing the connection from DOS but I get the same problem.
Could you please help me out on this?
Thank you,
Lilian

Lillian,
I think you may need to read up a little more on logging into SQL*Plus/Oracle, and the various users and roles created by default.
Are you trying to connect as SYSDBA, or a standard user? I would suggest you use command line SQL*Plus instead of the Windows GUI.
Open a DOS/Command window and enter something like the following to connect as SYSDBA:
sqlplus username/password AS SYSDBA
or
sqlplus / AS SYSDBA
or
sqlplus / AS SYSDBA@mydb
There are many ways to connect.
Alison

Similar Messages

  • TNSping ok..can't connect with sqlPlus ...just stopped working

    Hey Guys,
    I have an Oracle Server running for the last year with little issues.
    The lister just stopped working...
    I can TNSPing ok...I just can't connect with toad or sqlplus anymore from another computer..
    I can connect with sqlplus on the same computer...just not from any other computers.
    =================================================================
    C:\Documents and Settings\Phil>tnsping elvis 5
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 17-JUL-2008 11:10:28
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=7.7.1.1)(PORT=1521))(CONNECT_DATA=(SID=orcl)))
    OK (70 msec)
    OK (40 msec)
    OK (50 msec)
    OK (50 msec)
    OK (40 msec)
    C:\Documents and Settings\Phil>
    ==================================================
    Listener status info
    ================================================
    LSNRCTL>
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.1.0.4.0 - Production
    Start Date 17-JUL-2008 10:45:26
    Uptime 0 days 0 hr. 29 min. 2 sec
    Trace Level off
    Security ON: Password or Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    Listener Log File D:\oracle\product\10.1.0\Db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=elvis)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=elvis)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=elvis)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    LSNRCTL>
    LSNRCTL>
    LSNRCTL>
    ==================================================
    Listener.ora
    # listener.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = elvis)(PORT = 1521))
    ====================================================================
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ====================================================================
    tnsnames.ora
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = elvis)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    =============================================================================
    I am getting this error from sqlnet.log
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.1.0.4.0 - Production
    Time: 17-JUL-2008 10:23:14
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0

    LSNRCTL>
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=elvis)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 2 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:18 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: ELVIS, pid: 2284>
    (ADDRESS=(PROTOCOL=tcp)(HOST=elvis)(PORT=1027))
    The command completed successfully
    LSNRCTL>

  • Can't connect through sqlplus

    I can connect to a remote database through sqlplus only if i specify the sid:
    bash$ sqlplus system@dbsid
    Connected to ...
    if i don't, i get this error:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    local machine has just the client installed on Redhat.
    remote server machine has oracle 9iR2 on Redat AS 2.4.1
    local tnsnames.ora entry:
    DBSID.LOCALDOMAIN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = neutron.emrtc.nmt.edu)(PORT = 1521))
    (CONNECT_DATA =
    (SID = dbsid)
    server tnsnames.ora entry:
    DBSID.LOCALDOMAIN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = neutron.emrtc.nmt.edu)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dbsid.neutron.emrtc.nmt.edu)

    also, tnsping works from both machines.
    tnsping <hostname> works the same as tnsping <ip address>
    i.e.:
    [oracle]# tnsping <ip address>
    Used parameter files:
    /opt/oracle/product/9.2.0.1.0/network/admin/sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=<ip address>))(ADDRESS=(PROTOCOL=TCP)(HOST=<ip address>)(PORT=1521)))
    OK (0 msec)
    "tnsping dbsid" seems to take the DESCRIPTION= block from the tnsnames.ora file

  • Tnsping ok, but sqlplus can't connect ora-12154

    Hello All, I have installed on my linux the 10.1.0.3 oracle client and I can do tnsping to my tnsnames.ora databases but I can't connect with sqlplus... I have an error: ora-12154
    I have readed metalink documentation and I think everything is ok, but still can't connect... :( Can anybody help me please?
    Here is some extra data:
    -My env vars are:
    ORACLE_HOME=/home/j0nuntu/OraHome_1
    TNS_ADMIN=/home/j0nuntu/OraHome_1/network/admin
    TNSNAMES=/home/j0nuntu/OraHome_1/network/admin
    -My tnsnames.ora:
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.53)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.249)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLE)
    As I said, tnsping to test or oracle is ok... tnsnames.ora is in the correct path and there it has 775 perms on it. What can be happening?
    Thanks in advance.

    Also, make sure it is using the correct tnsnames.ora file.
    Do you have multiple copies of this file in different directories?
    post the contents of your sqlnet.ora file as well.

  • Cannot connect via sqlplus as sysdba

    Hi,
    I have Oracle 10g setup on Redhat Enterprise v4. I was able to do everything I needed until I rebooted. Now I can't connect using sqlplus. I get error ora-01031 when I type "connect system/*** AS SYSDBA" Anyone know what why this is happening?
    Any help would be appreciated.
    Thanks,
    Adam

    According to me this should be dba, why its showing the group as oracle?I'm not sure why it's showing up as oracle. Do I need to change this? As far as I can tell, oracle is a group that no user is a member of.
    Did you ever able make connection using / as sysdba?On this computer, I don't think I ever logged in as sysdba other than just as a system user.
    What group did you specify while installing the software?groupadd oinstall
    groupadd dba
    groupadd oper
    usermod -g oinstall -G dba oracle
    Pretty much followed http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRedHatAS4.php and the oracle docs on installation.
    Message was edited by:
    user529261

  • I can't connect Oracle 7.3.2.1.0 by sqlplus anymore!

    Hi!
    I have an Oracle 7.3.2 for Irix installed before.
    When I install Oracle 8.0.5 for Linux without Pro*C,
    I can connect Oracle 7.3.2 by "sqlplus scott/tiger@remote".
    But if I include Pro*C installed, I can't connect Oracle
    7.3.2 by the same command anymore.
    What should I do to solve this problem?
    I can compile Pro*C program but get the same response :
    ORA-01017: invalid username/password; logon denied
    password is right for sure, server just doesn't accept.
    null

    My problem is a little different from your. I have both
    Oracle 7.3.2 and 8.0.4 on our Sun workstation. I can connect
    to Oracle 8.0.4 using both sqlplus and embeded SQL. However,
    I could not connect to Oracle 7.3.2 by sqlplus or embeded SQL.
    Error Message: ORA-12545: Connect failed because target host
    or object does not exist
    It's is a bug or it's not support to connect to old Oracle
    Version??? If anyone have a solution please let me know.
    Larry Gump (guest) wrote:
    : Hi!
    : I have an Oracle 7.3.2 for Irix installed before.
    : When I install Oracle 8.0.5 for Linux without Pro*C,
    : I can connect Oracle 7.3.2 by "sqlplus scott/tiger@remote".
    : But if I include Pro*C installed, I can't connect Oracle
    : 7.3.2 by the same command anymore.
    : What should I do to solve this problem?
    : I can compile Pro*C program but get the same response :
    : ORA-01017: invalid username/password; logon denied
    : password is right for sure, server just doesn't accept.
    null

  • Sqlplus problem, can't connect

    Ok, so I managed to finally install Oracle 11g R1 on Ubuntu 8.04 Linux_64.
    I can successfully connect over the URL https://IP:1158/em
    I unlocked the HR example account with it's tables and gave it a new password. When I type sqlplus from command line, it starts and then I uter HR for user and it's password and I get that error...
    As far as I am aware Oracle is running, what could be wrong ?
    I am running a dual-cpu AMD64 2.2 each with 4GB ram.
    raymond@kodiak:~$ sqlplus
    SQLPlus: Release 11.1.0.6.0 - Production on Sat Aug 30 10:45:57 2008*
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Enter user-name: HR
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    Edited by: rompstar_206 on Aug 30, 2008 10:49 AM

    Here is my /etc/init.d start up script
    I get an error when I try to manually start the db ./oracledb start produces the following:
    raymond@kodiak:/etc/init.d$ sudo ./oracledb start
    Starting Oracle:
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 30-AUG-2008 11:54:22
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /home/raymond/app/raymond/product/11.1.0/db_2/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System parameter file is /home/raymond/app/raymond/product/11.1.0/db_2/network/admin/listener.ora
    Log messages written to /home/raymond/app/raymond/product/11.1.0/db_2/log/diag/tnslsnr/kodiak/listener/alert/log.xml
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12555: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00525: Insufficient privilege for operation
    Linux Error: 1: Operation not permitted
    Listener failed to start. See the error message(s) above...
    bash: /home/raymond/app/raymond/product/11.1.0/db_2/bin/dbstart: Permission denied
    bash: /home/raymond/app/raymond/product/11.1.0/db_2/bin/emctl: Permission denied
    OK
    raymond@kodiak:/etc/init.d$
    /etc/init.d/oracledb file contents:
    #!/bin/bash
    # /etc/init.d/oracledb
    # Run-level Startup script for the Oracle Instance, Listener, and Web Interface
    export ORACLE_HOME=/home/raymond/app/raymond/product/11.1.0/db_2
    export PATH=$PATH:$ORACLE_HOME/bin
    ORA_OWNR="oracle"
    # if the executables do not exist -- display error
    if [ ! -f $ORACLE_HOME/bin/dbstart -o ! -d $ORACLE_HOME ]
    then
    echo "Oracle startup: cannot start"
    exit 1
    fi
    # depending on parameter -- startup, shutdown, restart
    # of the instance and listener or usage display
    case "$1" in
    start)
    # Oracle listener and instance startup
    echo -n "Starting Oracle: "
    su $ORA_OWNR -c "$ORACLE_HOME/bin/lsnrctl start"
    su $ORA_OWNR -c $ORACLE_HOME/bin/dbstart
    touch /var/lock/oracle
    su $ORA_OWNR -c "$ORACLE_HOME/bin/emctl start dbconsole"
    echo "OK"
    stop)
    # Oracle listener and instance shutdown
    echo -n "Shutdown Oracle: "
    su $ORA_OWNR -c "$ORACLE_HOME/bin/lsnrctl stop"
    su $ORA_OWNR -c $ORACLE_HOME/bin/dbshut
    rm -f /var/lock/oracle
    su $ORA_OWNR -c "$ORACLE_HOME/bin/emctl stop dbconsole"
    echo "OK"
    reload|restart)
    $0 stop
    $0 start
    *)

  • Owb can connect sqlserver, sqlplus+ can't.

    I created a non-oracle location connection in owb and can load data from sqlserver to warehouse. Now, I want to use sqlplus or sqldeveloper to connect sqlserver directly, But I got this error message"ora-03135:connection lost contact".
    How can I connect sqlserver in sqldeveloper or sqlplus?
    Thanks

    Napo,
    I think it is impossible to directly connect to MS SQLServer with Oracle developer tools (SQL*Plus and SQL Developer).
    Heterogeneous Services contains two components - HS in Oracle database and Agent,
    and according documentation most of the processing related to heterogeneous connectivity is done in Oracle database.
    When you try to connect with SQL*Plus directly to SQL Server you use only Agent component, so I think appearing of error ora-03135 is expected behavior.
    But you can create in Oracle DB schema database link based on HS connect string and after that you can access MS SQL Server tables over this database link.
    Regards,
    Oleg

  • Sqlplus can't connect to database from within a Virtual PC

    Yes I know it's not supported but this question is for those people who want to help or have actually got it working :-)
    I have an XP machine with a 10gR2 database.
    I have a virtual machine on that XP machine which has the 10gR2 client installed on it.
    While the configuration doesn't necessarily make sense (normally you'd put the database in the VM ) it's done for testing reasons.
    All firewalls are off. The database is up and connections to is are fine from other machines.
    The virtual PC can ping the host and tnsping the listener without a problem but any attempt to connect using sqlplus gives an error
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    C:\Documents and Settings\Administrator>tnsping myc10a
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-AUG-2
    008 10:10:02
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = pwrwks10
    20)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME
    = MYC10)))
    OK (20 msec)
    C:\Documents and Settings\Administrator>sqlplus cms/cms@myc10a
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 6 10:10:06 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    It's quite obviously an issue with the virtual PC. Has anyone tried this and have they figured out how to get it to work?
    Regards,
    David

    ERROR:
    ORA-12154: TNS:could not resolve the connect
    identifier specified
    C:\Documents and Settings\Administrator>sqlplus
    cms/cms@myc10a
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug
    6 10:10:06 2008
    Copyright (c) 1982, 2005, Oracle. All rights
    reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect
    identifier specifiedORA-12154 means "I looked in the TNSNAMES.ORA file I am trying to use (out of the potentially several on the machine) but I could not find an entry with "myc10a =", or "myc10a.{default_domain in the sqlnet.ora} ="
    All tnsnames.ora entries look like
    alias = description( ... )
    and it can not find your alias. You might have several tnsnames.ora files. Or your file is not correct. Or you also have a sqlnet.ora file that contains a default domain entry, which would be appended to any alias passed in without a '.domain'
    Suggest you post the tnsnames.ora and the sqlnet.ora
    (And yes, I have that configuration working.)
    Message was edited by:
    Hans Forbrich

  • Can't connect to database or Database Home Page (after installation)

    sorry that i have to make another thread for this problem, but i didnt found an equal problem to mine.
    after installing oracleXE 10, i get an error message in my firefox, if want to start 127.0.0.1:8080/apex.
    i have win xp pro. in command line i tryed to connect to sqlplus:
    c:\>sqlplus
    user-name: system
    password: <password>
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    and by trying:
    C:\>sqlplus system/<password>@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 13 17:37:21 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    my services are running. (Listener and ServiceXE)
    lsnrctl status says:
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=compi)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    i think the problem is the status UNKNOWN
    in windows the PATH is set to: E:\oraclexe\app\oracle\product\10.2.0\server\bin
    i hope i have the important details posted
    its my second day, and i have no clues what to do. its my first time for Oracle.
    can someone help?
    Message was edited by:
    crunchy_nut

    it seems he can not find the file spfileXE.ora while i tried to shutdown the database, the folder dbs is empty.
    the best is, i show you what the command tells me:
    C:\Dokumente und Einstellungen\Daniel>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 14 07:32:17 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> shutdown immediate
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file 'E:\oraclexe\app\oracle\product\10.2.0\serv
    er\dbs/spfileXE.ora'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) Das System kann die angegebene Datei nicht finden.
    during installation of oracle, i got no error message or something.
    i hope this is not a big problem :-(
    Message was edited by:
    crunchy_nut

  • Connect to SqlPLus

    Hi to everybody
    I installed oracle Client 10g-home2 in my laptop having the Windows 7 Home premium OS.. But I cant able to connect with
    SQLPLUS. After entering the Username,password,hoststring it is exiting.. It doesn't show any errors..
    Can anyone tel whats the problem also whats the username,password and host string need to give??
    How can I check If oracle Database is installed or not??
    Thanks in advance

    There are several issues with the information you have posted.
    First, you have installed the client - this is software needed to access a database on a remote computer. This does not include the software needed to create a database. For this, you will need to install the full blown software (which also includes the client piece) and create a database.
    Second, no Oracle software is supported/certified on any Windows Home version. You will need to upgrade to Win 7 Professional or higher, or downgrade to Win XP Pro.
    The database software download for 11gR2 is available here - http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    The Install Guide for 11gR2 is here (for Win) - http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/toc.htm
    When you install the software on a supported OS, one of the options is to create a database (typically named "orcl") during the install process - you select a password when creating the database. Or you could install the software first, then create a database using DBCA (database creation assistant) - pl review the Guide posted above
    HTH
    Srini

  • Can't connect to Express Edition 11g by sql developer

    hello,
    i installed the 11g edition and try to connect to it by sql developer. it didn't work, then I noticed there was an older version (10g) on the laptop. So i removed both, and installed the 11g version, but still it doesn't work.
    My laptop runs on 32-bit windows 7 so I got the 32bit installer of 11g.
    I checked several other threads, but didn't found a solution.
    Some information:
    connecting by sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Di Nov 8 09:34:25 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    tnsping
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-NOV-2011 09:32:43
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=fe80::7944:fff9:594b:a534%12)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=fe80::831:366f:f5fe:eab5%16)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.21.74)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=2001:0:5ef5:79fb:831:366f:f5fe:eab5)(PORT=1521)))
    OK (0 msec)
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-NOV-2011 09:29:24
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date 08-NOV-2011 08:51:17
    Uptime 0 days 0 hr. 38 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\W7-008436\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=W7-008436.iconos.be)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=W7-008436.iconos.be)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully

    bop wrote:
    The error message indicates that Oracle XE is not running. You can check that in several ways, e.g. by entering Computer Management - select Services and check if OracleServiceXE and OracleXETNSListener are running.
    You can also check log files (*.log,*.trc) in directory C:\oraclexe\app\oracle\diag\rdbms\xe\xe\trace and look for error messages.the services were started.
    I found an error in the "alert_xe.log"
    Errors in file C:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_j000_388.trc:
    ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
    ORA-06550: line 1, column 807:
    PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared
    ORA-06550: line 1, column 807:
    file xe_j000_388.trc: Trace file C:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_j000_388.trc
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    Windows NT Version V6.1
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x0x00000000
    Memory (Avail/Total): Ph:2120M/3063M, Ph+PgF:4631M/6124M, VA:1095M/2047M
    Instance name: xe
    Redo thread mounted by this instance: 1
    Oracle process number: 27
    Windows thread id: 388, image: ORACLE.EXE (J000)
    *** 2011-11-14 08:35:58.999
    *** SESSION ID:(102.5) 2011-11-14 08:35:58.999
    *** CLIENT ID:() 2011-11-14 08:35:58.999
    *** SERVICE NAME:(SYS$USERS) 2011-11-14 08:35:58.999
    *** MODULE NAME:(DBMS_SCHEDULER) 2011-11-14 08:35:58.999
    *** ACTION NAME:(BSLN_MAINTAIN_STATS_JOB) 2011-11-14 08:35:58.999
    ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
    ORA-06550: line 1, column 807:
    PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared
    ORA-06550: line 1, column 807:
    PL/SQL: Statement ignoredso apparently somewhere the parameter DBSNMP.BSLN_INTERNAL is not declared, but how do i fix it?
    bop wrote:
    I don't quite understand the mention of hostname related to sqlplus, do you have several Oracle installations? On a machine with Oracle XE you can normally select "Run Sql Command Line" and you are prompted like this:
    SQL*Plus: Release 11.2.0.2.0 Production on To Nov 10 23:47:26 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect system/pwd
    Connected.
    SQL>it was a reply to the post of orafad

  • Oracle Enterprise Manager can't connect to database after installation

    Hello, I have a problem with Enterprise Manager. I installed Oracle 10g and the patch 10.2.0.2. After install, I could connect to database from SqlPlus without problems, but when I try to connect from AllPrograms - Oracle - DatabaseControl or since the Web browser with http://servername:1158/em nothing happen. I reviewed the status of dbconsole with emctl status dbconsole but the status is running. I recreated the repository with emca -deconfig.......-repos drop and emca -config ...... -repos create , but nothing happened. I reviewed some threads in this forum, but I didn't find the solution. Finally I could connect from the browser but with http://localhost:1158/em. Do you help me how can I connect from Database Control, because the operators in Computer Center should monitor the instance since there, and when I want to connect since my own PC how can do it?
    Thanks for your help and excuse my English, I am from Bogot&aacute; Colombia.
    Sincerely Rub&eacute;n

    Hi,
    Check the network connectivity between db server and pc from where u want to access em.
    Check the listener service.
    Check firewall settings, it should be off.
    Regards,
    Xaheer

  • Can I just issue sqlplus command like a Korn shell does in python?

    Hi
    I have a question on python as an Oracle DBA. Do I have to have cx_oracle or another similar compenent in order to access Orade database? Can I just do sqlplus like a Korn shell does?
    I am an Oracle DBA. Daily job requires shell scripting. I am skilful at Korn/BASH which I use on a daily basis to interact with database. However, I found them not powerful and flexible enough to handle text and strings. I am new to both Perl and Python. I pick Python because it is easy to read and maintain. Learning curve is not as steep as Perl.
    I am not a developer who cares much about data types compatability or APIs. I do care about how to pass Unix variables in Python. A typical task is like
    =================================================
    set Unix environment variables (each database has a line in a file)
    use sqlplus to connect to each database specified in the file, i.e. looping
    get information I want and store them in files, i.e. logs
    end loop
    do text/string manipulation againt the log file
    if error is found, send email alert to DBA
    =================================================
    Thanks,
    Kevin

    Kevin,
    Python has some great libraries to do what you are asking in the Unix enviornment:
    To get enviornmental variables:
    ====================
    import os
    # store the env var audit_username in a variable; if it doesn't exist, use 'davew' as the default
    username = os.getenv("audit_username",default='davew')
    To run Unix commands:
    ====================
    import commands
    # run a command from unix (example from Python manual
    commands.getstatusoutput('ls /bin/ls')
    Dave Warner

  • Can't connect to APEX 3.0.1

    HI! I have a problem with APEX 3.0.1. I install it into Oracle XE 10g (with APEX 2.1). After that a can't connect to the Oracle Application Express Administration Services to create a workspace. My SYS and (or) SYSTEM password don't work. I receive "Invalid Login Credentials", but other soft (plsqldev, sqlplus) connect to database with my password without any problems... Is any way to settle this problem?

    Look at this:
    http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html
    Once you complete the standard install, you need to perform the following steps to complete the upgrade:
    1. Connect to SQL*Plus as SYS
    2. @APEX_HOME/apex/apxldimg.sql APEX_HOME
    3. @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    For the steps above, APEX_HOME is the directory where the Application Express software was unzipped.

Maybe you are looking for

  • Schedule lines combined in sales order

    Dear All, We have a sales order item with say 2 schedule lines as below Date                  Order Qty      Rounded Qty     Conf. Qty     Delivered Qty 05.10.2010        60                  60                      0                  0 18.11.2010    

  • Duplicate records: Process : Delete Overlapping Requests from InfoCube

    Hi Experts, We are loading data in standard costing cube with standard available option Full upload. In our process chain we have included process type "Delete Overlapping Requests from InfoCube". In our scenario we always load yesterday and today's

  • JTable issues

    I'm using JDK 6 and i would be glad to get answers to the following regarding JTable? 1) I am using setAutoCreateRowSorter(true) to enable sorting of my JTable columns. When i have a sorted column which is editable, how can i prevent the column from

  • Load balancing among multiple CPU

    I am using a java based application on windows server 2008 r2 64bit and JRE 6u17.The server has multiple processor.But when we run the application only one cpu takes the 100% load and cant balance the load.But if we run the application on windows xp

  • Problem downloading Lightroom 5

    I bought the Photo-package* with Lightroom 5 and Photoshop CC inclued, but I can't find Lightroom 5 on the Creative Cloud App on my computer... When I search on Lightroom 5 on Adobe.com I can only by it seperatly or download a trial-version, but I've