Columns in oracle 10g database
How many maximum columns i can create in a table of oracle 10g database?
This is the twice today :
Max.No. of columns a table can have in oracle9i db.10g?
Why everyone ask the same question ?
Nicolas.
Similar Messages
-
How to find encrypted columns in oracle 10g database
Hi,
How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
my question is apart from this is there anyother views or tables?
Thanks..user602872 wrote:
Hi,
How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
my question is apart from this is there anyother views or tables?Hmm not which I could find,
SQL> select * from dict where lower(table_name) like '%encrypted%';
TABLE_NAME
COMMENTS
DBA_ENCRYPTED_COLUMNS
Encryption information on columns in the database
ALL_ENCRYPTED_COLUMNS
Encryption information on all accessible columns
USER_ENCRYPTED_COLUMNS
Encryption information on columns of tables owned by the user
SQL>HTH
Aman.... -
Encryptind and decrypting database column in oracle 10g
hi guys...
i am sai sandeep,i got a doubt how to encrypt a database column in oracle 10g..?
i am using a table " emp_uid " ,and strtucture as follows,
create table emp_uid(user_id varchar2(20),pwd varchar2(20));
i need to encrypt a pwd column in the emp_uid.
how to do it..?
thanking u advance.....Ok, here's a basic example...
SQL> create table myusers (username varchar2(30), password varchar2(40));
Table created.
SQL> create or replace procedure add_user(username in varchar2
2 ,password in varchar2) is
3 begin
4 insert into myusers (username, password)
5 values (add_user.username
6 ,dbms_crypto.hash(utl_raw.cast_to_raw(add_user.username||'!'||add_user.password)
7 ,dbms_crypto.hash_sh1)
8 );
9 commit;
10 end;
11 /
Procedure created.
SQL> exec add_user('Fred','Fr3ddy')
PL/SQL procedure successfully completed.
SQL> select * from myusers
2 /
USERNAME PASSWORD
Fred E5C975DB4C0A1CF65683E36421A6305F09F4EA9A
SQL> set serverout on;
SQL> create or replace procedure loginuser(username in varchar2
2 ,password in varchar2) is
3 v_hash varchar2(40);
4 v_username varchar2(30);
5 begin
6 v_hash := dbms_crypto.hash(utl_raw.cast_to_raw(loginuser.username||'!'||loginuser.password), dbms_crypto.hash_sh1);
7 select username
8 into v_username
9 from myusers
10 where username = loginuser.username
11 and password = v_hash;
12 dbms_output.put_line('User: '||v_username||' logged in.');
13 exception
14 when no_data_found then
15 dbms_output.put_line('Username/Password is not valid!');
16 end;
17 /
Procedure created.
SQL> exec loginuser('Fred','Freddy');
Username/Password is not valid!
PL/SQL procedure successfully completed.
SQL> exec loginuser('Fred','Fr3ddy');
User: Fred logged in.
PL/SQL procedure successfully completed.
Ideally you would do the hashing of the password inside the client side application so only the Hashed value goes over the network, but the above demonstrates the principle of using hashes to store passwords. Because it's a one way algorithm, only a brute force method can be used to try and determine the original password. There is no way to directly un-hash the value. To check for a valid login, we don't retrieve the password and try to unhash it to compare against what the user has supplied, we actually take what the user has supplied and hash that in the same way and then compare the hashes.
The point of including the username or some other data in the hashing process means that if two users have the same password, they will still have different hash values, so it won't be apparent they are the same passwords. In my example, the point of putting another character between the concatenation of username and password is in case the username and password together would give the same result e.g.
If we had one user "Fred" with password "Fr3ddy" then just concatenating the strings would give "FredFr3ddy".
If we had another user "FredF" and he happened to choose a password "r3ddy" then just concatenating those would also give "FredFr3ddy"
by introducing a known breaking character they would be different e.g. "Fred!Fr3ddy" and "FredF!r3ddy" and hence give different hash values.
That's the basics of how passwords are stored for security.
It would take a lot of processing power and brute force methods just to determine a single password for a single user when using hashing methods of security.
With encryption, a brute force method could be used to find the decryption key, and once found that could be used to decrypt ALL the encyrpted data, hence it is less secure, especially when some clever person will no doubt have written the key down somewhere so they don't forget it. With hashing there's no key to write down. -
Oracle 10g Database control installation error
Hi,
Installing oracle 10g database control had give me an error.But Repository created successfully . please find the log file below
Is there i need to install ...? before i start to run emca to install Database Control.
my points of interest are here
FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
i didn't find jms.xml,rmi.xml,http-web-site.xml etc in this location /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/
File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
Let me know how to slove this error.
Thanks,
anil
Error
=========
emca -config dbcontrol db -repos create
STARTED EMCA at Apr 8, 2008 4:33:25 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: XXX
Listener port number: 1521
Password for SYS user:
Password for DBSNMP 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 ................ /opt/db/oracle/product/10.2.0
Database hostname ................ xxx.xxxx.local
Listener port number ................ 1521
Database SID ................ XXX
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: yes
Apr 8, 2008 4:34:55 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
the following is log generated (emca_2008-04-08_04-33-25-PM.log)
Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0]
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml in searching for tag jms-server with att
ribute port
java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1172)
at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml in searching for tag rmi-server with att
ribute port
java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1176)
at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml in searching for tag web-site
with attribute port
java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1180)
at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /opt/db/oracle/product/10.2.0/install/staticports.ini
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getFreePorts
CONFIG: /opt/db/oracle/product/10.2.0:mcidm11.pacs11.local:null:SDM:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_SDM.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: AGENT_PORT_SDM value: 3938
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_SDM.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBCONTROL_HTTP_PORT_SDM value: 1158
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_SDM.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: JMS_PORT_SDM value: 5540
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_SDM.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: RMI_PORT_SDM value: 5520
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
CONFIG: Ports assigned for SID: SDM : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-08_04-34-58-PM.log
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
CONFIG: Exception while granting priviliges.
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:503)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:208)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Failed to grant priviliges to dbsnmp.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: ORA-06550: line 1, column 62:
PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
ORA-06550: line 1, column 62:
PL/SQL: Statement ignored
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-06550: line 1, column 62:
PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
ORA-06550: line 1, column 62:
PL/SQL: Statement ignored
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
at oracle.sysman.emcp.EMReposConfig.unlockAccounts(EMReposConfig.java:566)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:235)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:239)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)Hi all,
i started creating database control repository, when i saw emca running i had seen repository created successfully , but sysman user is not created at this point of time. Then i looked into emca_repos_create_2008-04-10_11-57-03-AM.log file but the file is unable to open because it's looking for file emreposcre.sql which creates sysman user in this location /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
i feel while installing the database these files are not created....? or i need to run any scripts before running emca ....?
give me some inputs to this thread.
Thanks,
nil
STARTED EMCA at Apr 10, 2008 11:55:41 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: XXXXX
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: yes
Apr 10, 2008 11:57:02 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollog
Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 10, 2008 11:57:03 AM
mcidm11 10.2.0/bin>
CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-10_11-57-03-AM.log
Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
mcidm11 emca/SDM> pwd
/opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM
mcidm11 emca/SDM> more emca_repos_create_2008-04-10_11-57-03-AM.log
SP2-0310: unable to open file "/opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"mcidm11 emca/SDM> cd
Directory: /opt/db
mcidm11 /opt/db> cd /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
Directory: /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql
mcidm11 emdrep/sql> ls
core db ias ocs -
Problem Oracle 10g database Installation on Windows 2003 Server
Hi All,
I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
I double-insured that there is enough disk-space and I am also in the Administrators-Group.
Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
Regards
Muhammad Shoaib898118 wrote:
Hi All,
I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
I double-insured that there is enough disk-space and I am also in the Administrators-Group.
Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
Regards
Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names. -
How to configure Oracle Dataguard for Oracle 10g database
Hi Friends,
I would like to configuer Oracle Dataguard for my Oracle 10g Database.
Please provide me the configuration document.(step by step guide)
Regards,
DBHi
Go throw below link. This would be help to configure ODG..,
http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
Thanks,
Mayilselvan.S -
Error executing a package on Oracle 10G database
Hi,
I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
When I execute this package from .Net 2.0 client,I get the following error:
**Error**
err ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00216: invalid character 0 (0x0)
Error at line 1
**Error**
But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
Where am i going wrong?
Please help.
Thanks in advance...!
Regards,
AmitCheck the xml strings passed as input . One of the xmls may be malformed.
-
Problem in installation of Oracle 10g database on RHEL 6
I am facing the problem when I am trying to install Oracle 10g database on Red Hat 6. When ./runinstaller is run, the message seems to be if I remember correctly is like ‘……………bad ELF interpreter’. But, the same source seems to be installing correctly in Red Hat 5.
Please, help in solving the doubt.
RegardsHi;
1. Please make search before posting your issue here. Similar issue mention here million time
2. Please use certified platform such as *nix 5.x .
3. For can check certification from metalink or from below note:
Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
Installation of Oracle 10g Database on Windows Vista Home Basic
Hi All,
I'm confused about the possibility of installing Oracle 10g Database Server in Windows Home Basic Operating System with Service Pack 1. Please help me out with a confirmation.
Thanks in advance
PrasanthHi Prasanth
Yes that should be possible but is it a production database or just a test database.
you can always control that in metalink if it is supported, I don't believe it is.
Read that documentation to perform the installation.
http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/toc.htm -
Win32 Oracle 10g Database Server Installation problems
Hello,
I have recently installed the Oracle 10g Database Server for Win32. The installation seemed to be successful. I used the Enterprise option and all the suggested defaults. Ihave the following services installed and started after the installation:
o OracleDBConsoleORCL [started]
o OracleOraDb10g_home1iSQL*Plus [started]
o OracleOraDb10g_home1SNMPPeerEncapsulator [manual]
o OracleOraDb10g_home1SNMPPeerMasterAgent [manual]
o OracleOraDb10g_home1TNSListener [started]
o OracleServiceORCL [started]
I have created the following files:
# LISTENER.ORA Network Configuration File: d:\oracle10gServer\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\oracle10gServer)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = d:\oracle10gServer)
(SID_NAME = ORCL)
# TNSNAMES.ORA Network Configuration File: d:\oracle10gServer\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
I go to the DOS console and type:
c:> sqlplus scott/tiger@ORCL
and I get:
ERROR: ORA-28000: the account is locked
I did this right after I restarted my computer.
When I use the Enterprise Manager at:
http://localhost:5500/em/
I get for ORCL:
Status: Status Pending
Status Pending Since: Unavailable
Seems that I can never get the database started properly?! When I press the Startup/Shutdown button I get:
Current Status: open
This is the correct current database status, although it doesnot match the current status in the sitemap page
What does this mean? Do you think this may contain the clue to the answer to this problem?
When I restart the Database I get the same status: unavailable.
I need your help to resolve this problem. The alternative is to revert back to Oracle 9i DB Server. Thank you in advance.
gkkI can help you with the SCOTT account being locked. Try:
sqlplus /nolog
connect / as sysdba
alter user scott identified by tiger account unlock; -
Errors in manual creation of oracle 10g database
I created oracle 10g database manually and i am getting post installation errors.. could you please help out?
I executed @?/sqlplus/admin/pupbld.sql but it still shows
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
i tried to see
SQL> desc product_user_profile;
ERROR:
ORA-04043: object "SYSTEM"."SQLPLUS_PRODUCT_PROFILE" does not exist
not there?? any other scripts to be run ? please guide me.
2. I can not able login sys@sid as sysdba
SQL> select * from v$pwfile_users;
no rows selected
i changed
remote_login_passwordfile string EXCLUSIVE
re-started db but no help...
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01990: error opening password file
I re-created
$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapwmydb.ora password=xxxx entries=5 force=y
but no help..
Could one please help out... ! great thanks in advance..thanks for prompt reply .. but still one issue remain..
oracle DEVS $ sqlplus sys@sid sysdba
SQL*Plus: Release 10.1.0.4.0 - Production on Thu Jan 7 10:51:44 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01031: insufficient privileges
but i can able to login as sqlplus sys as sysdba
SQL> select * From v$pwfile_users;
no rows selected
i tired to do
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01990: error opening password file
'/u02/app/oracle/product/10.1.0/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
there is already one password file with orapwsid.ora.. how this should be solved ? please help. thanks -
We are getting ¿ stored into our Oracle 10g database (Microsoft fault)
We are getting ¿ stored into our Oracle 10g database that is using WE8ISO8859P1 character set.
Problem is caused by the following:
Microsoft released software (in particularly MS Word) before considering any ANSI or ISO standard (although they claimed so).
At that time of pioneering graphical interface - they were the standard. Since then things changed. Microsoft initially targeted US marked, however very soon they wanted to expanded to Europe. For that they needed to get standardized character set instead of one initially being in use. Microsoft re-mapped character set in newer applications using Windows-1252 character set which is compatible with ISO-8851-1 (we are using in our Java Web applications). That cleared obstacles to forward on European market, where extended characters are necessary (like in French, Dutch, German languages...)
What happened with the initial character codes before Microsoft agreed with ISO to standardize characters? Well - Nothing.
So what are the consequences of that?
If we are using Microsoft Word document in conjunction with one of the oldest character set (universe) the ice-age character mapping is still there. So when we "cut and paste" the content to another application, characters sets are not mapped anymore. Especially French language "is sensitive to this" The Microsoft character set in Word decimally coded 146 ( ' ) is very often used in French.
Therefore if the text is generated in MS Word using old character mapping (universe) which we do, and using method of "cutting and paste" we are mismatching character set interpreted by other, newer applications.
Initially in the MS words (apostrophe) ' had code 191; then later after implementing Windows 1252 character set being moved to code 146 in accordance to ISO. Well ISO threat character coded 191 as ¿. So if you are using MS Word universe character set, ' looks like ' but in newer applications or ISO compatible applications it looks like ¿.
Can anyone provide me with periodically cleanup routines that replace garbled characters entered by Microsoft applications into Oracle database ?
Thanks
BrendonA simply update should work.
SQL> CREATE TABLE CHARTESTING(COLUMN1 VARCHAR2(30));
Table created.
Elapsed: 00:00:00.01
SQL>
SQL> INSERT INTO CHARTESTING (COLUMN1) VALUES (CHR(191)||CHR(146)||DBMS_RANDOM.STRING('A',5));
1 row created.
Elapsed: 00:00:00.01
SQL> COMMIT;
Commit complete.
Elapsed: 00:00:00.00
SQL> SELECT * FROM CHARTESTING;
COLUMN1
┐ÆTeoqw
Elapsed: 00:00:00.06
SQL> UPDATE CHARTESTING SET COLUMN1=REPLACE(COLUMN1,CHR(191),'*');
1 row updated.
Elapsed: 00:00:00.00
SQL> SELECT * FROM CHARTESTING;
COLUMN1
*ÆTeoqw
Elapsed: 00:00:00.00
SQL>After numerous attempts you will have to trust me that the characters are correct, my sqlplus isn't working for displaying the characters. -
Exporting of files in oracle 10g database
hey friends,
I installed Oracle 10g Database server on Windows XP,when i tried to take the backup through "Export to Files".I got this error.
I have added Administrator in "Login as Batch JOb" and has given administrator along with the password in host credentials.
I explain the procedure.I Login as Sys as SysOper as Oracle does not allow to take backup as sysdba.
I created the job and also given the right path for the backup but some how it fails then i check the log and i find the following output.
Output Log
Export: Release 10.1.0.2.0 - Production on Fri Mar 4 16:39:23 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Username:
EXP-00004: invalid username or password
Username: Password:
EXP-00004: invalid username or password
Username:
EXP-00030: Unexpected End-Of-File encountered while reading input
EXP-00000: Export terminated unsuccessfully
The output log says i am giving invalid username and password but i don't know where i am giving the invalid username and password.
Please guide me as I am new to Oracle and want to learn Oracle Administration.
Thanks & Regards
AnkushGive me output of following on standby server
SQL>select name from v$datafile;
SQL>show parameter log_archive_dest -
Oracle 10g Database conflicts with HTMLDB
Hai all,
I have encountered a strange conflict when I am trying to work out with Oracle 10g database and the famous HTML DB.
It is like this:
I have a 10g DB installed and an ASP application that works on this 10g instance via "Microsoft ODBC driver for oracle" perfectly.
Now I have downloaded and installed the 10g Companion CD and installed the HTML DB 1.5 along with the mandatory Apache web server. Good!! I could scrawl through the database using the HTML DB, creating applications, forms, items and etc fancy things without any issues.
The problem that I found was:
The ASP based application that used to work initially now is erroring out saying that "TNS could not resolve service name".
I thought that the Listener might be damaged or the ASP site was damaged or the Microsoft ODBC driver files were damaged and several other vauge guessings.
I have tested the issue in several ways (reinstalled oracle, the DB, the ASP Applicaton, re-configurin listener in a variety of ways) but every time installing BLINDLY the companion CD too. Nothing seem to work.
Then I recollected that the same issue I have encountered in the past with the installation of Oracle 8i and Developer 2000, where the TNS listener configured by the former damages the one configured by the later and vice-versa.
Basing on this past reminiscence, I finally stopped installing Companion CD over the Oracle installation and carried out the DB installation and the ASP based app. And everything worked fine.
CAN anybody tell me what is going wrong with these two oracle products(Oralce 10g DB and the HTML DB+Apache)?
WHY always the installation of a CLIENT SW (Developer, HTML DB etc) damages the connection with the database via ODBC drivers?
Many Thanks in advance.
RaviDera Mr. Tyler,
Thanks for your reply...I have implemented the solution that you have given for the TNS Listener conflict and everything works fine...
Here I have one more thing thats not working as I thought. do kindly help me out.
My requirement is to show the list of available storage drives (say C:, d:, e: etc on windows) available on the database server. Let me eloborate my problem well....
i have a Java App that executes a specific SQL script to create a tablespace, a user and the required db objects that my applicaiton needs.
if the Java App runs on the same machine where the oracle instance is running, the Java app pops up a list of available drives on the machine, creates a directory for the tablespace datafiles on the drive selected from the above list box, then runs the script which creates the tablespace and the rest of the things.
But if i run the Java app from another machine on the network, then my BLIND java app is popping up the drives of the local machine but NOT those from the oracle server machine and creates the folder on the local machine but not on the Oracle server and obviously the rest of the phases (tablespace creation itself) are failing as the required folder is not found on the oracle server machine.
the work arounds that i am thinking are:
a) use java ->
get the IP of the oracle server machine ->
use some java api such as java.net, java.io etc ->
create the required folder on the server machine instead of the local machihe
ISSUE: Java network programming is too tough for me(excuse me for this..i am not too good!!)
b) use some oracle sql or pl/sql api s to do the same
ISSUE: not found one!!!!
c) create a java stored procedure/function to get the list of drives of the oracle server and return as a string variable. then call this proc from the Java app once connected to the database....
ISSUE: i have created the SO-CALLEd java func. no compilation or loading errors. but there is no o/p either. but the same code when i run as a java class is showing the desired o/p. here is the code piece...can you please help me out!!!
-------Java Stored Function------
import java.io.*;
public class HDDLister
public static String listDrives()
String rootsList = "Available Roots: ";
try
File[]roots = File.listRoots();
for (int i=0;i<roots.length;i++)
rootsList += roots.toString();
rootsList += "#";
catch(Exception ex)
rootsList = ex.toString();
return rootsList;
-------Command to publish the Funciton-------
CREATE OR REPLACE FUNCTION HDDLISTER
RETURN VARCHAR2
IS
LANGUAGE JAVA
NAME 'HDDLister.listDrives() return java.lang.String';
and finally the point of the problem is, once we show the drives available on the server machine to the user and the user selects a drive, how to create a folder on the server machine???
Thousands of thanks in advance
Ravi -
Oracle 10g Database 64 bit setup file
Hi Friends,
I want 10g oracle database 64 bit or any Oracle 10g database setup file which is compatible with windows 7 64 bit.
I have searched in torrents and Google every where for this. I dont have Oracle support a/c to order CD.
Please help by sharing the setup file for this.
I need this for installing obiee 11g in my laptop which have win 7 4gb ram.
I tried installing Database 11g and obiee 11.1.1.5g simple install still 4GB RAM seems not sufficient.
TIAThe only 10gR2 version certified with Win 7 (Pro or higher, Home version is not supported) is 10.2.0.5 - http://docs.oracle.com/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
10.2.0.5 is only available on My Oracle Support, which you do not have access to, so you will need to install 11gR2 that is available at http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
HTH
Srini
Maybe you are looking for
-
Display an Image from a XML document
I am trying to read an xml element, that contains a name of an gif file. I use this name and set it the src value for the image. Except the image will not display in my HTML table. The following line of code is in my javascript and is apart of my XML
-
4.3 Update - Car Stereo Issue, voice dialing not working with Bluetooth
I've seen some similar issues reported, but they were for specific cars/stereos, and the symptoms were different, so I'm posting about mine: Phone: Samsung Galaxy SIII, Android 4.3. Car Stereo: Pioneer AVH-X2500BT This is a stereo I bought and instal
-
IMac G5 problem...Need help
This is my first time posting to the IMac G5 discussions, and I hope someone here can really help. Something weird is happening to my computer when it is being turned on. Nothing on the screen is displayed, and there is a constant beeping sound. Plus
-
PSE 9 - Importing photos into Organizer
I have just upgraded from a previous version of PSE and none of my photos from the hard drive are in Organizer. Organizer only has a handful of photos - mainly I think from those recent shots which I have edited over in the Editor. I have spent ages
-
How can I debug using my Android phone?
Hello, I am trying to run a debug for a game I am developing on my phone. However, I am not sure how to do that. I know how to publish and get what I have so far on the phone though. I am using Flash CS5 and managed to get my hands on the Adobe Air