Gives ORA-12154 error, when trying to connect as sysdba

Hi Gurus,
I am new to oracle. I have successfully install Oracle Database 10gR2 on RHEL4.
Everyghing is working fine.
I found that loging through sqlplus not success as sysdba.(ORA-12154) But as a normal user I can loging through sqlplus. Anyway I can loging as sysdba through emctl console.
Can anyone help on this pls. Urgent.......................

You're welcome.
I dont know how this happened Probably your old password had some special characters within it, that's why I wanted to know if connecting without password did work. Then I would have advised you to change your password (avoiding special characters...).

Similar Messages

  • ORA-12154 error when trying to connect to Oracle 11g DB from Excel 2010

    All,
    I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?

    user10832104 wrote:
    All,
    I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?
    If you are able to connect with sqlplus, then this really becomes a question of how to define a data connection in Excel.
    But after quickly googling ..
    In excel ...
    "Data" tab
    "from other sources"
    "from data connection wizard"
    select ODBC DSN
    On data link properties, select the "connection" tab
    select "Use Data Source Name" and hit the drop-down
    select a dsn that you had previously set up to point to the oracle database.
    Anyway, that looks like how it is supposed to be done.  I'm getting a dll initialization error.  Probably due to the fact I have both 32-bit and 64-bit oracle clients, and windows never handles that very gracefully.  But then Windows never graceffully handles anything that isn't MicroSoft.   To paraphrase Forest Gump, "My momma always said Windows was like a box of chocolates.  You never know what you're going to get."
    In any event, the error you report means it was actually tying to look it up in tnsnames, but what you supplied wasn't found there.  That can also be a big issue when dealing with MS products, because they don't use the same terminology, so lead people into entering something other than what Oracle expects.  Are you referencing an ODBC DSN?  If so, have you tested that apart from Excel?

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • ORA-06413 Error when trying to connect through Win ME.

    When I am trying to connect to Oracle 8.0.4 database on SCO
    Unixware 7.1.0 though SQL*Plus on Windows ME. It gives error ORA-
    06413: Connection not open. But it allows to connect through
    Windows 95/98/NT. What may be the reason?

    yes it does list wham3.....here's the output of lsnrctl services wham3
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEP-2005 15:53
    :34
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=juipinj.corp.whamtech.co
    m)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=wham3)))
    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 " wham3.corp.whamtech.com" has 1 instance(s).
    Instance "wham3", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:46 refused:0 state:ready
    LOCAL SERVER
    Service "wham3XDB.corp.whamtech.com" has 1 instance(s).
    Instance "wham3", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: JUIPINJ, pid: 2024>
    (ADDRESS=(PROTOCOL=tcp)(HOST= JUIPINJ.corp.whamtech.com)(PORT=1073))
    Service "wham3_XPT.corp.whamtech.com" has 1 instance(s).
    Instance "wham3", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:46 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

  • Getting OERR: ORA 12705 error when trying to connect.

    I have tomcat running on red hat and I'm trying to connect to a remote server running Oracle 10g using a thin driver. But I keep getting this error when I try to connect. I've tried setting NLS_LANG=AMERICAN_AMERICA.UTF8, NLS_LANG=AMERICAN_AMERICA.US7ASCII, and NLS_LANG=.
    I'm not doing any ALTER SESSIONS. I wrote a test app and all it does is connect and does 1 simple select query.

    Unset it on the client and try again.
    Also see if Note:294104.1 will help you

  • ORA-12560: TNS:protocol adapter error when trying to connect

    hopefully somebody can help me out... the problem i'm having is connecting to the scott/tiger database. i keep getting :
    "ORA-12560: TNS:protocol adapter error" when trying to connect to it. it worked previously, but i unistalled oracle 8i personal and reinstalled it. now it doesn't let me connect. what's going on?
    thanx,
    uriah

    You can run the net8 assistant to set up your tnsnames.ora file.
    start/programs/oracle/network administration/net8 assistant
    When you are done it should look something like this:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
         (PROTOCOL = TCP)
         (Host = )
         (Port = 1521)
    (CONNECT_DATA = (SID = ORCL))
    Bev

  • Oracle Fatal error when trying to connect through sqlplus

    Hi,
    I am getting the below error when trying to connect to instance through sqlplus
    Database version is :10.2.0.3
    Operating system= Solaris Operating System (SPARC 64-bit)
    OS version=5.10
    [lscbd07p2*BMC]-\ORACLE>sqlplus
    SQL*Plus: Release 10.1.0.4.0 - Production on Fri Nov 9 07:48:24 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    ld.so.1: oracle: fatal: relocation error: file /u01/app/oracle/product/db/10.1.0.4/lib/libjox10.so: symbol kststop_: referenced symbol not found
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    Could you all please give me suggestions in order to solve this problem.
    Thanks
    Mannu

    Have you recently patched/upgraded? This sounds like there might have been a problem relinking the executables / libraries, and/or a permissions problem. For example you may be referencing a 32 bit library with your 64 bit client.
    I believe I recently read a similar case - check Metalink for this symptom.
    HTH
    Regards Nigel

  • I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed.

    I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed. I've tried all suggestions from apple and nothing will work.
    Please Help

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • Getting Error when trying to connect to the Primavera database. PPM V7 SP3

    Hi Guys,
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService' defined in class path resource [com/primavera/bre//com/primavera/bre/integration/intgconf.xml]: Invalid destruction signature; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named 'destroy' on bean with name 'mailService'
    I have looked into the intgserver.jar under P6IntegrationAPI/lib and looked the com.primavera.infr.srvcs.MailServiceImpl.java and can see that there is no destroy method whereas it is defined in the com.primavera.bre.intergration.intgconf.xml as below
    <!-- provides mail services -->
    <bean id="mailService" class="com.primavera.infr.srvcs.MailServiceImpl" init-method="init" scope="singleton" destroy-method="destroy"*+>
    <property name="adminManager"><ref bean="adminManager"/></property>
    <property name="threadPool"><ref bean="threadPool"/></property>
    <property name="settingsManager"><ref bean="settingsManager"/></property>
    </bean>
    I get the above error when trying to connect to the Primavera database. I use PPMV7 SP3 and I have installed the Integration API from EPPMV7 bundle.
    My demo's are working fine.
    Any help would be appreciated.
    Thanks,
    Kajal.

    Hi Marc,
    I am using a userid (is an admin)
    Using global login method and provided userid & password in integration settings.
    In the machine profiles, provided userid, password and domin.
    Not providing domain in weblogin.
    With all the above I am still getting error "Could not authenticate the specified user. %0" for HFM application
    And with the same settings I am not getting any error to connect to essbase cube.
    Any suggestions?
    Thanks
    Krishna

  • Errors when trying to connect CRM 7.0 to Enterprise Search

    Hi!
    I encountered 2 errors when trying to connect to a CRM 7.0 system as a backend system from Enterprise Search Cockpit.
    The first error is related to ESH_INT_GET_TREX_DESTINATION with a message of ESH_OM_OBJ_MODEL_REP 517:
    http://img39.imageshack.us/img39/9722/eserrors1.jpg
    The second error is related to "Errors during data cluster import from remote system":
    http://img97.imageshack.us/img97/7976/eserrors2.jpg
    I don't know if these two errors are related, but any help or suggestions will be greatly appreciated!!
    Thank you!
    Regards,
    Paul

    4.0 should be fine. My initial thoughts were on the script targetting a framework lesser than 3.5. Am bummed about the error cause in the line
    ClientContext clientContext =
    new ClientContext(client);
    it just creates an instance of the ClientContext class. It should have nothing to do with permissions cause it is not even trying to connect to the sharepoint site. So it looks like it can't find the assembly. Can you place the asembly
    under the Microsoft.Net\Framework folder of your machine. SSIS looks for custom assemblies in this folder on design time (Refer
    this) Worth a try hey!
    http://btsbee.wordpress.com/

  • Keep getting sync service error when trying to connect my iphone 5S.

    Keep getting sync service error when trying to connect my iphone 5S. It freezes itunes and I can't do anything else. I see that there is an update for my phone and I need to back up, upload new apps, etc before installing. I plug my phone in and get this error every time. I am using a Win 7 SP1

    Howdy Susie48825,
    It sounds like you are getting an error that mentions the sync services when you connect your phone to your computer and so you cannot sync your device. I would use the troubleshooting from the following article that  mentions an error regardign the sync services named:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/ts2690
    Start with these steps:
    1. Check that iTunes is up-to-date
    Ensure that you have updated to the latest version of iTunes.
    2. Reset Sync History
    Resetting your Sync History is a simple step which may resolve some syncing issues. If this works, iTunes will prompt to Merge or Replace the information on your device when you next attempt to sync. To reset your Sync History:
    Disconnect your device.
    Open iTunes.
    From the Edit menu, choose Preferences.
    Click the Devices tab.
    Click the Reset Sync History button, and then reconnect your device.
    If this resolves the issue, and you know all of your contacts, calendars, bookmarks and notes are on your computer:
    Reset the Sync History again using the steps above.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" select Contacts or Calendars.
    Click Apply.
    If the issue persists, and you know all your contacts, calendars, bookmarks and notes are on your iPhone, iPad, or iPod touch:
    Remove all of the contact and calendar information from Outlook.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" make sure Contacts and Calendars are not selected.
    Click Apply.
    There are additional steps to use in the article if needed, but these will get you started.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • ORA-12514 when trying to connect as sysdba

    Hello All,
    I am using ORACLE 10g R2
    when trying to connect to SQLPUS in order to startup a database using the below commands :
    set ORACLE_SID=dbname
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Nov 3 10:50:13 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> connect sys/password@dbname as sysdba
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I am facing the ORA -12514
    Please advise how to solve it
    Regards,

    Hello,
    My database is defined in the tnsnames and below is the status of the listener, you can see that the "The listener supports no services"
    is it related to the problem, How can i force the listener to support my service?
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Produ
    ction
    Start Date 03-NOV-2009 10:49:34
    Uptime 0 days 1 hr. 5 min. 21 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=-----)(P
    ORT=1521)))
    The listener supports no services
    The command completed successfully

  • Why do I keep getting a connection error when trying to connect to SQL?

    Environment:
    LiveCycle ES2
    Windows Server 2008
    JBOSS
    Oracle Application DB
    When trying to connect to SQL, I get this error message in the log.
    Exception: Could not create connection; - nested throwable: (java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.))
    I have these two files located in \\jboss\server\lc_oracle_cl\lib
    sqljdbc.jar
    sqljdbc4.jar
    I was told all I needed to do was drop these two files in the directory above and restart JBOSS. Is there something I'm missing?
    Jesse

    Hi Jesse,
    The driver you are using is for SQLServer Database. Since you are using Oracle as your database, you need an oracle driver.Please copy ojdbc6.jar from the [installDir]/lib/db/oracle/ directory and try again.
    Thanks,
    Ruchi

  • Sql Server Web Edition Reporting Services errors when trying to connect to Windows Azure SQL

    I am using a preconfigured image from the Azure VM Gallery to create a VM.
    --> Sql Server 2012 SP1 Web running under Windows Server 2008 R2
    After configuring Reporting Services I get the following error when trying to run a report that connects to my Azure SQL db.
    An error has occurred during report processing. (rsProcessingAborted)
    An attempt has been made to use a data extension 'SQLAZURE' that is either not registered for this report server or is not supported in this edition of Reporting Services. (rsDataExtensionNotFound)
    On the VM using SSMS I can connect to the Azure SQL db.  On the VM in Report Builder when I define a connection I get a similar error to the one above when I test that connection.  I am using Microsoft Azure SQL as the data source type. 
    Interestingly in Report Builder, if I proceed past the connection definition, I can see the tables from my Azure SQL db in the dataset definition page.
    One more note.  If I use a different image from the Gallery (Sql Server 2012 Standard SP1 on Windows Server 2012) my report builder connection works and the reports run fine.  I believe that the Azure documentation says that Sql Server Web edition
    is an acceptable choice for the SSRS on VM for reporting.
    Any thoughts or suggestions?
    Thanks -- Tom Reilly

    Hello,
    A VM with SQL Server 2008 R2 or 2012 supports all Reporting Services features, including all supported data sources, customization and extensibility, and scheduled report execution and delivery.
    Did you run the report in Report Manager,or preview the report in Report Builder? Which version of the Report Builder you installed in the Windows Azure VM? SQL Reporting does not support reports created from Report Builder 1.0 or 2.0. You can create reports
    using Report Builder 3.0 and then upload the reports.
    What's more, please also check the database source credential of the report.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Error when trying to connect in synch manager

    Hi there,
    When trying to connect to an administration in synch manager, an error appears: SBO Error #-111: Failed to Connect to SBOCommon
    System:
    SAP Business One 2007A PL42
    SQL Server 2005
    SAP Webtools 2007 PL 13
    Kind regards,
    Andy Grootens

    Hello Andy,
    Can you log in to this instance of business one normally?
    Did you set the username and password to connect in the synch manager?
    Have you recently changed the users password?
    James

Maybe you are looking for