Oracle 11g2 64-bit Database installed on windows server 2008.
Oracle 6i Form Developer installed on windows server 2003.
There is DB connection problem from client PC.
I add my DB SID(orcl2008) in tnsnames.ora file on client machine.
When Open cmd and
C:\>tnsping80 orcl2008
TNS Ping Utility for 32-bit Windows:
<c> Copyright 1997 Oracle Corporation.
Attempting to connect<ADDRESS=<PROTOCOL=TCP><HOST=192.168.15.100><Port=1521>>OK<0 msec>
But when connect DB using sqlplus then cmd disappear.
C:\>sqlplus scott/123#orcl2008
As press enter then CMD screen disappear immediately.
And when I try to connect Form 6i with using:
U:scott
P:123
H:orcl2008
this form also disappear.
Kindly help me, connect 11g2 Database instance with sqlplus and Form 6i.
Pinging always confirms whther the service is running or not. It does not mean that it allows remote connections. Check your configuration to allow remote connections, then try out again.
Related
i connect using sql developer on VM Oracle Linux to my db oracle, that is on the VM too. The setting is that:
enter image description here
i try to connect the db using sql developer on windows with the same settings but it not work. What i have to do?
This is a two-part question. I have installed an Oracle 11g Personal Edition Server on a Windows Server 2008 VM. During the installation I chose the option to install a database as well (sample/blank database?).
Now, on the VM, I can launch the Oracle Enterprise Manager Console at localhost port 1158, login as either SYSMAN or SYSTEM and in that I can see: 'Database Instance': orcl.127.55.199 . I can also see 'OracleOraDb11g_home1TNSListener' in the Services control panel in running state.
1) I need to be able to create a new Schema in the default database. How do I do that using the Oracle Enterprise Manager or anything else?
2) How can connect to that schema from another computer, say a Windows 7 workstation? I am able to see the VM running the Oracle server and I am even able to make a connection but I get an error like '12541 no listener'. I am pretty sure I have the Oracle client software installed. Do I need to create a TNS file? I am using Direct Connection.
Thanks!
Never mind:
I got this all to work. Here are some brief notes:
1) Used Oracle Database Configuration Assistant (ODCA) to create a database
2) Used Oracle NET Manager to Create a Listener
3) Restarted Oracle Listener Service
4) Used Oracle Enterprise Manager in localhost environment to create Users--which seem to be the same as Schema--thanks #Leo for your input in the Comments!
Everything works now!
Hope this helps someone.
I installed oracle11g in one machine and also created the database on it.Now I have to access the already created database from another machine(Remote).
Note: In second machine I'm not install anything for oracle.
Both systems are connected with LAN.
I have to install anything for Remote machine(2nd machine)? ( i.e. Instant Client)
Is this possible to connect the oracle database from one machine to another machine?
1) If you want to connect using some third party tool like Toad, SQL Tools etc., then you need to install Oracle Client in 2nd Machine and copy the tnsnames.ora content from your server machine.
2) If you want to use SQL*Plus only, login to the Server machine using SSH or TELNET and then fire sqlplus username/password#database to access oracle.
There can be more options, may be some other person can tell you here.
I am trying to locally connect to Oracle Database 11g Express Edition
Previously when I used to go to Programs > Oracle Database 11g Express Edition > Getting started
it used to show me the page to login in the browser and I could login and view everything.
But now, as soon as I click on Getting started, it goes to the URL
http://127.0.0.1:8080/apex/f?p=4950
but says "...could not connect to 127.0.0.1:8080"
Please help me. I have no idea where to get started. How do I troubleshoot the issue?
Please make sure the service of oracle-xe is running if you are using winOS,
and you could "ps -ef" if you are using linuxOS. If the service and daemon
is up and running then paste the log of your bdump.
where is the Oracle Event Log located?
Shows you the how to.
May be the problem is with the windows authentication mode.
What you can try is editing sqlnet.ora file.
Original - SQLNET.AUTHENTICATION_SERVICES= (NTS)
Change to- SQLNET.AUTHENTICATION_SERVICES= (NONE)
I had similar issue on windows10- could not use the 'Get Started' choice- (which opens APEX admin console). Found I could connect to DB locally (without the #dbname) but not over sqlnet (with #XE). TNS ping found service fine. Issue was windows firewall- turned it off for the local network, and now can connect with sqlplus user/pwd#xe AND the 'Get Started' link to APEX works.
On win7 64 bit, PL/SQL Developer client login message: "Initailization error, SQL*Net not properly installed, OracleHomeKey: ;OracleHomeDir:".
The server is a remote server, I only have a sql client, because I can access database via java code, so thought that the tnslistener has been started on that server, am I right?
The listener is on the server, if you can connect to the server via java, the listener is running. So not a listener problem. The error states that your client is not properly installed. The PL/SQL developer software it trying to use sqlnet via the oracle client to access the oracle database. The sqlnet driver is reporting that your installation is either not configured or is not properly installed. What oracle client is installed on your win7 box? Did you install the instant client from oracle 10g/11? Did you install the full client for oracle 10g/11? Uninstall the bad install client, reinstall and configure/run the client software to test sqlnet.