Connection details using SQL
Is there any way to find the connection details using sqlplus once a connection is made to the database. I would like to see the information similar to what I get while using the tnsping .
Hello Mate
If you can connect as a system , check the V$instance command.
or type show user in sqlplus
Regards
Harshad
Similar Messages
-
ODI 10.1.3.4.0 - Topology Manager Connection Error using SQL 2005 SP3
Hello All,
I am using the ODI repository in SQL 2005 SP3. I could create my master repository using the following parameters:
driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
URL:jdbc:microsoft:sqlserver://server_name:1433;SelectMethod=direct;DataBaseName=ODI
I needed to copy to the drivers directory all files of SQL 2000 (msutil.jar, msbase.jar,mssqlserver.jar) and SQL 2005 (sqljdbc.jar). I am using the JRE 1.4.2 and JDBC 2005 1.2 (http://msdn.microsoft.com/en-us/library/ms378422(SQL.90).aspx)
But when I try to connect in Topology Manager to create the work repository appears the following error:
using this driver string: com.microsoft.jdbc.sqlserver.SQLServerDriver
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC] Can't start a cloned connection while in manual transaction mode.
using this driver string: com.microsoft.sqlserver.jdbc.SQLServerDriver
java.sql.SQLException: No suitable driver
Does Somebody know what is happening?
Regards,
Wallace Galvao
Sao Paulo - BrazilHi,
If you plan on using the SQL Server 2005 drivers then you only need the 1.2 sqljdbc.jar file in the drivers directory.
The connection details for SQL Server 2005 should be like the following.
com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc:sqlserver://<sqls machine>:1433;databaseName=<db name>;integratedSecurity=false
I would try just with just the correct driver in place, remove the others, restart any ODI components and then make sure the connection information is correct like above.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to hide repeated details using SQL Query?
How to hide repeated details using SQL Query?
For Ex:
------------------------+
DEPTNO| ENAME | JOB |
------|-------| --------|
10 | JAMES | MANAGER |
10 | BLAKE | CLERK |
10 | FORD | SALESMAN|
20 | SCOTT | MANAGER |
20 | ADAMS | CLERK |
20 | KING | SALESMAN|
------------------------+
How we can display the above details in the following way?
------------------------+
DEPTNO| ENAME | JOB |
------|-------| --------|
10 | JAMES | MANAGER |
| BLAKE | CLERK |
| FORD | SALESMAN|
20 | SCOTT | MANAGER |
| ADAMS | CLERK |
| KING | SALESMAN|
------------------------+
Thanks AdvanceHi,
you can use BREAK ON DEPTNO in SQL*Plus or use LAG.
SQL> ed
Wrote file afiedt.buf
1 select nullif(department_id
2 , lag(department_id) over (partition by department_id order by last_name)
3 ) dept_id
4 , last_name, job_id
5* from employees where department_id in (30,50) and rownum <=10
SQL> /
DEPT_ID LAST_NAME JOB_ID
30 Baida PU_CLERK
Colmenares PU_CLERK
Himuro PU_CLERK
Khoo PU_CLERK
Raphaely PU_MAN
Tobias PU_CLERK
50 Fripp ST_MAN
Kaufling ST_MAN
Vollman ST_MAN
Weiss ST_MAN
10 rows selected. -
Connecting Oracle using SQL Plus in command window through LDAP settings?
Hi
Just like to know if it is possible to connect Oracle using SQL Plus with connection type as LDAP.
Generally we connect to Oracle in cmd window as
username/password@DBServiceName
Similarly is it possible to connect Oracle using SQL plus cmd window using LDAP configuration settings.
Eg:-
If my LDAP server is oid:123:456
Context is: cn=OracleContext,dc=abcdefgh,dc=com
DBService is: xyz
Regards
jcSpecify the -L command line option to SQL*Plus, i.e.:
sqlplus -L username/password@db @blah.sql
(this will prevent the second prompt for username/password if the initial login is unsuccessful for any reason, like an invalid password). -
Creating a connection pool using SQL Server 2000, Sun ONE Application Serve
Has any one succesfully configured SQL Server 2000 to work with Sun ONE Application Server 7 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.
The problem I am having is that, when I ping the data souce name, there is a connection error.
I have set the data source name and other details as follows:
Under JDBC, I have set the parameters for the connection pool as follows:
Data Source Name: com.microsoft.jdbc.sqlserver.SQLServerDriver
Database Name: jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Test
User: test
Password: test
In the JVM settings page, I have set the prefix class path as follows for the location of the Microsoft JDBC
drivers that I downloaded as follows:
c:\microsoft\drivers/lib/msbase.jar
c:\microsoft\drivers/lib/msutil.jar
c:\microsoft\drivers/lib/mssqlserver.jar
Under JVM Options, there is a strange setting which I don't understand: perhaps this is the cause of the
connction error?
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
Please help????I'm in a similar boat...
Trying to setup AS7 JDBC and followed the instructions on the link you provided and get the following exception. I kept the case the same, thinking 'setpassword" was incorrect, so I tried changing the property to "Password", but get the same exception but it points to "setPassword" instead.
SEVERE: RAR5041:Cannot get jdbc connection
com.sun.enterprise.repository.J2EEResourceException
java.lang.NoSuchMethodException: setpassword
at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:243)
at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
at com.rvi.database.jdbcConnection.getConnection(jdbcConnection.java:93)
at com.webapp.database.ArticlesDAO.selectByYear(ArticlesDAO.java:102)
at com.webapp.actions.ArticleAction.list(ArticleAction.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598) -
Verification Of Details Using SQL
Hi,
Within a servlet I wish to verify a users input details, similar to a login, but not quiet!
When a user enters details (text, double) I need to verify these are in the database and correct before allowing them to proceed!
I've tried doing it the same as my login, but its giving me weird errors and plus I think im doing other unecessary stuff!!
So am just wondering if anyone can help me?
if( TransferVerify.VerifyUser( transDetails[0], transDetails[1] ) == true )
public boolean VerifyUser(String acname, String acbalance){
System.out.println(acname);
System.out.println(acbalance);
SQL = "SELECT * FROM actable WHERE acname = '" + acname + "'";
SQL += "AND acbalance = '" + acbalance + "'";
boolean exists = false;All I want to do is a simple
if (userdetails == correct )
do something
else
do something else
}Any help appreciated,
Aidan.Um, define "weird errors."
-
Error while connecting to external SQL table using BCS identity in SharePoint 2010
Hi all,
I am working on SharePoint Foundation 2010. I have a stand alone setup. Now I am trying to connect to a SQL table in another server. I have used SharePoint Designer to connect using BCS. I have selected "BCS Identity" for authenticating with SQL
in the external content type. then I created a list with this external content type.
I get the following error upon opening the external list.
Login failed for user 'INYKGW\sp_farm'.
I am confused. how do I solve this error.
any help is greatly appreciated.
Thanks.Hi letShare ,
Whether the account 'INYKGW\sp_farm' is current user account or a service managed account?
Could you please provide detail error message of ULS log to determine the exact cause of the error.
For SharePoint 2010, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Also please have a look at the blog :
http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=82
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Data Connection to MS-SQL using Windows Auth from untrusted machine
We have an Excel Spreadsheet that uses a Data Connection to a MS-SQL database. The database server is joined to our domain, and Windows Authentication is enabled.
Here is a sample of the connection string (with revealing info obfuscated):
Description=DataConnection;DRIVER=SQL Server;SERVER=10.x.y.z;UID=domain_user;Trusted_Connection=Yes;APP=Microsoft Office 2010;DATABASE=DatabaseName
And the Authentication Settings are set to "Windows Authentication"
This works perfectly fine from a domain-joined / trusted machine. It doesn't even ask for credentials; it just works flawlessly when I hit Refresh.
It will work from a non-domain / un-trusted workstation, if I use SQL Authentication. But we are trying to move away from that.
Likewise, it will from a non-domain machine using Windows Authentication if I use "runas" to launch Excel with domain credentials, as follows:
"runas /netonly /user:domain\user %path-to-excel%\excel.exe"
However, using "runas" is a kludge, and our employees will almost certainly have issues... even if I were to create batch files to help automate it.
When launching Excel normally (without using "runas") from a non-domain machine, it gives this error when I hit Refresh:
Upon hitting OK, I have the option to un-check "Use Trusted Connection" and manually enter a user/password. I put in a valid user that would be able to connect fine from a domain-joined machine, or that worked fine using "runas".
This is the error it gives with that:
At this point, I have not a clue what to do to get Excel to successfully connect with domain credentials from a non-domain machine.
Ideas?Hi ltwally1,
From your description, you want to connect to non-domain machines using domain credentials. Based on my research, you can use the
ShellRunAs utility to achieve your requirement , it provides functionality similar to that of RunAs to launch programs as a different user via a convenient shell context-menu entry.
Reference:
How to Run Programs as a Domain User from a Non-domain Computer.
However, if you still encounter issues by using ShellRunAs utility, you can consider to use the Credential Manager built into Windows. For more details, please review
this similar
blog.
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support -
Query regarding connecting dashboards with SQL DATABASE using WSDT
Hello Sir,
I am trying to connect dashboards with Sql database via WSDT, but i have encountered the same problem as described in your SAP community blog (SAP Web Service Design Tool: From web service creation to Xcelsius consumption).
when i tried connecting CR server with WSDT ,it still shows that total number of available licenses is 0.
What can be done to solve this issue.
for your detail reference, we are using CRS NUL version's 60 days Evaluation keys and same with Xcelsius Departmental edition.
I would really appreciate, if you revert back to my mail as soon as possibleWhich version of Crystal Reports are you using? The regular ReportDocument SDK probably isn't robust enough to handle this, unless you create a connection using that connection string at design-time which you don't change at runtime. You might be able to add those properties using the in-proc RAS SDK, though. This is available with CRXI R2 as of SP2, and CR2008.
-
Not able to connect db using developers(plsql developer,sql developer)
Hi,
I used to work on plsql developer, but since from few days i am not able to connect to it, so i have installed sql developer still i am not able to connect to database.
I can connect to the database using sql*plus. dont know what happend suddenly i have not changed any settings.
I am getting the error when connecting sql developer: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
Please help.
Thanks,
VinodWrong forum - please repost in the SQL Developer forum, edit this post to include the link to the SQL Developer thread and then mark this as ANSWERED.
SQL Developer
>
when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
>
In you post on the other forum include your 4 digit Oracle version and the version of SQL Developer that you are using.
Also provide the step by step details of how you are trying to create the new connection.
The error message is telling you that you are using a server or host name that does not exist. -
11g: should i use SQL connect by?
DB: 11.2.0.2.0
Apex: 4.2.1.00.08
Hi there,
I'm using Apex but this is a fairly basic SQL question, hence posting here.
I have two tables, one containing staff details (one row per staff member) and the other containing team structure (team_id, team_name, parent_id).
STAFF:
1--Fred Bloggs--TeamID21
2--John Doe--TeamID35
TEAMS:
21--TeamOne--17
35--TeamTwo--17
17--TeamThree--4
4--TeamFour--NULL
It is possible for there to be an unlimited number of sub-teams with this structure, although in practice there is almost always just a business unit > division > department > team.
I'm trying to pull out teams and parents to display as columns against staff names, e.g.:
1--Fred Bloggs--21--TeamOne--17--TeamThree--4--TeamFour
2--John Doe--35--TeamTwo--17--TeamThree--4--TeamFour
The purpose in Apex terminology is to populate a "superLOV" so that users can select between 3,000 staff more easily by seeing which departments they are in.
I also want to filter the list for one division at present, just showing departments and teams below that (I assume I use START WITH although have not succeeded yet).
Is it possible to do what I want, given that for some teams there might be two sub-teams below division, and for others there might be four? And should I just use four JOINS rather than CONNECT?
My SQL so far is variations on this theme:
SELECT
s.staff_id as "ID",
t.TEAM_NAME as "Team name",
s.staff_lastname|| ', ' || s.staff_firstname as "Name"
FROM AA_WL_STAFF2 s
JOIN AA_WL_TEAMS3 t
ON t.TEAM_ID=s.STAFF_TEAM
CONNECT BY t.PARENT_ID=t.TEAM_ID
ORDER BY s.STAFF_LASTNAME || s.STAFF_FIRSTNAME ASC
One problem with this is that I can't then pull out PARENT TEAM_NAME without re-joining. Also START WITH t.PARENT_ID=4147 (the division's TEAM_ID) just returns staff working directly for the division's director, rather than all staff in all teams under him.
Grateful for any pointers
EmmaHi,
You should separately create the team tree, and then join with the staff.
Also use PRIOR operator (CONNECT BY PRIOR team_id = parent_id). -
Connecting to a sql server database using netbeans 5.5
hi all
if you please could any body tell me detailed steps for establishing a connection to a sql server database using netbeans 5.5
i need to know what driver to use and the format of the url i use in making a new connection
thanksUhm SQL (Structured Query Language) is like the base
of all other type like MySQL and Oracle. Um, given the context I think the person was referring to "Microsoft SQL Server". Sometimes people will cut to the chase and refer to the product as "SQL". At those times it's understood by all parties that we're not talking about the query language, rather the Microsoft product.
I think this is one of those times.
See
something i found in two seconds with the wonder of
google http://sqlzoo.net/ & http://sqlzoo.net/w.htm
It's commendable that you're using Google. I'd argue that the OP should be making better use of it, too. But I don't think your response is applicable to this context. JMO, of course.
% -
How to connect to a Sql server from Oracle using db link
Hi All,
Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
Thank you,
Praveen.we have 2 products - DG4MSQL and DG4ODBC.
DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
Check out Metalink and you'll find notes how to configure both products.
For a generic overview:
Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
And the setup notes:
DG4ODBC
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
DG4MSQL
Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux -
Unable to connect to an instance using EM but connecting fine with SQL*Plus
Good morning,
I followed these steps (from the 2 Day DBA document):
1. I created a template (including database) from an instance named "orcl" using DBCA, before proceeding to create the template, DBCA informed me that the instance would be shutdown, I told it to proceed.
2. The template was created successfully.
3. I am now unable to log into the orcl instance using EM, yet I can log into that instance without any problems using SQL*Plus.
The Question: Why am I not able to connect to the instance using EM ? and what do I need to do to correct this problem ?
Thank you very much for your help,
John.
PS: in case it may be helpful, the listener, tnsnames and Sqlnet files follow:
# listener.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\Oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
ADR_BASE_LISTENER = E:\Oracle
# tnsnames.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
DBCA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dbca.localsite.com)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.localsite.com)
# sqlnet.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)Hi Chinar,
What you suggested solved the problem.
I am grateful for your help but, please, the next time you suggest a process that takes over an hour to complete, let me know beforehand.
thank you for your help, I do appreciate it.
John.
PS: here are the result of the process:
0 07:57 [Oracle] [17G] [608M] E:\Temp>emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Aug 15, 2010 7:58:21 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for SYS user: abc123
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 15, 2010 7:59:37 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at E:\Oracle\cfgtoollogs\emca\orcl\emca_201
0_08_15_07_58_21.log.
Aug 15, 2010 7:59:38 AM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be p
erformed.
Aug 15, 2010 7:59:38 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 15, 2010 8:06:59 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 15, 2010 8:07:17 AM
0 08:09 [Oracle] [17G] [355M] E:\Temp>emca -config dbcontrol db -repos create
STARTED EMCA at Aug 15, 2010 8:09:23 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Listener ORACLE_HOME [ E:\Oracle\product\11.2.0\dbhome_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ E:\Oracle\product\11.2.0\dbhome_1
Local hostname ................ 192.168.3.134
Listener ORACLE_HOME ................ E:\Oracle\product\11.2.0\dbhome_1
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 15, 2010 8:10:51 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at E:\Oracle\cfgtoollogs\emca\orcl\emca_201
0_08_15_08_09_23.log.
Aug 15, 2010 8:11:10 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 15, 2010 8:43:41 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Aug 15, 2010 8:44:09 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepos
itory
INFO: Uploading configuration data to EM repository (this may take a while) ...
Aug 15, 2010 8:47:39 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Aug 15, 2010 8:48:31 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareL
ib
INFO: Software library configured successfully.
Aug 15, 2010 8:48:31 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibra
ry
INFO: Deploying Provisioning archives ...
Aug 15, 2010 8:53:19 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibra
ry
INFO: Provisioning archives deployed successfully.
Aug 15, 2010 8:53:34 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Aug 15, 2010 8:54:22 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 15, 2010 8:54:38 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 15, 2010 9:12:50 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 15, 2010 9:13:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://192.168.3.134:5501/em <<<<
<<<<<<<
Aug 15, 2010 9:14:22 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager
data will be encrypted. The encryption key has been placed in the file: E:/Orac
le/product/11.2.0/dbhome_1/192.168.3.134_orcl/sysman/config/emkey.ora. Please
ensure this file is backed up as the encrypted data will become unusable if this
file is lost.
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 15, 2010 9:14:22 AM
0 09:14 [Oracle] [17G] [603M] E:\Temp> -
How to connect to DB in repository assistant using SQL*net
Hi all,
We are in RAC enviroment. When I try to connecting to oracle DB in repository assistant (the page that asks for SYS account), I check the SQL*net, and enter the net service name (absolutly also enter the SYS and SYS psw field), but the 'next' button is grey out.
according to installation guide, in a RAC environment, do not type the host name, port number and oracle service name. But in my case, I have to enter all these fields to enable the 'next' button.
any idea of how to fix it?
thanksI forget to say that I can connect to the repository browser using SQL*net. So I suppose that net service name is correct.
thanks for any suggestion.
Maybe you are looking for
-
How to export a report in .xls format
<p><font face="arial,helvetica,sans-serif" size="2">For my current project I have to take existing Crystal Report files and export them into Excel. I cannot use a .csv file, it has to be a .xls file in order to preserve the formatting. Does the Cry
-
8500 A909a Won't Print Large Documents
My OfficeJet Pro 8500 A909a will not print large documents. Prints fine on websites, 2 or 3 page docs but nothing larger. Trying to print a mail merge of 450 letters - print spooler goes though normal proces but printer never prints - it just beeps w
-
Satellite T110-121 - broken hinge/support bracket
Does anyone know the part number for a set of hinge/display supports for the T110-121? Mine broke last week and I can't seem to source a replacement or suitable alternative. Thanks in advance.
-
I have a users who is trying to process a BDC session in sm35 and they are getting you are unable to schedule session XXXX. I checked sm35 and they have access to it And object S_BDC_MONI has values of ABTC, ANAL, AND AONL. Nothing happens of course
-
I'm new to Flex and need to special case some functionality using XML...not all feed items come with images so I thought the best way to handle this was to pass each feed item to a function that can use if statements and then return the appropriate c