Oracle 11g Data Gaurd problem
I am currently in a Dev environment, working on a 11g Data Guard configuration, having Primary and Standby in 2 different nodes.
Both the nodes had their parameter files configured with the specific DG parameters, which are as below -
Primary init.ora
*.db_domain=''
*.db_name='o11_prim'
*.db_unique_name='o11_prim'
*.instance_name='o11_prim'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=o11_primXDB)'
*.FAL_Client=o11_stby
*.FAL_Server=o11_prim
*.job_queue_processes
*.Log_archive_config='DG_CONFIG=(o11_prim,o11_stby )'
*.Log_archive_dest_1='Location=/u01/app/oracle/pro duct/11.1.0/db_1/dbs/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=o11_prim'
*.Log_archive_dest_2='Service=o11_stby lgwr async AFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=o11_stby'
*.Log_archive_dest_state_1=ENABLE
*.Log_archive_dest_state_2=ENABLE
*.log_archive_format=%t_%s_%r.arc
*.log_archive_max_processes0
*.service_names='o11_prim.xyz.com'
*.Standby_File_Management='AUTO'
*.statistics_level='TYPICAL'
*.timed_statistics=TRUE
Standby init.ora
*.db_domain=''
*.db_name='o11_prim'
*.db_unique_name='o11_stby'
*.instance_name='o11_prim'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=o11_primXDB)'
*.FAL_Client=o11_stby
*.FAL_Server=o11_prim
*.job_queue_processes
*.Log_archive_config='DG_CONFIG=(o11_prim,o11_stby )'
*.Log_archive_dest_1='Location=/u01/app/oracle/pro duct/11.1.0/db_1/dbs/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=o11_stby'
*.Log_archive_dest_2='Service=o11_prim lgwr async AFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=o11_prim'
*.Log_archive_dest_state_1=ENABLE
*.Log_archive_dest_state_2=ENABLE
*.log_archive_format=%t_%s_%r.arc
*.log_archive_max_processes0
*.service_names='o11_stby.xyz.com'
*.Standby_File_Management='AUTO'
*.statistics_level='TYPICAL'
*.timed_statistics=TRUE
Initially, the Archive logs were getting transferred to the Standby via Automatic Managed Recovery Process. Command given below.
# This command is being run on Standby for starting Automatic Managed
# Recovery Process
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
Then we used to tail the Alert logs of both Primary and Standby, and the logs got transferred at the physical location of the Archive logs in Standby db.
Then one day due to some problem with the pfile, I shutdown the Standby db with the Primary up and running as usual using the following command-
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL IMMEDIATE;
The Result was as expected - Primary Archive logs got accumulated and the same couldn't be transferred to Standby as the Standby was down.
I had to manually recover the Standby by copying the extra Archive log files from Primary to Standby and then running the Recovery Process manually, using the below command -
SQL> RECOVER AUTOMATIC STANDBY DATABASE
Then when I restarted the Automatic Recovery process on Standby, I received the error as below -
ORA-16009 - Remote archive log destination must be a STANDBY database
This error keeps appearing on the alert log of both primary and physical standby that i configured.
I have no clue as to where it went wrong.
Kindly help!
Hi,
Here is my tnsnames.ora entries.
o11_prim =
(DESCRIPTION =
(FAILOVER = ON)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.30)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = o11_prim.cts.com)
LISTENER_PRIM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
o11_stby =
(DESCRIPTION =
(FAILOVER = ON)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.30)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = o11_prim.cts.com)
The service name for standby is o11_prim.cts.com and db_unique_name is o11_stby.
Similar Messages
-
Oracle 11g - Date Issue?
Oracle 11g - Date Issue?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04.
Our NLS_DATE_FORMAT = 'DD-MON-RR'
Using 'RR' in the format forces two-digit years less than or equal to 49 to be interpreted as years in the 21st century (2000–2049), and years 50 and over, as years in the 20th century (1950–1999). Setting the RR format as the default for all two-digit year entries allows you to become year-2000 compliant. For example:
We have a date '01-JUN-31' in our source system. It treat this date as 01-JUN-2031' instead of '01-JUN-1931'. One century forward.
Do we able to resolve using NLS_DATE_FORMAT change?
How do we resolve this issue?
Thanks in helping.qwe16235 wrote:
Our source is Oracle data base, where S_date is defined as DATE. Why did you say STRING , when it defined as DATE data type?I doubt you source is an Oracle database. You may have it stored in an Oracle database, but it cam form somewhere else, and was very likely inserted into the table as a string, wherever it came from. Given a string that resembles a date, Oracle will try to convert it to a date using the nls_date_format parameter for the session (which can either be set in the session or inherited form the database). Perhaps this will help explain:
SQL> create table t (conv_type varchar2(10), dt date);
Table created.
SQL> alter session set nls_date_format = 'dd-mon-rr';
Session altered.
SQL> insert into t values ('Implicit', '01-jun-31');
1 row created.
SQL> insert into t values ('Explicit', to_date('01-jun-1931', 'dd-mon-yyyy'));
1 row created.
SQL> commit;
Commit complete.
SQL> select conv_type, to_char(dt, 'dd-mon-yyyy') dt
2 from t;
CONV_TYPE DT
Implicit 01-jun-2031
Explicit 01-jun-1931So, unless you are really inserting dates, not strings that look like dates, you are going to have problems.
John -
Cannot load any data from Oracle 11G data base
Hi Gurus!
We using SAP BI 7.0.
We have a source system, which is an Oracle Data warehouse based on Oracle 11G data bases.
We created the source system in the BI without any problem.
The connection is open to the Oracle databases.
We created data source in the BI (trn. RSA1), and when we would like to Read Preview Data (Display data source, Preview tab) we can't see anything.
The system is working, in trn. SM50 we see the process is runing, but we can't see any data (we wait more than 5000 sec.)
When we tried data load from the source system, we got a short dump with time-out (after 50000 sec.)
Summarize:
- the connection to the source system is OK,
- the process is running
- we can't see any Preview data
Can somebody help us?
Thank you.
Best regards,
Gergely GombosWe really need to know what errors or warnings the Cache Agent is reporting in the TimesTen ttmesg.log files, when an autorefresh fails, to be able to give advice. If the size of the datastore segment is 512MB (though you don't say how that is divided between Perm, Temp and Log Buffer) but you're only using 30MB of Perm, then on the face of it, it's not a problem in running out of memory. You say autorefresh doesn't complete when "there are a lot of updates on cached tables" - do you mean updates being done directly on the rows in the TimesTen cachegroups, by users? If so, it sounds to me like you have locking contention between the user updates, and the autorefresh mechanism trying to bring new rows in from Oracle. Again, the ttmesg.log should spell this out.
-
Oracle 11g EM configuration problem
It seems a "bug" to me:
Windows 2003 R2 64-bit with all up-to-date patches
64-bit Oracle 11.1.0.7 for Windows 2003 R2 64-bit
The machine has only one HD right now and it is assigned to H, the DVD drive is assigned to D
Installed Oracle 11g, everything is fine, didn't configure the EM during installation.
After installation, manually configure the EM:
H:>emca -repos create
H:>emca -config dbcontrol db
all seems fine, but at the end of the second command, 2 perl.exe instances started. One of them never stops. It just eating up all the RAM (from 1.3GB --> 4GB and still increasing) and CPU (100% all the time).
The solution: plug-in a USB drive, which will be assigned to be C drive. Then the perl.exe calms down immediately, released most of the memory and CPU used.
But the perl.exe can resume this behavior maybe every one or two days. So, to calm it down, I have to keep the USB drive plugged.Never heard about this,report the issue to Oracle support (you have a patched version,so I think you can open a SR on metalink). It may be that there's a 'hard-coded' reference to drive C somewhere in the code.
Werner -
Oracle 11g client Update Problem
Hi ,
I have problem with oracle 11g client, I have a treatment that is has selected information and update after the last treatment.The problem is that the update is sometimes the enssemble fields, even those I do not want to update.
I use the 11g client with c #, my procedure is like update WHERE num = @ aram.I have doubts about the problems of loss of connection, because it give me the log: host not found, but there is a transaction, and in case of emergency I did a rollback.is there anyone who approaches to this problem??I took you to kindly help me, because the project and in production modeApart from the fact that this has nothing to do with Oracle Forms the certifications and the version checks of the installer are there for a reason. Copying one version file doesn't make your RHEL6 a RHEL3. RHEL6 most certainly uses a different kernel, different libraries, different everything then RHEL3 (yes, Software Vendors change version numbers of their products not just for fun!). You might get lucky (using your friend google) that you get it working with some effort, but this doesn't guarantee that everything works and given the fact that this is not certified getting help is not that easy. Better yet is to save yourself the time and stick with certified combinations (maybe use OEL insted of RHEL?)
cheers -
Oracle 11g R2 install problem on Windows Server 2008 R2 SP1
Hi all,
Trying to install the Oracle 11g R2 database onto Windows Server 2008 R2 SP1.
I get as far as running the setup and a black window flashes up on the screen and disappears.
The log files only show the following:
Using paramFile: C:\Temp\database\install\oraparam.ini
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
The number of files bootstrapped for the jre is 0.
The number of files bootstrapped for the oui is 0.
I've tried running setup -debug from the command line but no further information is logged.
Any help in troubleshooting further is appreciated.That is the complete log file. No error messages or further information is given.
I'm not sure how to check:
Statement of Direction: Oracle Database 11g Release 2 – Microsoft Windows 7 and Windows Server 2008 R2 [ID 867040.1]
I have checked on:
http://docs.oracle.com/cd/E11882_01/install.112/e24283/toc.htm
The server meets all the hardware requirements. The default file share is accessible and it is running a supported browser. The installer is being run with Admin rights. I'm not sure what else I need to check. -
Oracle 11g Greek Characters problem
Hello,
I have an Oracle 11g Express Edition installed on my Windows 7 64 bit machine, and i store greek characters inside it.
The characters display fine on SQL developer.
But when i connect it with my php application using PDO i get ??? instead of the greek characters.
I've set nls_lang in registry to GREEK_GREECE.EL8MSWIN1253
But when i run select * from nls_database_parameters i get the following.
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AL32UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET UTF8
NLS_RDBMS_VERSION 11.2.0.2.0
Also, when i connect with pdo i use this command: $pdo_string = 'oci:host='.$this->server.';dbname='.$this->database.';charset=AL32UTF8';
Any thoughts on this?
Any help will be appreciated.
Mike991209 wrote:
Solved it with:
shutdown immediate;
startup mount;
alter system enable restricted session;
alter system set job_queue_processes=0;
alter database open;
alter database character set internal_use EL8MSWIN1253;
shutdown immediate;
startup;This is not a documented or supported method to change the characterset of a database - supported methods are documented - http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#g1011430
https://forums.oracle.com/forums/search.jspa?threadID=&q=internal_use&objID=f50&dateRange=all&userID=&numResults=15&rankBy=10001
You will need to restore the database from a good backup and convert the characterset in a supported manner.
Also, 11g XE is not supported on Win 7 64-bit - http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABGGAJA
HTH
Srini -
Oracle 11g Database Schema problem
Hi I have installed the Enterprise Edition of Oracle 11g on windows XP SP2. I log in to Enterprise Manager. When I click on the schema tab I get the following error message.
Error
Internal Error has occured. Check the log file for details.
Does anybody know why ? and which log file they are refering to?
Also can someone tell me where or how you can create normal users ?
thanksthe related OC4J machine is failing, it could be due to a number of reasons. Sometimes it has to do with the TZ region Agent recognizes, but the only way to know it for sure is by taking a look at the operational log files. Those can be found at the EM Console directory under the ORACLE_HOME. You will see the ORACLE_HOME/EMConsoleDirectory/log at the log there are several files, take a look at them and feedback.
~ Madrid
http://hrivera99.blogspot.com/ -
Hi all,
I cloned my prod by using RMAN.
my Q is ..is there any diff between cloned db , Duplicate Database.
if any diff please let me know..
if i have cloned one by using that how to create standby instance.Hi,
I mean that to create a standby you have a procedure and that rman copy is part of it and duplicate.
1) make a rman backup
run {
allocate channel C1 type disk;
backup database;
backup archivelog all ;
2) Create a Control File for the Standby Database on the primary:
ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/oracle/local/data/backup/crunchs_controlfile.bkp2';
3) Standby redo log is optionnal... (but adviced to do)
Exemple:
ALTER DATABASE ADD STANDBY LOGFILE GROUP 11 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
ALTER DATABASE ADD STANDBY LOGFILE GROUP 12 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
ALTER DATABASE ADD STANDBY LOGFILE GROUP 13 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
ALTER DATABASE ADD STANDBY LOGFILE GROUP 14 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
SELECT GROUP#,THREAD#,SEQUENCE#,ARCHIVED,STATUS FROM V$STANDBY_LOG;
4) modify the aprameter file in primary and standby
Exemple:
On the primary:
alter system set db_name='crunch' scope=both sid='*';
alter system set db_unique_name='crunch' scope=both sid='*';
alter system set fal_client=crunch scope=both sid='*';
alter system set fal_server=crunchs scope=both sid='*';
alter system set db_create_file_dest='?????????????' scope=both sid='*';
alter system set db_recovery_file_dest='?????????????????????' scope=both sid='*';
alter system set log_archive_config='DG_CONFIG=(crunchs,crunch)' scope=both sid='*';
alter system set log_archive_dest_1 LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=crunch scope=both sid='*';
alter system set log_archive_dest_2 SERVICE=crunchs.RVPONP.FGOV.BE VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) OPTIONAL DB_UNIQUE_NAME=crunchs scope=both sid='*';
alter system set log_archive_dest_state_2 defer scope=both sid='*';
alter system set standby_archive_dest LOCATION=USE_DB_RECOVERY_FILE_DEST scope=both sid='*';
On the standby:
alter system set db_name='crunch' scope=both sid='*';
alter system set db_unique_name='crunchs' scope=both sid='*';
alter system set fal_client=crunchs scope=both sid='*';
alter system set fal_server=crunch scope=both sid='*';
alter system set db_create_file_dest='????????????' scope=both sid='*';
alter system set db_recovery_file_dest='????????????' scope=both sid='*';
alter system set log_archive_config='DG_CONFIG=(crunch,crunchs)' scope=both sid='*';
alter system set log_archive_dest_1 LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=crunchs scope=both sid='*';
alter system set log_archive_dest_2 SERVICE=crunchs.RVPONP.FGOV.BE VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) OPTIONAL DB_UNIQUE_NAME=crunch scope=both sid='*';
alter system set log_archive_dest_state_2 defer scope=both sid='*';
alter system set standby_archive_dest LOCATION=USE_DB_RECOVERY_FILE_DEST scope=both sid='*';
5) We copy the password file of the primary and rename it for the standby:
/oracle/product/10.2.0/db/dbs
Start standby database unmounted
sqlplus sys as sysdba
startup nomount pfile='oracle/product/10.0.2/db/dbs/initcrunchs.ora' ;
(ou startup nomount; si le spfile existe déja d'avant)...
Recover standby database from RMAN backup
. oraenv
crunchs
rman nocatalog
connect target sys/????@crunch
connect auxiliary sys/????
duplicate target database for standby;
Create a server parameter file for the standby database
sqlplus sys as sysdba
create spfile from pfile;
shutdown immediate;
startup mount;
On standby:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
On primary:
alter system set log_archive_dest_state_2='enable';
Up and running...
Now you can after doing your copy and if the parameter files are both good, try to :
On standby:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
On primary:
alter system set log_archive_dest_state_2='enable'; -
Oracle 11g XE Connectivity Problems
Hi to all and thanks for the attention !
Quick facts
OS : Microsoft Server 2008 R2 (x64)
Oracle Version : 11g XE (x32)
Database name : XE
I've been fighting over with providers for a whole day and I can't seem to make this work out,
I have an application(Web, on a IIS 7) that connects to a schema, the connection uses a Oracle Provider For OleDB, well at first I was getting a "Provider not registered" error, that was easy I only had to make the app run on x32 and puf the error changed, so I quickly set up the Data Source ( with the data source manager located in WOW64 ) with a oracle ole db provider, no problems, I can click on it, it will ask me for a user/password and when I click test connection I works just like I would expect it to work, now back to the application, when i set the connection string up, I get a error from the app : ORA-12154 TNS:could not resolve the connect identifier specified. So went up and tried making a udl ( invoking again the x32 ), same error ORA-12154 so I started digging and so far so good what I got is, "try tnsping <instance_Name>", did it, and got an OK (40ms) (though I had to navigate to bin folder, which was not explained in the posts, perhaps this means something ?) and also registered the oraoledb11.dll with regsvr32
Oh ! And I can connect to the database with sqldeveloper
I know really little of Oracle, any thoughts ?
Thanks again !ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
The lookup operation fails because the name provided can NOT be resolved to any remote DB.
The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
So post the content of the sqlnet.ora file.
TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ -
Oracle 11g XE connectivity problem
Hello,
I'm trying to setup a Virtual machine for test purposes using VMware Player.
I'm following Oracle® Database Express Edition Installation Guide 11g Release 2 (11.2) for Linux x86-64: http://download.oracle.com/docs/cd/E17781_01/install.112/e18802.pdf
As described there, I've installed Oracle Enterprise Linux 5 Update 2 from DVD V15099-01.zip(Enterprise-R5-U2-Server-x86_64-dvd.iso).
After that followed the instructions in the guide and installed the XE database... so far no errors or problems... while testing from local ssh session :)
[root@oracle11xe bin]# /etc/init.d/oracle-xe status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 26-OCT-2011 02:04:22
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 26-OCT-2011 01:44:00
Uptime 0 days 0 hr. 20 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11xe/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11xe.localdomain)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11xe.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
and
[root@oracle11xe bin]# sqlplus system
SQL*Plus: Release 11.2.0.2.0 Production on Wed Oct 26 01:51:12 2011
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
PL/SQL procedure successfully completed.
SQL> exit
[root@oracle11xe ~]# telnet 192.168.1.10 1521
Trying 192.168.1.10...
Connected to 192.168.1.10 (192.168.1.10).
Escape character is '^]'.
But now when I try access this VM box from my windows box, from where I have ping and can open SSH connection, I get "Could not open connection to the host".
I've already disabled my windows firewall for the test - no good. Also SSH works over the network, so I don't think it's a firewall or network issue...maybe I'm missing something in listners configuration or some security setting somewhere?
I've created screenshot http://img846.imageshack.us/img846/2931/oraissue.jpg .
I'm looking forward to your suggestions, because I'm running out of ideas, I expected to be able to start this thing faster :)
Regards,
PavelHello,
What sort of access? And ssh is working? putty? Using VM NAT, or bridged?
Yes, from my desktop windows to the VM's eth0 interface I could use SSH without any concerns. Yes, I've used PuTTY Client for SSH. For VM is bridged.
That's not relevant to accessing the VM, you'll need to open up ports in the VM host firewall. Port 8080 too if you want to access the Apex pages, along with opening port 1521 for the database listener.
Yes, you are right - had to stop firewall on my VM box... since this is a dummy sandbox I just stopped firewall
service iptables stop
chkconfig iptables off
After that SQL Developer Studio managed to open connection to the XE database on this VM box over the network. Thank you!
You've got all the listener endpoints, including the http 8080 but setting up a server on dhcp isn't optimal unless you have dynamic DNS to register the VM IP for name resolution. Unless a dos box $ ping oracle11xe or $ ping oracle11xe.localdomain from the Win box gets the correct IP address of the VM ...
Sorry I didn't get this one... Could you please give me more information.
I've configured VM(oracle11xe.localdomain) to use static IP address(NO DHCP, I'd like to avoid involving the DHCP Server in my network in this simple test). This leads to me being able to ping it from Win Box only via IP address, what problems may show up from this? My idea was to avoid having problems, if for example I started the VM box in very different environment(lets say another network) and it gets some other IP address, because I didn't knew how oracle XE will feel about the new IP?
Once again - Thank you. Original issue is solved! -
MS Access to Oracle 11g data migration
Hi All,
I've been trying to migrate the data. I've even tried the Northwind and it succeeded. The problem now is, the Tools->Migration->Microsoft Access Exporter (MS Access 2000 exporter) doesn't export the entire data from tables. I've some 20 records in one table and it exported only 6. There are few tables which don't get any data exported at all. The message shows export completed successfully.
I'm using SQL Developer 3.2. Please help.
Thanks,
WasimWasim,
To try and get some idea of why you have problems what happenms if you try the following for one of the tables that gives the problem -
- export - do all the rows get put into the export file ?
- copy to Oracle - does this copy all the rows or give any errors /
Regards,
Mike -
Hi,
I am using ORACLE 7.3.4 database. I am having a problem in updating a column of long datatype in a table t1 with another column from table t2 of long datatype. I have tried setting LONG 1000000 also but this doesn't work. I appreciate any kind of suggestions.
The error it gives is ORA-00997: illegal use of LONG datatype.
Thanks
ReddyI had the same problem too with a newest thin driver. I found that I can read all my characters (bytes) using getBinaryStream() and single-byte read(), but read() never returns -1; instead reading the character before last causes the ArrayOutOfBoundsException you mentioned.
So I just blindly caught the exception and let it go to QA. (sort of
InputStream r = rs.getBinaryStream(field);
if(r == null) ...
StringBuffer sb = new StringBuffer();
try { for(int c = -1; (c = r.read()) != -1;) sb.append((char) c); }
catch(IndexOutOfBoundsException e)
{} // ignore Oracle idiosyncrazy.
finally { r.close(); }
). Please note that getCharacterStream() or getAsciiStream() did not work for me. I did not try deprecated getUnicodeStream(): I decided I would better correctly extract characters in Java from binary data myself if I need them rather than allowing this junky thin Oracle driver to do an extra thing for me. -
Oracle 11G - Table access problem
Hi,
Iam new to Oracle...After creating a DataBase I created a connection and role has SYSDBA...
And then I create a table....called Table1. And then I create a new USER and I Connect with same Databse SID but the role has DEFAULT for this new USER....
01. But the problem is I cannot find the table -Table1 for this new user...so how to acess that Table1.....?
02. I came to know in Oracle also we can design Forms for frontend and can generate EXE....Is it true?
03. In SQL Server -Sql Port with static IP- we can access the Database for remote users.... For Oracle is it possible?
Thanks for the directions....997497 wrote:
Hi,
Iam new to Oracle...After creating a DataBase I created a connection and role has SYSDBA...What user did you use to connect? I'm guessing that you logged in as SYS
And then I create a table....called Table1. And then I create a new USER and I Connect with same Databse SID but the role has DEFAULT for this new USER....So I'm guessing that you created the table in the SYS schema. You should never, ever create user objects in the SYS schema. If you created the table in the SYS schema, you really need to drop it and create it in a more appropriate schema.
You indicate that you're coming from SQL Server, so there is perhaps a terminology issue. What SQL Server refers to as a "database" is roughly equivalent to what Oracle refers to as a "schema". An Oracle database contains many schemas. A schema is the set of objects owned by a particular user.
01. But the problem is I cannot find the table -Table1 for this new user...so how to acess that Table1.....?As I said above, you really, really shouldn't create objects in the SYS schema. If you really want to, though, you would need to log in to the SYS schema and grant access on the table to your new user
GRANT SELECT ON sys.table1 TO your_new_userYou would then need to fully qualify the table name in your SELECT (or create a synonym or set the current_schema)
SELECT *
FROM sys.table1
02. I came to know in Oracle also we can design Forms for frontend and can generate EXE....Is it true? Ancient versions of Oracle Forms would create client/server executables. Modern versions are used to build three-tier applications. You can also use APEX to build web-based applications. Of course, you can also generate executables by writing code in some other language (often .Net).
03. In SQL Server -Sql Port with static IP- we can access the Database for remote users.... For Oracle is it possible?Is it possible? Sure. Depending on what "remote users" means though, it may be rather ill-advised-- you'd never want to open up a database to the internet directly, for example, you'd want to ensure that the remote users are connected to your network (i.e. via a VPN).
Justin -
Redhatlinux server 5.0 install oracle 11g r1 for problem
who give me a chinese oralce book for install !
not run sqlplus not run exp,not run imp but oracle devcolepeuser633300 wrote:
who give me a chinese oralce book for install !
not run sqlplus not run exp,not run imp but oracle devcolepeHi and welcome to the forum!
What do you exactly want?
What problem you have?
What error you get?
And please explain your last sentence please
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/
Maybe you are looking for
-
Editable ALV & Foreign Key Check
I am working on an Editable ALV. Here if I try to enter some value into a field which doesnt exist in the corresponding Check table of the field, ALV throws me an error. This scenario is working fine. But in some scenarios I populate the ALV table fr
-
How can I delete an app on ios 7?
I click and hold on an app I want to delete like before but I can't seem to find how to delete it. The little x does not appear. Can you tell me what's wrong?
-
How to change apple ID on newly set up iPad ? Used my friends pc as iTunes had stopped working on mine and now his apple ID is showing as the default ID for iTunes and I can't get into my iTunes account ?? iCloud is fine , just iTunes that I can't s
-
Unable to create editor ID bpelz.editors.BPELEditor
Hi. I have a problem with Bpel designer for eclipse. Eclipse built correctly the xml file but an error occurs : Unable to create editor ID bpelz.editors.BPELEditor: An unexpected exception was thrown: java.lang.NullPointerException at org.eclips
-
Managed properties in display templates
Hi I'm trying to include some custom managed properties (GlossaryProductString) into my custom display template but the ct.CurrentItem.GlossaryProductString is always undefined. What I did: Create managed property and mark it as retrievable Full cra