10g Full exp/imp using the sys user
HelloI plan to do an export of complete data of data from a database to a different database created on another server/platform.
Oracle version/patch level is the same 10.1.0.5.
I also plan to use exp/imp instead of datapump, as I'm not sure how stable Datapump is in this version.
I want to export and import as "/ as sysdba" because it pays a sys privileges for users of database application.
file = filename log full filename.log = exp = y
Full IMP = log y = filename ignore = there give = filename.dmp
ignore = y, because the tablespaces wil lbe created in advance due to the disposal of the other file system.
The above method is ok or it will cause me problems
Thank you
Hello
exp/imp does not affect accounts system/sys. they are not at all affected.
Concerning
Tags: Database
Similar Questions
-
Hello
I have change the password for the SYS user
export ORACLE_SID = orcl
echo $ORACLE_SID
ORCL
but when I try to connect me with @sid I get this error:sqlplus /nolog connect / as sysdba alter user sys indentified by orcl_pwd; sqlplus sys/orcl_pwd as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Mon Oct 22 17:14:07 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
Do you have any idea how I can change the password for the SYS user?sqlplus sys/orcl_pwd@orcl as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Mon Oct 22 17:16:09 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. ERROR: ORA-01031: insufficient privileges Enter user-name:
his recommended Oracle when you go to change password use SYS
orapwd file=
password= entries=5 -
Cannot connect the sys user remotely
Hello
Oracle Version: 11.2.0.4
OS: Win Server 2008 R2
Despite the creation of password for the file and modify the init.ora for exclusive use.
Remote_login_passwordfile string EXCLUSIVE
I am still unable to connect the user sys.
869855 wrote:
Sincere apologies, I forgot to share the error
SQL > conn nwbackup@ucmdb as sysdba
Enter the password:
ERROR:
ORA-01017: name of user and password invalid. connection refused
P.S: Connectivity works very well with other users.
So how about you change the password for the SYS user and try to connect again?
Aman...
-
Dear all,
My database is Oracle 10 g on Windows platform.
Due to certain requirements (DBAs) checks must use our accounts indivisual instead of SYS.
I want to confirm if I assign SYSDBA, s/n, RESOURCES, CONNECT to a user it will get all the privileges that the SYS user have? I think I will be fine.
The second condition is now, if I get all the privileges in my own account who is saying "IMRAN" than will be using the SYS account. It can be disabled?
Thank you and best regards.
SYS cannot be disabled. Cannot delete SYSDBA privilege. Any person who is granted the SYSDBA privilege and made a connection with "AS SYSDBA" actually connects under the SYS, not his named account account.
Therefore,.
a: I would not grant SYSDBA to named users
b. I would lock in a safe accessible only by a manager the "oracle" account (and any other account in the OSDBA group)
c. ask the DBA using the DBA role (or a custom, more restrictive role)
d. to request the account 'oracle' only for STARTUP, SHUTDOWN, RESTORE/RECOVERY and patch. (assuming backups are automated scripted jobs)
Hemant K Collette
-
change password for the sys user
How can I change the password for the sys user?... I want to change the password so that no one else besides me can use the sysdba accountchange or add a parameter in the file sqlnet.ora None
SQLNET.authentication_services = (NONE)
wait for the right password that no one can access it;
Try this
then check;
SQL > SELECT * FROM V$ PWFILE_USERS;
-
Not able to connect to oracle 9.2 to the sys user assistance
Hi all
I use oracle 9.2 on RHEL4. DB is in open mode when I try ot through the sys user connection, is asked to start the instance. But it is already in the opening mode...
Alert log file...-bash-3.00$ sqlplus /nolog SQL*Plus: Release 9.2.0.4.0 - Production on Mon Jul 27 10:16:43 2009 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> conn sys/password as sysdba Connected to an idle instance. SQL>
Processes that are already runningSuccessfully onlined Undo Tablespace 1. Sat Jul 25 16:30:44 2009 SMON: enabling tx recovery Sat Jul 25 16:30:44 2009 Database Characterset is WE8ISO8859P1 replication_dependency_tracking turned off (no async multimaster replication fou nd) Completed: ALTER DATABASE OPEN Sun Jul 26 20:49:46 2009 Thread 1 advanced to log sequence 11 Current log# 2 seq# 11 mem# 0: /u01/app/oracle/oradata/ic/redo02.log "alert_ic.log" 305L, 12951C 305,3 Bot
Please suggest me how to overcome this problem...-bash-3.00$ ps -ef|grep ora oracle 5939 1 0 Jul24 ? 00:00:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session oracle 6120 1 0 Jul24 ? 00:00:00 /u01/app/oracle/product/9.2.0/bi n/tnslsnr LISTENER -inherit oracle 7188 1 0 Jul24 ? 00:00:00 /usr/libexec/gconfd-2 32 oracle 8134 1 0 Jul25 ? 00:00:00 /usr/bin/gnome-keyring-daemon oracle 26315 1 0 Jul25 ? 00:00:00 ora_pmon_ic oracle 26317 1 0 Jul25 ? 00:00:00 ora_dbw0_ic oracle 26319 1 0 Jul25 ? 00:00:00 ora_lgwr_ic oracle 26321 1 0 Jul25 ? 00:00:04 ora_ckpt_ic oracle 26323 1 0 Jul25 ? 00:00:01 ora_smon_ic oracle 26325 1 0 Jul25 ? 00:00:00 ora_reco_ic oracle 26327 1 0 Jul25 ? 00:00:00 ora_cjq0_ic oracle 26329 1 0 Jul25 ? 00:00:24 ora_qmn0_ic oracle 26331 1 0 Jul25 ? 00:00:00 ora_s000_ic oracle 26333 1 0 Jul25 ? 00:00:00 ora_d000_ic root 27663 27662 0 10:01 ? 00:00:00 login -- oracle oracle 27664 27663 0 10:01 pts/1 00:00:00 -bash oracle 27710 27664 0 10:19 pts/1 00:00:00 ps -ef oracle 27711 27664 0 10:19 pts/1 00:00:00 grep ora -bash-3.00$
You might enter into a different SID.
Please
export ORACLE_SID =
Then try to connect
-
Tracking change the sys user actions
I use Oracle 10.2.0.3
Is there anyway I can follow change the user account unlock or take into account the lock instructions?
I need to update the table with the username when account unlocking or locking operations is performed.
I know audit_sys_operations auditera sys operations and write them to a file but it will not help my problem since I want to update a table when the unlock operation account is made.
I can't create trigger on table $ USER because it is a table of the sys user.
Is there another way to track and update the table?It looks like you want a trigger on the event alter at the database level. See the first line of [table 9-4 | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#CHDGIJDB] which indicates what attributes are available inside a trigger on the ALTER event. From there, take a look at [table 9-2 | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#CHDCFDJG] which describes each of the available attributes.
Since you are interested in changes to the users you probably want to test only the attribute ora_dict_obj_type = 'USER '.
Further you can must use the attribute ora_sql_txt function which is available according to table 9-2 to inspec the actual SQL that was used to change the user data dictionary.
You probably want something like this (note that this is not tested):
CREATE or replace TRIGGER ALTER_USER_TRG BEFORE ALTER ON DATABASE l_stmt varchar2(2000); l_sql_text ora_name_list_t; n number; l_action VARCHAR2(50); BEGIN if (ora_dict_obj_type = 'USER') THEN n := ora_sql_txt(l_sql_text); for i in 1..n loop l_stmt := l_stmt || l_sql_text(i); END LOOP; if regexp_like(l_stmt, '(un)?lock', 'i') then null; end if; end if; END;
-
For NetWeare customer service
How can I close the Client Services for Netware that is me project to use the fast user switching without losing my internet connectionHello
Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in Forum.You IT Pro can follow the link for your question:
http://social.technet.Microsoft.com/forums/en/category/w7itpro
-
It is necessary (or even possible) to use the CHANGE USER/install and CHANGE USER/execute commands to install a program in a Terminal Server (RDP) Services environment so that it is available to other users via RDP?
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads
I hope this helps.
-
After changing the orainventory place im unable to connect using the oracle user
Hello
IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses
/ u01/app/Oracle
After making these changes im is no longer able to connect using the oracle user...
also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...
any help on this would be greatly appreciated
Sadia. wrote:
Hello
IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses
/ u01/app/Oracle
After making these changes im is no longer able to connect using the oracle user...
also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...
any help on this would be greatly appreciated
Newer versions of oracle have implemented a great new technology to help solve problems, called "error messages." Unfortunately, I can't find any reference to an error message named 'is no longer able to connect.
And why you are moving your site from inventory? When you have installed oracle, he put the inventory where he wanted. There is no reason to try to change or replace.
-
The SYS user connects to the database level, is this correct?
My senior colleague gave me following information about the user sys. I want to know, - is this correct?
Since the SYS user connects to the database level, therefore, on the session active user SYS, to kill only the current statement is canceled. The database session does not disconnect. Instead, he continues to run the remaining in the script file instructions where we run a script file that contains a large number of SQL statements.
ElyaIf the Oracle session was killed and the customer continued to successfully submit the following commands to the database, a new session was automatically created to replace the killed session. A feature called Of Application Transparent failover which allows the customer to switch to a session of a RAC server to another RAC server, the initial session fails (for example, RAC Server breaks down).
TAF is part of the response to the so-called "+ the Evil Twins +"-errors and crashes. The rest of the answer are FAN (Fast Application Notification) and CLF (resumption of fast connection). This set of features about the errors and crashes - and allows an application 'seamless' continue even when his Oracle Server session fails.
See the white paper Oracle on failover of applications with Oracle Database 11 g for the basic details.
-
package not seen under the sys user!
Hello;
I discovered under the sys user packages;
but not our package seen under sys; I create with the sys user
any idea
regrads
siyavusThis is not a package, it is a procedure. Go and check the procedures instead of packages.
The user who you are trying to check, SYS again?
Ogan
-
How to use the Weblogic user in my WebCenter application?
Hello
I'm doing my first Webcenter application. I have configured my wiki and weblogic server to connect, forum (discussions) with my users OID. So now any user OID can connect to this application.
In my custom application Webcenter I configured JAAS security, now I would like to know how to use the same users OID in my application. Is this possible? Can someone help me? I tried Oracle Developers Guide, but it doesn't help me.
Sorry for my bad English...
Thank you
NelsonYou need to register a new provider of authentication on WLS. Please see this link http://www.oracle.com/technology/products/jdev/tips/fnimphius/oidconfig/index.html.
-
The agreement of exp/imp privilege to a user authenticated externally
DB version: 11.2.0.2
OPERATING SYSTEM: AIX 6.1
We have a User (schema) DB called OPS$ appuser who is authenticated on the outside.
This user must be granted privilege to perform import dumpfile of the schema scott to another schema, called appschema2.
That's what appuser will do to the unix command line
This involved the DB schemas-- $ su - appuser $ exp / owner=scott file=scott.dmp $ imp / file=scott.dmp fromuser=scott touser=appschema2
For security reasons, we cannot grant the privilege IMP_FULL_DATABASE OPS $ appuser. Then, what a privilege can I give to OPS$ appuser to perform tasks above exp and imp?OPS$appuser -- The user performing the exp and imp scott -- The schema which is being exported appschema2 -- The schema which OPS$appuser imports the contents in scott.dmp to.
Hope that the exp and imp syntax I mentioned above are correctNo, as imp_full_database is necessary for this.
Also, you will use better expdp and impdp using the network_link parameter.
In doing so, you could write a pl/sql procedure using the dbms_data_pump API to replace the cr * p command line and there will be no access from command line required more.-------------
Sybrand Bakker
Senior Oracle DBA -
migration from 10g to 12 c using the data pump in
Hi, while I used the data pump at the level of the schema before, I'm relatively new to the full database import.
We are trying a full database migration to 10.2.0.4 to 12 c using the complete method of database data pump over db link.
the DBA has indicated to avoid move SYSAUX and SYSTEM objects. but initially during the documentation review, it appeared that these objects are not exported since the TRANSPORTABLE given target = system NEVER. If anyone can confirm this? done import and export log refers to the objects I thought would not:
...
19:41:11.684 23 FEBRUARY 15: Estimated TABLE_DATA 3718 objects in 77 seconds 19:41:12.450 23 February 15: total estimation using BLOCKS method: 52,93 GB
19:41:14.058 23 February 15: object DATABASE_EXPORT/TABLESPACE of treatment type
20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'UNDOTBS1' already exists
20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'SYSAUX' already exists
20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'TEMP' already exists
20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'USERS' existing
20:10:33.200 23 FEBRUARY 15: 96 objects TABLESPACE finished in 1759 seconds 20:10:33.208 23 February 15: treatment of type of object DATABASE_EXPORT/PROFILE
20:10:33.445 23 FEBRUARY 15: 7 PROFILE items finished in 1 seconds 20:10:33.453 23 February 15: treatment of DATABASE_EXPORT/SYS_USER/USER object type
20:10:33.842 23 FEBRUARY 15: 1 USER objects ended in 0 seconds 20:10:33.852 23 February 15: treatment of DATABASE_EXPORT/SCHEMA/USER object type
20:10:52.368 23 February 15: ORA-31684: USER object type: 'OUTLN' already exists
20:10:52.368 23 February 15: ORA-31684: USER object type: 'ANONYMOUS' already exists
20:10:52.368 23 February 15: ORA-31684: USER object type: 'OLAPSYS' already exists
20:10:52.368 23 February 15: ORA-31684: USER object type: 'MDDATA' already exists
20:10:52.368 23 February 15: ORA-31684: USER object type: 'SCOTT' already exists
20:10:52.368 23 February 15: ORA-31684: USER object type: 'LLTEST' already exists
20:10:52.372 23 FEBRUARY 15: Finished objects USER 1140 in 19 seconds 20:10:52.375 23 February 15: object DATABASE_EXPORT/ROLE of treatment type
20:10:55.255 23 February 15: ORA-31684: object ROLE type: 'SELECT_CATALOG_ROLE' already exists
20:10:55.255 23 February 15: ORA-31684: object ROLE type: 'EXECUTE_CATALOG_ROLE' already exists
20:10:55.255 23 February 15: ORA-31684: object ROLE type: 'DELETE_CATALOG_ROLE' already exists
20:10:55.256 23 February 15: ORA-31684: object ROLE type: 'RECOVERY_CATALOG_OWNER' already exists
...
the most insight.
The schema SYS, CTXSYS and MDSYS ORDSYS are not exported using exp/expdp
DOC - ID: Note: 228482.1
I guess that he has already installed a 12 c software and created an itseems database - so when you have imported you have this "already exists."
Every time the database is created and the software installed by default system, sys, sysaux will be created.
Maybe you are looking for
-
I had a problem with Mail crashing several times today and was close to restore my phone but am happy that I stumbled upon a solution until I did it! I'll copy / paste of the other post I made on the discussion board: I had a problem this morning wit
-
Hello I'm looking for advice from the community RE: purchase of MacBook Pro 13 inch with Retina display Core i7 processor 16 GB OF RAM 512 GB Flash storage I need a laptop NOW. So, unfortunately, I look forward to the implementation of models of MacB
-
Qosmio G40 - freezes and the sound of noisy fan
My G40 seems to have a few erratic startup problems upward. Sometimes during the starting process that the computer seems to freeze everything and all I can hear is a loud fan noise. I tried this remedy in the option restart but have had no joy. Is t
-
14 - af110nr: Ram expansion to 14-af110nr
Only 2 GB of Ram! How we missed it? We just got a 14-af110nr and will need to add more Ram. Anyone know what kind of Ram it accepts and is accessible.
-
How to Center 5 "wide paper in the paper tray?