I have problem with login in enterprise manager. I have windows 10 Education.Database successfully installed but still unable to log into http.
Po wydaniu polecenia lsnrctl:
lsnrctl status | findstr HOST
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DESKTOP-M3MIGG3)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DESKTOP-M3MIGG3)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=DESKTOP-M3MIGG3)(PORT=5500))(Security=(my_wallet_directory=C:\APEX\APEX\DB\admin\orcl\xdb_wallet))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DESKTOP-M3MIGG3)(PORT=9000))(Presentation=HTTP)(Session=RAW))
when i try to connect in: localhost:9000 I need to enter a username and password, but neither match, I tried to create a user in the database as well, but it also doesn't work
Query select dbms_xdb_config.gethttpsport() looks like:
SQL> select dbms_xdb_config.gethttpsport() from dual;
DBMS_XDB_CONFIG.GETHTTPSPORT()
------------------------------
5500
Can someone help me what should i do? And what could be the problem?
I had the same problem the credentials are not working
Related
After installation of oracle 11g SQL Developer and Database control URL both work very nice
but when i restart my machine non of this works i tried it 3 times by installing oracle again and again but every time its same result.
SQL Developer gives error:
"ORA-12505, TNS:listener does not currently know of SID given in connect descriptor"
I have checked LISTENER status in cmd line but it is showing up over there and i am able to fire query there also. I also checked:
USERNAME,
PASSWORD,
ROLE,
SID,
HOSTNAME,
PORT(SID, HOSTNAME, PORT in tnsnames.ora file)
...everything is perfectly entered working fine after installation and before restart but not after restart and when trying to access Database control URL,
404 Not Found error
error comes.
Is there anybody who know about it. Please help me out.
by below process my problem got solved.
Opened cmd in admin mode.
wrote sqlplus system/password as sysdba and pressed enter.
wrote alter system set local_listener = '(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))' scope = both; and pressed enter.
problem got solved.
Any one of the below might suit you.
Hope you were using windows 10 and oracle 11gXE combo
in that case either use windows 7 with 11g or opt for 18C xe with windows 10
More than one version of oracle xe was installed in the same machine now or earlier ?
in that case install from new windows-admin-user with "run as administrator" on the setup file
--from Personal experience
I have an Active Directory account "Contoso\SomeWinAccount" which I need to use for connecting to Oracle database. When I run a command prompt as a user Contoso\SomeWinAccount, I can successfully connect to Oracle like this:
sqlplus.exe [OracleUserName]#myTnsName
SELECT user FROM dual; returns OracleUserName. This works fine and this is exactly what I need.
The problem is, I need to achieve the same using PowerShell and OLEDB. With this connection string I can connect, but SELECT user FROM dual returns SomeWinAccount:
Provider=OraOLEDB.Oracle;User Id=/;Data Source=myTnsName;OSAutent=1;
What do I need to change in order to be able to act as OracleUserName when connected? Is it even possible with OLEDB provider?
Version: Oracle 12.2
I am installing Oracle 11.2.0.4 database server per an installation procedure. After installing, I create a database named SM3DDB using Database Configuration Assistant. After creating database, I am able to log into database using Start->Application Development->SQL Plus with following details;
username: sys as sysdba
password: system
While logged in I successfully query name of database using
select name from v$database;
and get the database name:
SM3DDB
The next step of my installation procedure is to configure an Oracle Net Service by using Oracle Net Configuration Assistant with following steps:
Select Local Net Service Name configuration
Add
Enter Service Name in this case I used SM3DDBSRVC
Select TCP
Enter Computer Name and Select Next
Select Yes, Perform a Test
I then get following error:
Connecting...ORA-12514: TNS:Listener does not currently know of service requested in connect descriptor. The test did not succeed.
Next I select change login and I try the test again using
username: sys
password: system
But I still get same error. I repeated the test a few times using sys as sysdba, system, etc for username, but still getting same error. Note that I am able to successfully log in to database using SQL Plus.
Why do I receive this error from Oracle Net Configuration Manager.
Thanks!
The service provided should be the database service name-also given on the window attached below- which is SM3DDB, you will be asked to provide Net Service Name after the test step.
Database service name can be obtained using following method.
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string ORCL
i installed oracle 11g database express edition on my windows 7 (32 bit) pc . It was successfully installed but now when i try to open it , Firefox gives me following error.
"unable to connect."
So please reply to this post as soon as possible to open Oracle as without this , i can't go ahead in learning it. I m just a beginner.
Check if u can open SQLPLUS
if yes, change the port of ORACLE web server by using
connect / as sysdba
DBMS_XDB.sethttpport('9090');
open run SQL command line or in your cmd writes: sqlplus "/ as sysdba"
for both cases:
SQL> conn
Enter user-name:
Enter password:
In SQL DEVELOPER
Default connection for oracle 11g
go to connection>New Connection
Connection Name = HR or Use any name
User name = hr
Password = Your Password (This is the password that you selected during the installation of the of Oracle 11g)
Check the "Save" option
role: default
port 1521
SID : orcl
If you want to create the SYSDBA Account ( Administrator account)
Connection Name = admin ORCL or Use any name
User name = sys
Password = Your Password (This is the password that you selected during the installation of the of Oracle 11g)
role: sysdba( from the drop down)
port 1521
SID : orcl
TEST and Save Connect
Just in case if your HR account is locked because you have connected multiple number of times than you can fix this by logging into your SYS DBA account
In the objects list on your list go to the OTHER USERS and
GO to HR Account > RT Click
EDIT USER
Choose the password youlike
and UN CHECK The account locked and Uncheck the Password Expired options if they are checked in
This happens when the you install as a user and not as admin. Even if u have admin privileges, it won't do.
Also, after this error comes then the issue is that the port 8080 is being used by another application.
1.) First of all, stop that app.
2.) Rest Oracle Port
SQL> begin
2 dbms_xdb.sethttpport('9090');
3 end;
4 /
PS: I read one thread it says that don't use # in the password also.
Hope it helps :)
I have oracle 9i already installed in my machine. I am trying to connect to the oracle but while connection i am getting "ora 12560 tns protocol adapter error" type of error. i have tried it with the default pass scott/tiger , system/manager..
When i tried to connect to the oracle using default credentials i am getting the above error.
is it the problem with the username and password ? if so how can i get the username and password which is already set ?
IME, ORA-12560 means the Oracle Universal Installer messed up your listener configuration.
Assuming you have an Oracle 9i Server installed on your computer, here's a list of things to check.
does "lsnrctl status" show your database instance?
does "tnsping my_service_name" work?
do tnsnames.ora and listener.ora contain entries for your database? Are the hostname / port etc. correct?
If the configuration is wrong, your best bet is to start netca, remove your existing listener configuration and re-configure it.
One question, though: Why do you want to run Oracle 9i? Do you have to support some kind of legacy application / database? (Oracle 11gR2 is so much nicer than 9i)
Start -> Run -> services.msc
Select the oracle service name and right click on it then select start.