It's my first time asking a question here but I wanted to log with username and password on SQL*Plus and it's giving me this error
ERROR: ORA-12560: TNS:protocol adapter error.
After I googled for it found this answer and I tried to Start OracleServiceORCL but it gives me another error saying
Error 2: The system cannot find the file specified. The image -> Error
Any ides on how to fix this?
You might try sqlplus user/password#localhost:1521/orcl
Related
I need your help concerning an issue with oracle 11g installation, i installed it while connected to a domain account (and still connected to it), after installation complete and a reboot i tried to startup Oracle using windows command line:
>sqlplus /nolog
>connect sys /as sysdba
>startup
After the startup command i get the following error:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file ORA-27041: unable to open file
C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora
When i manually went to spfile and file locations, i didn't find anyone of them.
now i am looking for a method to generate of create these files without having to reinstall Oracle 11g. Any ideas please?
PS : i have windows 10.
Thanks in advance
Problem solved, while looking for pfile i was looking for something like PFile.ora, have just found that it is named init.ora, sounds stupid but yeah :D
I have tried restarting multiple times the services but I failed. Because of this error I cant install oracle apex.
Try sys as sysdba. Look at this tutorial.
I am using SQL Developer over an SSH tunnel to my database server without any problems. However, it fails when I try to use the debugger. The debugging window shows:
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.72.227.252', '52413' )
But then I get the errors:
ORA-30683: failure establishing connection to debugger
ORA-12535: TNS:operation timed out
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
Is there a special listener that has to be running on the database server in order to debug over the network? It looks like the CONNECT_TCP call is trying to connect to a different port (52413 in the above example) every time I run it. How do I debug in SQL Developer over an SSH tunnel?
The oerr command shows this for the ORA-30683 error:
ORA-30683: failure establishing connection to debugger
Cause: An error was indicated when trying to establish a connection to a debugger. Usually a TNS error will display along with this message to further explain the problem, although this TNS error will likely be hidden if you choose to trap the error. In your case you also get the ORA-12535 operation timed out error.
Action: Correct the indicated parameter value and try again.
For details check here
Run
Solution
SQL> grant debug connect session, debug any procedure to
Well experienced same problem, try these solutions:
1- Grant debug connect session to urUser;
Grant Debug any procedure to urUser;
2 - Tools -> preferences -> debugger and mark ask host for debugging...
3- when you compile be sure to give the ip adress with which ur machine on where sql developper is running, if it still doesnt work, try to turn off the firewall and retest it.
Temporary solution: switch debugger from jdwp to old version.
Add at the end of the ide.properties:
DatabaseDebuggerDisableJDWP=true
This file location:
C:\Users\username\AppData\Roaming\SQL Developer\system${VERSION}\o.sqldeveloper.${SYSTEM_VERSION}
I'm trying to get a full dump of a certain database called HQBASE. I write the following command in cmd
exp userid=sys/123456 FULL=Y FILE=C:\HQ_FULL.DMP
but I get invalid username/password:logon denied error
If I connect to the database through SQLPLus or any other IDE with the same credentials I get no error and connected.
I think your syntax may be wrong. I checked some examples and they suggest that user/password is the first parameter, without specifier:
exp sys/123456 FULL=Y FILE=C:\HQ_FULL.DMP
I am trying to setup Derby on my Mac following these instructions... Tutorial
When I try to run connect 'jdbc:derby:MyDbTest;create=true'; in ij I get the following error
ERROR XJ041: Failed to create database 'MyDbTest', see the next exception for details.
ERROR XBM0H: Directory /usr/opt/derby/db-derby-10.12.1.1-bin/bin/MyDbTest cannot be created.
I have tried googling this error a bit now with no success...
I also get a thread "main" java.lang.NoClassDefFoundError: org/apache/derby/tools/ij when trying to run as super user.
This should be a Permissions issue, try running all these commands throught a directory you have full permissions to such as ~/Documents/Derby.