Can connect to local DB via SQLPlus but not via SQLDeveloper, all incl.

A database running on a new local Windows 7 professional Machine with data, users, an import from db etc. Able to access the database via sqlplus, run queries, etc. Unable to run Oracle SQL Developer. Try to use connection base Type, hostname localhost, port * 1521 *.

Using SID = xe , I get:
Status: Failure-Test failed: listener refused the connection with the following error: ORA-12518, TNS:listener could not hand off client connection connection descriptor used by the client has been localhost:1521:xe

When I add a service in my file listener.ora for sid_name = xe and program_name = xe (which I include below), I get
ORA-12518, TNS:listener couldn't hand off client connection. The connection descriptor used by the client has been localhost:1521:xe

Using the name of the Service = xe , I get:
Status: Failure-Test failed: IO exception: the network adapter could not establish the connection.

Here is every piece of information I think you might have to help me with the problem. [I tried to find a solution on these forums so I hope I've not messed my settings even more than before.]



TNSNAMES. ORA (XE is the name of my local database):
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(service_name = XE)
(SERVER = DEDICATED)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)



LISTENING PORT. ORA
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = XE)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
)

DEFAULT_SERVICE_LISTENER = (XE)





C:\Windows\System32 >sqlplus / as sysdba

SQL * more: Release 10.2.0.1.0 - Production on Sun Apr 25 19:36:15 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL > select sysdate to double;

SYSDATE
- - - - - - - - -
25 APRIL 10

SQL > exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - production
ction


C:\Windows\System32 >tnsping xe

AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-APR-2
010 19:43:02

Copyright (c) 1997, 2005, Oracle. All rights reserved.

Use settings files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora


TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos)
(t) (PORT = 1521)) (CONNECT_DATA = (service_name = XE) (SERVER = DEDICATED)))
OK (20 ms)


C:\Windows\System32 >lsnrctl services

LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on April 25, 2010 19:46
: 20

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
"XE" service has 1 instance (s).
Instance "XE", status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 10
LOCAL SERVER
The command completed successfully

Published by: user1966631 on April 25, 2010 16:59

I think I know now what is the problem

Stop listener

stop lnsrctl

Rename listener.ora out of the way.
With Oracle V10 + it is no longer necessary

lsnrtl start

wait a minute or two

lsnrctl service

After that XE service is indicated by the above command then proceed as below

sqlplus ccxreg/ccxreg@XE

COPY PASTE & results both lsnrctl and sqlplus commands here

Tags: Database

Similar Questions

  • can connect to my laptop to router but not the internet

    I got my son a laptop is a fujitsu, XP home, 1.73 dual core. When I try to connect to the wireless network, it finds my router Belkin Surf N, but it connects with local access only, or limited access when I connect via an ethernet cable to the Web without problem.

    Help, please.

    Hi kevinattard,

    Did you do any hardware changes or software on your computer before this problem?

    You can follow this link completely and check if the problem persists:

    Windows wireless and wired network connection problems

    Hope the helps of information.

  • can connect to internet in safe mode but not in normal mode

    Hi all... I use windwos 7 ultimate...
    My problem is I can connect to the internet in safe mode, but unfortunately I can't connect to internet in normal mode...

    I have try several step to address this problem, but it seems is no good at all, and for your information guys, I format my laptop 4 times.

    and I update my network driver.

    I use kapersky 7 and malwarebytes even they cannot detect virus or trojan etc which are harmful to my laptop...

    Please help me guys

    Try this:
    -Click Start
    -Type the word msconfig in the search box and press enter
    -Uncheck the box each tick on the Startup tab.
    -Click the Services tab, then check the box hides the Microsoft services.
    -Uncheck the box each remaining tick.
    -Reboot the machine.
    -If this problem, restore the ticks in groups of 8 until you find the culprit.

    ATTENTION: If you connect to the Internet without a router, then you MUST make sure that your Windows Firewall is active. If it is inactive then you will expose the machine to the pirates.

  • can connect by using the ip address, but not by using web address settings?

    Try to connect to the internet using access point mobile Windows 7 Firefox browser.
    I can access a Web site by using the ip address using however nothing www.msn.com or whatever it is.
    In the connection to the internet in Network Options window that I have no idea of what to put in there, I have tried auto that nothing works

    (hit the uppercase text - c)

    There servers DNS Setup correctly?

  • MAC: can connect through the Skype Web site, but not through the Skype APP itself?

    I guess that the SAME password should work for the TWO the Skype Web site and the Skype APP. However, if the website sign - it works very well, the Skype APP has a msg: "Skype cannot connect." I'm using Version 6.3.0.602 on an iMac running the latest software of Yosemite. Solutions? What I am doing wrong? (P.S. I hear, there is a version 7 for Mac, but when I go to the site to download the "most recent" version, I get the above mentioned 6.3xxx.

    OK, I 'solved' myself. I downloaded a "dmg" on the site yesterday (7.2 v), but when I started to drag the 7.2 app in my apps folder, he "warned" in ERROR that I was running a later version on the computer. So, I did not install 7.2 yesterday.

    Today, I checked the version on the computer 6.3xxx vs the downloaded 7.2, and of course the 7.2 has been later. Ignore the message warning and dragged to the app folder and it logs how.

  • problem with express mini pci wireless lan card. I can't connect to internet via wifi but I can connect to the internet via cable.

    Hello! I have a problem with my card express 11 b/g/n wireless lan mini pci because I can't connect to internet via wifi but I can connect to the internet via cable. whenever I try to connect it repeat to myself that there is a problem with your wireless network card. I tried troubleshooting, uninstall and reinstall the program, but always the same result. I'm updating too but still the same thing. I use a windows 7 Professional on my Lenovo 412. can someone help me? Thank you!

    Hello

    Method 1: I suggest you to follow the instructions of the link to solve the problem of network card:

    How can I troubleshoot network card?

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-fix-network-adapter-problems

    Method 2: Troubleshoot wired and wireless in Windows network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Reference: http://forums.lenovo.com/t5/R-and-L-Series-ThinkPad-Laptops/L412-Wireless-Automatically-Disables/td-p/264447

    You can also post your question in the forum of Lenovo to get help:

    http://forums.Lenovo.com/

  • My iPhone can connect to the computer via Wifi instead of cable? Because I figured that my head of the telephone cable i have problem if the computer cannot detect my folder after plugging in the cable.

    My iPhone can connect to the computer via Wifi instead of cable? Because I figured that my head of the telephone cable i have problem if the computer cannot detect my folder after plugging in the cable.

    Sync your iPhone, iPad or iPod touch with iTunes using a WiFi - Apple...

  • We can connect HP1000 J110 printer via bluetooth

    We can connect HP1000 J110 printer via bluetooth

    No,

    The printer is a USB printer only.

    You can find the specifications of Connevtivity below:

    http://support.HP.com/us-en/document/c02231304

    Shlomi

  • distance can see the computers on the network, but not their actions

    I rv042 vpn setup linksys was able to vpn in and see the actions on however my client machine can connect and see the computer network but denied trying to see its shares of the GET access.

    XP pro on both

    any ideas?

    Whenever I have problems like this, I'm trying to access the share by using the IP address.  For example, if the IP address of jobloe is 192.168.10.20, then try to access \\192.168.10.20 and see what happens.  If it works with the IP address, but not the name, so it's a problem of name resolution.

  • I'm unable to access my computer (windows 8) with my microsoft account. The password works for the connection to outlook on the internet, but not the computer.

    Original title: connection problem

    I'm unable to access my computer (windows 8) with my microsoft account. The password works for the connection to outlook on the internet, but not the computer.

    The message I get when trying to connect is simply that I cannot connect you at this time and that I should follow a link to reset the password - what I've done without result. The computer is connected to the internet.

    Hello

    Thanks for posting your query on the Microsoft Community.

    With the publication of the description, I understand that you are unable to access your computer using Microsoft password account on the machine Windows 8. I will certainly help you get this problem.

    I would be grateful if you could help me with more information:

    1. Since when you are facing this problem?

    2. What is the exact error you receive by accessing the computer?

    I would say to you follow the suggestions provided by Cliff_N responded on 7 December 2012 in the below thread Microsoft:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-security/why-cant-i-sign-into-Windows-8-with-my-Microsoft/7662ea57-c321-4bfe-84e9-fc9ebb87a44b?TM=1355519512755#_self

    Important information: When you use system restore to restore the computer to a previous state, the programs and updates that you have installed are removed.

    Note: When updating, the applications you have installed Web sites and DVDS is deleted. The applications provided with your PC and applications that you have installed in the Windows store will be resettled. Windows puts a list of apps removed on your desktop after you refresh your PC.

    For more information, you can consult the Microsoft article.

    What to do if you forget your Windows password

    http://Windows.Microsoft.com/en-us/Windows/what-do-forget-Windows-password#1TC=Windows-8

    Hope this information is useful. Please come back to write to us if you need more help, we will be happy to help you.

  • Satellite L455-S5045 laptop Realtek8187B wireless 802. 11b / g connects to a d-link router, but not internet access.

    PC laptop Toshiba Satellite L455-S5045, Realtek8187B wireless 802. 11b / g connects to a d-link router, but not internet access. go to google.com and States page cannot be displayed, I ran diagnostics and reports, everything is configured properly. the wireless signal that d-Link has is 802.11n with a WiFi Code and running XP, I have WIN 7. Do I need to driver 802.11n, if I do, why I can not download it

    Hello

    To help you better, please answer these questions.

    1. don't you say no Internet access in the notification bar?

    2. what diagnosis you have to run?

    3 did you do changes on the computer before the show?

    To solve your problem, try the provided items.

    Why can't I connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet

    Wireless and wired network problems

    http://Windows.Microsoft.com/en-in/Windows/network-connection-problem-help#network-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    You can check the link:

    Troubleshooting Wizard

    Reference (my computer can not connect to Internet)

    http://support.Toshiba.com/support/troubleshootSelfService?PRDTYPE=computers

    If you need help with the Windows operating system, just tell me and we will be happy to help you.

  • How can I open multiple photos in photoshop, but not in layers. I want them to be several photos not only a multilayer image.

    A little confused as he tried to photoshop. In any paint or photo program, I can open multiple photos in the window but in photoshop, they all have open as a layer on the first picture...

    In PS, go to the window > Arrange > select mosaic all horizontal or vertical mosaic all.

    Nancy O.

  • Why I can't connect to sqlplus but not EM express or SQL Developer with sys account?

    Hello

    I am running in a strange situation. Any help is appreciated!

    I have an Oracle 12 c database shared running on my local computer. I can connect on it through sqlplus very well. Sys and system work. However, I could not connect on EM express or SQL Developer such as sys, only the system account has worked. I get the following errors when you sign on EM and SQL Developer as sys. I checked that the sys password is correct.

    em_express.PNGsqldev.PNG

    > Express EM or SQL Developer

    both use SQL * Net (ONLY) to connect to the database.

    There is a security risk to allow "sys as sysdba" to log on to the network and should be avoided.

    logging as long as SYS via the network using external password file; probably, that does not exist or contains the wrong password

  • Satellite A200 - can connect to the network (LAN & WLAN) but no Internet

    Hi all

    I have a problem very annoying and confusing.

    I've just set up my internet connection at home. From the beginning, my Toshiba was unable to properly communicate with the router to set up the connection, I had to use Mac. my partner

    After much time spent talking with the ISP and the manufacturer of the router, I was told that there is a problem with my network card - it is not compatible with the router. I don't think that this is the case, my laptop is fairly new, newer than the router actually. So, it seems a logical explanation. As this laptop was able to connect to every other internet connection as needed. And more importantly, my phone can communicate with the router as I can connect 'local only' but not to the internet. I get an error that can not diagnose Vista.

    Device Manager shows that my wireless and ethernet devices are working properly.

    My network settings are also on the parameters required by the router.

    I'm at a loss total, and personal support from my ISP and DLINK (manufacturer of the router). Any help / advice would be GREATLY appreciated!

    Thank you

    Edward

    Hello, Edward

    This explanation of compatibility is for me nothing else good joke. I use PC Toshiba laptop for years and none of them has a few special network adapter.

    Can you please as first step test the functionality of connecting your laptop to another router? Maybe some friend of you can help.
    When you connect your laptop using the cable LAN is green LED on ONE LAN port?
    You see a flashing orange?

    Do you have access to the settings of the router using internet explore on your Satellite A200?

  • Connect to local USB via the vmware infrastructure client

    Hi all

    Not sure if this is the right place for this question but I'll ask anyway.

    I need to connect locally on a virtual machine with some it's available, but I don't know where to start.  I want to create a bootable USB for SCCM on a virtual computer image.  I'm still on VI 2.5 and I don't see an option where I can connect to a local USB to a virtual computer.  I don't see nor floppy and CD/DVD player.  Help, please.

    Thank you in advance.

    It has not supported (USB) on vCenter 2.5 or vCenter 4.0. Please use USB ethernet device.

    vcbMC - 1.0.6 Beta

    Lite vcbMC - 1.0.7

    http://www.no-x.org

Maybe you are looking for