Is OEM 10g functional withou SYS user connection?
Hi,
By our policies we don't have remote sys connectrion. However, many OEM operations have some configuration that requires SYS login. How do I go about it?
Thanks!
Alex
<<By our policies we don't have remote sys connection.>>
Do you mean that you should not use the user 'sys' to connect to the database from a remote location?
If that is the case, you may be able to make use of the SYSDBA and SYSOPER system privileges. What is your initialization parameter 'remote_login_passwordfile' set to?
The following link may be of help.
http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10739/dba.htm#sthref74
Similar Messages
-
SYS user connects at database level, is it correct?
My senior colleague has given me following information about the sys user. I want to know, is it correct?
Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.
MoazzamMoazzam wrote:
My senior colleague has given me following information about the sys user. I want to know, is it correct?
Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.Running a SQL script very likely means SQL*Plus is used. One of two types of Oracle sessions will be created via sqlplus. A dedicated session. Or a shared server session.
A dedicated session can also be local (sqlplus connects "directly" to the dedicated server process), or remote (sqlplus connects via tcp/ip to the dedicated server process).
A server session is usually "killed" using the alter system kill session command. Despite the differences between shared and dedicated server connections, the end result is the same. The session terminates abnormally (session UGA will be released, session will be cleaned up, rolled back, etc) - and the session ceases to exist.
So irrespective of how that sqlplus session runs that script - the session, when killed, will cause a sqlplus failure. And no subsequent script commands would be executed by that Oracle session.
What can happen is that sqlplus continues running, continues reading the script, and continues submitting commands to be executed. However, with the server session killed, there is no server process to service the commands submitted by the sqlplus client. In this case, sqlplus will throw the error "+SP2-0640: Not connected+" after each of the commands it tries to execute after the server session was killed.
The only time when sqlplus will be able to continue is when the session is not killed, but interrupted. The Oracle Call Interface (OCI) supports a OCIBreak() call - allowing the client to interrupt-and-abort the request that its server session is currently executing.
For example, sqlplus sends a OCIBreak() while it waits for a server response (e.g. waiting for the answer to a SQL select query), when the user presses Ctrl-Break to abort that request.
In this case, the session still exists - and the client can issue a new request that the session will service. But an OCIBreak() cannot be triggered (to my knowledge) externally from another Oracle session. You need to send the client process a "break request" (like a Ctrl-Break keystroke) in order to trigger that client process to make an OCIBreak() call to Oracle and interrupt its server process. -
How to change password of sys user connected as sysdba?
How to change password of sys user connected as sysdba?
I have connected with user name sys as sysdba in oracle 9i with password oracle.
I want to change the password . I typed password and pressed entered. It asks me to type old password, then new password and retype the new password. When I press enter it gives error message "ERROR:
ORA-28008: invalid old password"
Password unchanged.
does anyone know about this...? how to change the password..?You may be using operating system authentication to log in as sys with sysdba privileges.
By using password utility, you can change the password of sys user (which is in database) which is "change_on_install" when you create a database.
You can change this password. -
Not able to trace sys user connection from which node in audit
We have got one user who is accessing as sysdba and cannot be traced where the connection has come.
List of unique users logged successfully into SQLPLUS as SYSDBA
CLIENT USER: , STATUS: 0
Regards
NagaWe get the information from Audit of our production.
Someone accessing the production from client/desktop whose session is not traceable. Is there a way to trace the information who accessed it.
we are on 9.2.0.8 database -
Reg: Error while connecting to a remote database as SYS user.
Hello all,
When i try to connect to a database as SYS user i'm getting the error as
ora-01017 invalid username/password logon denied
But it is logging from the local system where the oracle is installed.
I created the password file and checked the contents in v$pwfile_users.
The result is " no rows selected".
so when i try to grant sysdba to sys user
grant sysdba to sys;
i'm getting error as,
ORA-01994: GRANT failed: password file missing or disabled
Please help me in resolving this.
Regards,
KondaI created the passwordfile using the command below,
orapwd.exe file=E:\app\Administrator\product\11.2.0\dbhome_1\database\PWDfile.ora force=y entries=30 password=<sys_password>
is this okay...?? -
I got following problem, when i log into EM:
java.lang.Exception: IOException in sending Request :: Connection refused: connect
That will appear on every EM i am connecting to...
I tried allready some troubleshooters like agentTZ, define TimeZone at emd.properties, restarting server or console but nothing helped.
I also looked for ports which will be used from more than one service but i found nothing :(
My OS is WinXP with 6GB Ram. Current there run 6 DBs on the machine
I have no Firewall on my OS.
If you need more Information, please ask, i am glad about every help i can get...
I have been trying to solve that problem for 3 days.Hi,
See if these threads help you:
java.lang.Exception: IOException in sending Request :: Connection refused
Re: OEM 10g... with 10g Release 2
Cheers -
Connect DB - SYS user with wrong password
Hi All,
A strange thing I have noticed with SYS user since Oracle 9i(never worked on earlier versions) is that I can connect to the SYS user as SYSDBA with wrong password as well! Please guide how to prevent this...
(I have searched for a solution online but was unable to find any :( )
SQL> CONN SYS/AAA@TEST AS SYSDBA
Connected.
SQL> DISC
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> CONN SYS/BBB@TEST AS SYSDBA
Connected.
SQL>
SQL> DISC
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production*009*There is nothing wrong and nothing should be, IMO, prevented.
When you log in to the server as an user in the dba group (Unix) or the ora_dba group (Windows), you are a power user and O/S authentication applies to you, and you don't need a password.
Logging in as owner of the software (oracle) all the time, what many DBAs do, is a bad idea anyway, as you can remove anyufile on O/S level.
Strategies to prevent this:
- make sure your account isn't in the groups I mentioned
or
- disable O/S authentication by editiing sqlnet.ora
Both procedures are documented.
Finally please note anyone who has root access can get around this easily.
Sybrand Bakker
Senior Oracle DBA -
Unable to connect using connect string in linus using sys user in Linux
Hi,
I am facing problem in using connect string while connecting as sys user in Linux OS
For example:
When I am connecting as
sys/sysoracle as sysdba its getting connected.
But when I am providing the connect string such as sys/sysoracle@TEST as sysdba its showing with error as:
ORA-12505: TNS :listener does not currently know of SID in connect descriptor
Any help will be benefitial for me
Thanks and Regards>
ORA-12505:
TNS:listener does not currently know of SID given in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a SID for an instance (usually a database instance) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.
- Check which instances are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SID parameter in the connect descriptor specifies an instance known by the listener.
- Check for an event in the listener.log file.>
So are you sure that TEST is a right connection string that you are using and is rightly configured?
HTH
Aman.... -
Connect as sys user as sysdba using vbscript
Hi I have to connect to the oracle database using sys user as sysdba using a vbscript.
I have the following part in the script:
Const TARGET_CONN = "DRIVER={Microsoft ODBC for Oracle};SERVER=XYZ;UID=sys;PWD=abc;"
Set conn = CreateObject("ADODB.Connection")
conn.Open TARGET_CONN
When i run the script i get the error: connection as SYS should be as SYSDBA or SYSOPER
Does anybody know how to do resolve this?
Thanks in advance.Hi,
If you were using Oracle's ODBC driver, you'd add "as sysdba" as part of the password, ie:
"DRIVER={oracle in oradb11g_home1};dbq=XYZ;UID=sys;PWD=abc as sysdba;"
However, you're using Microsoft's driver and I wouldnt be surprised if Microsoft's driver doesnt support it. If it does though, I'm not sure what you need to do.
Greg -
Hi folks
when i try to connect to oracle sys user from the unixbox its opening an idle instance .
[u01/appl/ora817]$ set ORACLE_SID=fclaie1
[u01/appl/ora817]$ sqlplus
SQL*Plus: Release 8.1.7.0.0 - Production on Thu Feb 28 09:37:55 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL>
can someone suggest me why an idle instance is starting rather then the normal instance .
Your expert suggestion is highly appriciated
ThanksConnected to an idle instance.Idle Instance means the instance has not started.
You can issue
c) Copyright 2000 Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup <-- (Here)
After which your instance will be started. By the way what you mean by normal instance?
Adith -
Can't use voice/video functionality with external domain connected users through federation
Hello All,
Hope you keeping well..!!
We are communicating with external customers lync server through federation option setup on our corporate lync server. We have received the federation setting from the customer with SIP address which has been setup on our corporate lync servers after
that we were able to browse the customer contact through corporate lync account.
We were also able to chat with external customer but however voice/video functionality are not working through same session. Whenever we try to dial out external customer lync account it ended with error message "call ended due to network issue".
We have checked the setting from corporate lync servers and network point of view but doesn't find any issue which cause the disconnection to voice/video over lync. Could you pl help or guide with the way to resolve the issue.
Thanks, MKThanks for your reply.<o:p></o:p>
Audio/Video works fine within corporate when dial any lync contact. We only have issue while trying to use the same functionality with any other
external lync contact configured over federation option.<o:p></o:p>
We already checked the security rules and all required ports are open, as confirmed by local resolver group.<o:p></o:p>
We have checked with external parties and according to them their systems are hosted by Microsoft as part of office 365 suite and they already have
federation option for 17 different customers which works fine. Which means issue must be your local end.<o:p></o:p>
Is there any tool available to identify the issue from client end?<o:p></o:p>
Also I have a question here....In my corporate environment...client is sitting in India and lync servers are hosted in UK and users connect to it
over MPLS route. In Client lync configuration we have internal/external servers configured .....so when i tried to make a voice call with external lync users then I see from netstat -a command that traffic hitting to multiple public IP addresses
directly from my machine..<o:p></o:p>
Does it mean that client required internet connectivity with specific open media ports to connect with external parties for video/voice? or in ideal
case all request should handle by corporate internal server which should took UK internet path to connect with external lync contact?
Thanks, MK -
OEM 11g login error with sys user.
I have two database in my local host. one is created with dbca and another is manually created.
i am not able to login ONLY with "sys" user in OEM 11g but i can login in sqlplus with the same user(only in database created manually ).yes m giving correct pwd as i mentioned i am bale to login with the same in sqlplus . below is the log details :
C:\Users\jatrived>emca -deconfig dbcontrol db
STARTED EMCA at Apr 25, 2013 12:33:20 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: cgdb
Do you wish to continue? [yes(Y)/no(N)]: y
Apr 25, 2013 12:33:29 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\cfgtoollogs\emca\cgdb\emca_2013_04_25_12_33_19.log.
Apr 25, 2013 12:33:30 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 25, 2013 12:34:12 PM
C:\Users\jatrived>emca -config dbcontrol db
STARTED EMCA at Apr 25, 2013 12:34:29 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: cgdb
Listener port number: 1521
Listener ORACLE_HOME [ D:\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 ................ D:\oracle\product\11.2.0\dbhome_1
Local hostname ................ ***********.corp.****.com
Listener ORACLE_HOME ................ D:\oracle\product\11.2.0\dbhome_1
Listener port number ................ 1521
Database SID ................ cgdb
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
Apr 25, 2013 12:35:12 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\cfgtoollogs\emca\cgdb\emca_2013_04_25_12_34_29.log.
Apr 25, 2013 12:35:16 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Apr 25, 2013 12:36:26 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library is already configured.
Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: EM_SWLIB_STAGE_LOC (value) will be ignored.
Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Apr 25, 2013 12:37:29 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Apr 25, 2013 12:37:29 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Apr 25, 2013 12:37:36 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Apr 25, 2013 12:37:37 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Apr 25, 2013 12:38:23 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Apr 25, 2013 12:38:23 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://***********.corp.****.com:5500/em <<<<<<<<<<<
Apr 25, 2013 12:38:25 PM 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 pl
aced in the file: D:/oracle/product/11.2.0/dbhome_1/***********.corp.****.com_cgdb/sysman/config/emkey.ora. Please ensure this f
ile is backed up as the encrypted data will become unusable if this file is lost.
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 25, 2013 12:38:25 PM
portlist details :
here now two db having same port , how to remove or change ?
D:\oracle\product\11.2.0\dbhome_1\install>more portlist.ini
Enterprise Manager Console HTTP Port (ORA10) = 5500
Enterprise Manager Agent Port (ORA10) = 1830
Enterprise Manager Console HTTP Port (jai) = 1158
Enterprise Manager Agent Port (jai) = 3938
Enterprise Manager Console HTTP Port (test) = 1158
Enterprise Manager Agent Port (test) = 1830
Enterprise Manager Console HTTP Port (cgdb) = 5500
Enterprise Manager Agent Port (cgdb) = 1831 -
Sys User cannot connect to DataBase10g through ODBC
Hi guys ,
am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
ORA-01017:invalid username/password ;login denied.
with the same user /password i connect many times at sql* plus.
Please guide me why its all happening.
Note=ODBC connection with other user HR/Scott have no problem.Using sql can very well mislead. See below,
E:\Documents and Settings\aristadba>sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> sqlplus shakeel/khan as sysdba
SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
SQL> connect shakeel/khan as sysdba
Connected.
SQL> connect tom/kyte as sysdba
Connected.
SQL> conn aman/sharma as sysdba
Connected.
SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
HTH
Aman.... -
Callback function is called with sys user context.
1. Create AQ Queue table
2. Create AQ Queue "MyQueue"
3. Start Queue "MyQueue"
4. Register "Subscriber1"
5. Register "MyQueue"."Subscriber1" with Notification URL : PLSQL:\\Mypackage.SP_Callback
Till here everything is fine...
6. Enqueue message into "MyQueue" with "Subscriber1" as recipient.
7. Now AQ notification is fired and as a result Its calling "Mypackage.SP_Callback".
Here the problem is "Mypackage.SP_Callback" is called from SYS user context. i.e if i capture the dbuser its "SYS" who is invoking the AQ notification call back method, "Mypackage.SP_Callback".
Do i have any settings so that "Mypackage.SP_Callback" is called with a specific user account instead of "SYS".
Please help me...
Edited by: user13421038 on Jun 30, 2011 5:06 AMHello,
From what is mentioned in this thread this issue is the same as that discussed in Note 552771.1. The issue should be resolved in 10.2.0.4 and 11.1.0.6 onwards.
Thanks
Peter -
Installing OEM 10g (10.2.0.1) Grid Control on Linux86
Hi friends,
I have successfully installed OEM Grid in our RHEL 4.6 server (1st time).
At the end of the installation I got this message:
See below for information pertaining to your Enterprise Manager installation:
1. Use the following URL to access the Enterprise Manager Grid Control:
http://server01.ebiztech.biz:4889/em
2. The Enterprise Manager installation includes an Oracle Application Server instance, which is administered using a special "ias_admin" user account. The following information was defaulted for the embedded Application Server instance:
Instance Name: EnterpriseManager0.server01.ebiztech.biz
ias_admin password: This password is the same the SYSMAN account.
3. The connection details for the Enterprise Manager Repository are:
Host: server01.ebiztech.biz
Port: 1521
SID: emrepI can do #1, and #3.
How do I access #2? what is the URL corresponding to it? Or is it done through SQLPlus?
Thanks a lot,
Ms KThanks Raj,
Of course I will upgrade it, but for now I am still cramming on how to complete my installation huhuhhu:(
Firstly....
How do you install management agent for linux86?
I have already installed OEM 10g Grid Control OMS on my linux sever which also has EBS R12.1.
Do I need to install a "management agent" on this server, to be able to manage my EBS R12.1?
Secondly....
I want to manage our EBS 11i which resides on another server (remote).
I downloaded the Linux_Grid_Control_agent_download_10_2_0_2_0.zip file from OTN,
and put it to the target server.
I unzip it following the readme.txt to the
1. Download the Linux_Grid_Control_agent_download_10_2_0_2_0.zip file from OTN.
2. Copy the downloaded file to <OMS_HOME>/sysman/agent_download/10.2.0.2.0 directory.(create <OMS_HOME>/sysman/agent_download/10.2.0.2.0 directory, if it doesn't exist.)
3. cd <OMS_HOME>/sysman/agent_download/10.2.0.2.0
4. <OMS_HOME>/bin/unzip Linux_Grid_Control_agent_download_10_2_0_2_0.zip
5. If agent_download.rsp doesn't exists at <OMS_HOME>/sysman/agent_download/10.2.0.2.0 directory then:
a. mv agent_download.rsp.bak agent_download.rsp
b. edit agent_download.rsp and modify s_OMSHost="%s_hostname%" and s_OMSPort="%s_OMSPort%" with the correct OMSHost and OMSPort values.(However, even if you are specifying a secure Management Service, you must still enter the non-secure port number here)
eg. s_OMSHost="stadv26.us.oracle.com"
s_OMSPort="4889"
6. Edit <OMS_HOME>/sysman/agent_download/10.2.0.2.0/linux/agentDownload.linux and modify OMShost=%s_OMSHost% and httpPort=%s_OMSPort% with the correct OMSHost and OMSPort.(However, even if you are specifying a secure Management Service, you must still enter the non-secure port number here)
For eg. OMShost =stadv26.us.oracle.com
httpPort=4889
7. Follow the agentDownload instructions from 5.4 section of Oracle Enterprise Manager Installation and Basic Configuration Guide.But when I got to #7 ....the documentation is not clear, as usual there are lots of injected unrelated topics which make the documentation "topsiturvy" and very hard to follow.
Can you just tell me, based on your experience how to install the agent? Someone told me to run OUI?
But I can not find it on the unzip >Linux_Grid_Control_agent_download_10_2_0_2_0.zip file
Thanks a lot.
Maybe you are looking for
-
No data found when adding column link to classic report
Hi, Oracle 11g r2, APEX 4.1.1.00.23. I have some classic reports. I go to Report Attributes, then I click Add Column Link in the "Tasks" right menu, it adds me a column link, I just add some text for the link and a page to go to. Then I run the repor
-
Exchange 2010 ET: 554 5.1.0 Sender denied,PerRecipientBlockedSender
Some senders get Sender Denied when sending to some recipents: This is from the ET log: Sender Filter Agent,OnEndOfHeaders,RejectRecipients,554 5.1.0 Sender denied,PerRecipientBlockedSender Any suggestions?
-
COR2 release flag(Process Order Release)
HI all, can we release a work order from cor2 if yes where can we find that release flag Thanks in Advance, Suresh
-
Change in technical skills required for APPS Release 12 ?
Hi all, My doubt/concern is: In APPS 11i, to become a technical developer, a person must have Oracle D2K + Pl/Sql skills as your basic skills for development/implementation. But I heard that starting from Release 12 onwards, there will not be any Ora
-
Sent mail showing up as Unread; multiple Drafts that don't auto-delete
I found an old 2008 thread that describes this pretty well: http://discussions.apple.com/thread.jspa?threadID=1372415&start=15&tstart=0 We're running Leopard 10.5.8, and the mail account is IMAP (not mac.com or gmail or fusemail, but our business mai