Problems when I try to connect to sqlplus

Hi,
Can someone help me with the following problem?
When I try to connect to sqlplus I get this response
"ora 12514: listener could not resolve SERVICE_NAME given in connect descriptor "

user555145 wrote:
this is the tnsnames.ora
"# tnsnames.ora Network Configuration File: C:\oracle\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcl)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
the sqlnet.ora
"# sqlnet.ora Network Configuration File: C:\oracle\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
and listener.ora
"# listener.ora Network Configuration File: C:\oracle\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(ORACLE_HOME = c:\oracle\bin)
(SID_NAME = ORCL)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(PROGRAM = extproc)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = user.mycomputer.com)(PORT = 1521))
There are lots of mismatches in your files.
Tnsnames point to a host called "orcl" but listener is listening on user.mycomputer.com. Why it is so ?
Second, in the listener.ora , the global db name is set to Oracle8 while sid is set to ORCl.
Can you try removing all these , match the files, restart teh listener and retry connection please?
HTH
Aman....

Similar Messages

  • IOS7 : blank browser when i try to connect to a wifi signal. Someone knows the apple-urls that are called to add to a whitelist?

    I´ve a problem when i try to connect to a wifi signal, an external browser is launched and it goes blank.  Someone knows apple-urls that are called in this case?, i was thinking to add to a whitelist into my router.
    Thanks.

    Contact your it department.
    You are blocked by a firewall.

  • I have a Mac notebook and it says it's connected to wifi, but when I try to connect to any search engine it does not.  What is causing it to not actually connect.  My pc connects no problem.

    It seems that all apple products used in my house at times will not connect to our wifi.  It's hit and miss.  It says I am connected, but when you try to connect to any search engine it does not.  I have disconnected and reconnected the power to the dsl provider and to our wifi units.  I have rebooted the computers.  I have reentered the password.  Still no connection.   We do not have connectivity issues with our PC products.  Anyone have any answers for me?

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I get error (-15006) when I try to connect air play true Apple TV. No problem with my old PC.mit with my Mac i get that error.

    Hi, I get error (-15006) when I try to connect air play true Apple TV. No problem with my old PC. with my Mac i get that error.
    It is true the Ithunes I get the problem.
    What can I do to fix this.
    I also have problem some times to conect to my Ipad to Apple tv. Some time I have to restart my Ipad to get conection to Apple t. whay is that ?
    can some one help me ?

    Hi whitwick,
    If you are having issues with your network connection when attempting to use AirPlay, you may want to use the steps in this article to troubleshoot -
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Apple TV keeps telling me there is a problem with my apple ID and password when I try to connect to home sharing. I have checked and rechecked and re-entered several times with same message.

    I just bought an Apple TV and am trying to set it up. I am connected to wireless, is having difficulties setting time and date. When I try to connect to iTunes and sharing. It keeps telling me that there is a problem with my apple ID and password. I have quadruple checked and re-entered and it won't recognise it. What do I do? Dan.

    Sounds like it is more an issue of connecting to the internet. Not just the WiFi Some people have reported that performing a power cycle on their Internet router solved this.

  • TS1967 i have a problem when i try to update or install apps in my ipad, and a message come up says "can not connect to Itunes Store", anyone know why? please advise. however i had update all my detail of payment method.

    i have a problem when i try to update or install apps in my ipad, and a message come up says "can not connect to Itunes Store", anyone know why? please advise. however i had update all my detail of payment method.

    Settings > General > Reset > Reset Network Settings.
    Power cycle the router.
    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • Database connection problem when i try store the values in JTable

    Hi Sir,
    I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
    Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
    "Invalid Cursor State".I need to solve this problem.pls. do help me.
    I will provide u with the code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.sql.*;
    public class DataBaseVector extends JPanel
    //Container contentPane=getContentPane();
    JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
    JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
    Image i1;
    String url="jdbc:odbc:Ananth";
    Vector col=new Vector();
    Vector rows=new Vector();
    Vector rdata=new Vector();
    Connection conn;
    public DataBaseVector()
    //super("JTable With ScrollBars");
    this.setLayout(new BorderLayout());
    UIManager.put("ScrollBar.track",Color.red);
    UIManager.put("ScrollBar.thumb",Color.blue);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn=DriverManager.getConnection(url); // Is there any problem here?
    Statement st=conn.createStatement();
    ResultSet rs=st.executeQuery("Select * from AccountMaster");
    // rs is the result set obtained
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
    for(int i=1;i<=cols;i++)
    col.addElement(rsmd.getColumnName(i));
    rdata.addElement(rs.getString(i));
    rows.addElement(rdata);
    }catch(Exception e)
         System.out.println("The Error Message was:"+e.getMessage());
    JTable jt=new JTable(rows,col);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp=new JScrollPane(jt,v,h);
    this.add(jsp,BorderLayout.CENTER);
    this.add(jsb, BorderLayout.SOUTH);
    this.add(jsb1, BorderLayout.EAST);
    public static void main(String args[])
    JFrame jf=new JFrame();
    JPanel frame=new DataBaseVector();
    jf.getContentPane().add(frame);
    jf.setSize(800,600);
    jf.setVisible(true);
    Thanx,
    m.ananthu

    The problem is ResultSet.next() is not called.
    Try this and modify the table creation as you need.
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
         while(rs.next()) {
              for(int i=1;i<=cols;i++)
                        col.addElement(rsmd.getColumnName(i));
                        rdata.addElement(rs.getString(i));
              rows.addElement(rdata);
    Hope this helps

  • Please help!!! I get this message: Forbidden (403) CSRF verification failed Request aborted when I try t0 connect an app to facebook. I did not have this problem before I downloaded Firefox 4. How do I get rid of this and fix it???

    How do I get rid of this message: Forbidden (403) CSRF verification failed. Request aborted?? I get this message when I try to connect an app to facebook. I did not have this problem before I downloaded Firefox 4. Do I need to remove your browser so my computer can work with the internet again?
    HOW DO I FIX THIS???? I AM VERY FRUSTRATED WITH THIS PROBLEM!!!!

    Click here and follow the instructions to change the iTunes Store country.
    (97125)

  • My Ipod doesen't work when I try to connect it on my iTunes! How can I solve this problem? Please help me

    My Ipod doesen't work when I try to connect it on my iTunes! How can I solve this problem? Please help me

    Itunes doesen't see the ipod and it is all dark!

  • On my laptop when I try to connect to iCloud it says there's a problem connecting to the server.  But I an from my iPad what is the problem?

    On my laptop when I try to connect to iCloud it says there's a problem connecting to the server.  But I can connect from my iPad what is the problem?

    I know what I was doing wrong.  You need to remove private browsing.

  • I have an iphone 4s and when I try to connect it to my shared libraries; I get an icon of a circle that only fills up halfway.  I have an ipad and it connects to the shared library without a problem.  My library is much larger than the capacity of either

    I have an iphone 4s and when I try to connect to my shared library I see an icon of a circle that only becomes half full.  It does not connect.  I also have an ipad, which connects without incident. My itunes library is larger than the capacity of both devices, so that cannot be the issue.  How can I get the phone to connect with my shared library?

    My husband and I are using the same iTunes account on all mac & pc computers, but the libraries are different on each machine.  We always manually manage our music (no auto sync).  iTunes is up to date on the PCs.  My husband uses our joint iTunes account on his pc, but once again, has a different collection in his library from those on the other machines.  He can't load any music from his PC to his iphone 4.  I can load music from my mac library to my iphone 4s, but cannot load from my pc library to my iphone 4s.  How can I switch my main library that it syncs with from the mac to the pc?
    Thanks

  • When i try to connect my iphone to itunes it comes up with a message saying "itunes could not connect to this iphone, an unknown error has occured (0xE8000012) any ideas on how to deal with this problem??

    When i try to connect my iphone to itunes it comes up with a message saying "itunes could not connect to this iphone, an unknown error has occured (0xE8000012)
    i have recently bought  new laptop and downloaded/installed the newest itunes and this has happened.. any ideas?

    read
    Error -50
    Delete Storm Video, QuickTime, iTunes, then reinstall iTunes. See also KB TS1583for error -50

  • ORA-02248 When I Try to Connect Discoverer Desktop 9.0.4.43.17 to 11.2.0.1

    Hi Fellows.
    I'm trying to Connect Discoverer Desktop 9.0.4.43.17 to Oracle Database 11.2.0.1. I Installed the program (Windows 7 Emulating XP SP3) But when I try to connect to Database send me ORA-02248 Error, some Alter Session. I'm Using a user with DBA privileges But I cannot Connect to Database, Do I have to Install an Additional Software or create a Special User or Schema????
    I would like to check and use Discoverer because I think that will be very usefull for the end users of the company.
    Thanks for your time.
    Best Regards
    Emmanuel.

    Dear Friend.
    I can connect via SQLPLUS with SYS as SYSDBA and everthing is ok But When I try to do it in Discoverer Logon Form I Can't and i get Error ORA-12154. Can I fix ORA-02248 ALTER SESSION problem Connected from SQLPLUS as SYS???? I was Checking But I cannot Find Nothing Regarding this issue. Its seem the aplicaction when connect Try to ALTER the Session But Fails and the Program Abort. I Also check for SQL Scripts into the Binary Discoverer Directory But Nothing.........I just found a lot of Jar Files.
    Thanks a Lot
    Emmanuel.

  • Error when i try to connect with blogger from firefox

    when i try to connect with blogger.com and i enter my password the firefox is loading me as it should and then it returns to the blogger page...
    it doesn t say that i put the password wrong it does not say anything its like i m stuck there...i can connect to gmail
    but not to blogger and since the problems occurs only with firefox , as i can connect with other explorers i suppose the problem comes from firefox
    i reinstalled the firefox nothing changes
    also at blogger the firefox crashes in a way that it shows on the top of the page an error instead of the blogger links(connect , new post etc)

    See if this helps you. <br />
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touchscreen not working plus there are blured lines across the screen and I can't see anything that it displays. Now when I try too connect my iPhone 4 t

    A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touch screen not working plus there are blurred lines across the screen and I can't see anything that it displays.
    Now when I try too connect my iPhone 4 to iTunes on my computer at home an error message comes up saying that I have to unlock my iPhone 4 for it to communicate to my device.
    But the problem is that I can't unlock my iPhone 4 because I'm unable to see the key pad and my touch screen no longer responds when I touch it.
    I just want to reset my iPhone 4 back to its Factory Settings & start all over from the beginning.
    How can I unlock my iPhone 4 with iTunes on my computer or any other option you suggest me trying.
    Thank you in advance,
    SiHero

    If you have had a "local guy "repair your iphone you will not get any support from Apple for warranty OR post warranty
    If Verizon return it to Apple it wil not be handled by Apple
    If Verizon also use unauthorised repairers you may be lucky
    (Apple do not sell parts to local guys or anyone else )

Maybe you are looking for