Post switch over in oracle dataguard 11g
Dear Guru,
Switch over has been completed successfully from primary database to standby database.
new primaray database is open and accessible but its showing his satus in v$database as below.
database_role = primary
switchover_status = not allowed
db_unique_name = dg1_stdby
old primaray database which is now standby showing his satus in v$database as below.
database_role = physical standby
switchover_status = session active
db_unique_name = dg1_primy
when check status in data guard broker its
for both the databases - dg1_primy and dg1_stdby its showing error ORA-16810: multiple errors or warnings detected for the database.
when checked dataguard log file on new primary server its showing
ORA-16816: incorrect database role
ORA-16700: the standby database has diverged from the primary database
Please guide me how to resolved issue.
Thanks & Regards,
Nikunj Thaker
Hi Nikunj,
You can find the scenario, in the "Problem : Data Guard Broker Switchover fails With ORA-16665 using Active Data Guard", on metalink.oracle.com
First of all manually complete the Switchover, ie. restart the Databases in its new Role. Note that the final Role Change has not been recognized by the Broker, so you have to rebuild the Data Guard Broker Configuration when the Databases have been restarted:
DGMGRL> remove configuration;
DGMGRL> create configuration ...
DGMGRL> add database ...
DGMGRL> enable configuration;
Best regards,
Orkun Gedik
Similar Messages
-
Switch over for oracle application
Hi Guru
By using dataguard we can achieve switch for database but i need how to configure switch over on oracle apps 11i
Thanks
user7300437Hi,
Please see section 5 in
Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1]
Section 6.1 in
Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1] -
hi all ,
i need the estimated price for oracle datagurad for oracle 11g G
only esimated???
thanksHave you look on this link?
http://www.oracle.com/us/corporate/pricing/technology-price-list-070617.pdf
What about this? (your should multiplicate by the factor of your architecture)
http://www.oracle.com/us/corporate/contracts/processor-core-factor-table-070634.pdf -
Dataguard switch over connection
Hi all,
suppose we configured dataguard in high protection mode. Now all the users are connecting to primary database.
Primary netservice name is prim and standby netservice name is stand,
Now if we switch over this primary database to standby and standby to primary to which database users are going to connect. how they connect to current primary database (previously it was standby).
How application will connect to the primary database (previously it was standby). all the applications will be using prim netservice name right...? what would be stuff from dba's end.
Please let me know.
Thank you!Hi;
There is seeded dg forum site. For your future issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » High Availability » Data Guard which you can get more quick response
Regard
Helios -
Oracle Spatial Datatypes and Dataguard 11g
Hi
Does anyone know if the following datatypes are supported in dataguard 11g for logical standby or physical standby?
SDO_Geometry
SDO_georaster
thanks
sunirA correction. Logical standby (SQL Apply) doesn't currently natively support spatial data types but sdo_geometry can be supported thru EDS by creating a logging table and two triggers and some manual work. Please check it out from My Oracle Support:
Note 559353.1 - Extended Datatype Support (EDS) for SQL Apply. "Extended Datatype Support (EDS) is the ability for SQL Apply to extend support for additional datatypes that are not natively supported yet by SQL Apply. EDS relies on a new capability in Oracle Database 10g Release 2 Patch Set 3 (10.2.0.4) and Oracle Database 11g Release 1 Patch Set 1 (11.1.0.7) that allows triggers to fire on the logical standby database. "
Note 565074.1 - EDS for SQL Apply Example - Oracle Spatial Type SDO_GEOMETRY
thanks
Jeffrey -
"post installation requesties of oracle 11g database in windows"
Plz can any one tell me what are the post installation requesties of oracle 11g database installation in windows?
thanks & Regards
Vikash
"All Izz Well"Hi,
before installing check c:\> setup.exe -debug
after installation
You need to create service using oradim utility. with proper account
http://download.oracle.com/docs/cd/B28359_01/install.111/b32006/postcfg.htm
as per database
1)check for invalid objects in the database. select count(*) from dba_objects where status='INVALID'
if persists run @?/rdbms/admin/utlrp.sql
2)check the invalid from registry select comp_name,status from dba_registry;
3)compare the objects before & after activity.
THanks
Edited by: CKPT on Nov 10, 2010 3:56 PM -
Oracle URM 11g: Switching non-record into record
Hi guys,
Our customer is implementing Oracle URM 11g.
User requirement: In the initial stage, users will upload contents into the URM repository as 'non record'. After few revisions, once the content is finalised, they will change it as 'record".
We remember that the record and non-record are controled at Retention category folder level using the three fields which are "Restricts revisions", "Restricts Edits" and "Restricts deletion". Whatever the contents are uploaded into a category folder, it will inherit the those three fields and the record status will be set based on them. In this situation, how the users will be able to switch the a non-record which is filed under a retention category folder(those three fields are Off) will be changed into record later? We are unable to find those three fields in the content level.
Please advice
Thanks & Regards
blessHi Mike,
First of all, thank you for the quick reply but I do not get any error when i try to insert into my table using the above SQL but I'v copied the result from sqlplus for you :
SQL> delete from biusr.int_kvkig_kotvall;
480 rows deleted.
SQL> commit;
Commit complete.
SQL> insert into biusr.int_kvkig_kotvall select id,ceg,srszam,megnevezes from "S
ql Results$"@KOTVALL;
480 rows created.
SQL> commit;
Commit complete.
SQL>
I do get the "ORA-28513: internal error in heterogeneous remote agent ORA-02063: preceding line from KOTVALL" message only when the job tries to issue the DML commands.
Regards,
Akos -
Oracle BI 11g switch colors (styles and skins) back to 10g
Hi all,
Is there a way to siwtch back to the old colors of 10g?
If you install oracle BI 11g the colors are complete different from 10g.
We like to have the old colors back.
Regards
StefanHi
i dont think 11g is providing backward compatibility for look and feel in OBIEE 11g but alternative way is to Develop Custom Styles and Skins.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm.
regards -
Help required how to make automatic switch over on RAC2
Hello Support,
We have 11g R1 on windows 2003.
User complained if node 1 of OracleRAC1 gets down, automatic switch over to RAC2 is not occuring and connection error occured.
What steps to see, in order to make sure it should be performed automatically please?
ThanksHi Billy,
TAF is a service ? Can it be connected on Apache Tomcat application server
Oracle version 11.1.0.6
Users are connect via Tomcat Application server with Oracle RAC having 2 nodes in it.
Users don't receive data if node 1 (RAC1) goes down. connection error message.
Where as if RAC2 is down user can still connect to RAC1 and can retrieve data.
Outside note- I want to understand the difference with Public and VIP of Oracle. My current understanding and correct me if I'm wrong, users are connected with RAC1 Public IP and in case of failure , VIP of RAC1 take over and eventually RAC2 and so on....
Thanks -
How to know the delay in redo log apply on Active Dataguard 11g
Hello All,
How to know the delay in redo log apply on Active Dataguard 11g...
Do we need to wait till log switch occurs?
Or is it recommended to schedule a log switch every 15 min, no matter data is updated/inserted or not in primary?
Please suggest...
Oracle : oracle 11g Release 2
OS : RHEL 5.4
Thanks
Edited by: user1687821 on Feb 23, 2012 12:02 AMHello CKPT,
Thank you for the valuable information...
We have not configured databroker.
Output of the query
SELECT * FROM (
SELECT sequence#, archived, applied,
TO_CHAR(completion_time, 'RRRR/MM/DD HH24:MI') AS completed
FROM sys.v$archived_log
ORDER BY sequence# DESC)
WHERE ROWNUM <= 10
Primary...
SEQUENCE# ARCHIVED APPLIED COMPLETED
29680 YES YES 2012/02/23 01:11
29680 YES NO 2012/02/23 01:11
29679 YES NO 2012/02/22 23:11
29679 YES YES 2012/02/22 23:11
29678 YES YES 2012/02/22 23:11
29678 YES NO 2012/02/22 23:11
29677 YES YES 2012/02/22 22:32
29677 YES NO 2012/02/22 22:32
29676 YES YES 2012/02/22 22:02
29676 YES NO 2012/02/22 22:02
Standby...
SEQUENCE# ARC APP COMPLETED
29680 YES YES 2012/02/23 01:11
29679 YES YES 2012/02/22 23:11
29678 YES YES 2012/02/22 23:11
29677 YES YES 2012/02/22 22:32
29676 YES YES 2012/02/22 22:02
29675 YES YES 2012/02/22 21:24
29674 YES YES 2012/02/22 19:24
29673 YES YES 2012/02/22 18:59
29672 YES YES 2012/02/22 17:42
29671 YES YES 2012/02/22 17:41
Primary shows yes as well as no...
Next,
From primary:-
SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
THREAD# MAX(SEQUENCE#)
1 29680
From standby:-
SQL> select thread#,max(sequence#) from v$archived_log where applied='YES' group by thread#;
THREAD# MAX(SEQUENCE#)
1 29680
What is the redo transport service you are using? is it LGWR or ARCH ?
Output of query select * from v$parameter where name like 'log_archive_dest_2' shows below value...
SERVICE=b_stdb LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=b_stdb
So is it lgwr already configured...? if yes then how do i see the delay in both servers..
Yes, the network is good as they both resides in same LAN within same rack
Thanks... -
Oracle XE 11g R2 - Cannot Reach Homepage
Hello Everyone,
Try as I might, I cannot get the Oracle XE 11g Release 2 homepage to come up. This is a fresh install. I've read numerous forum and blog posts and still cannot find a solution. Here's the following pertinent information from what I can tell:
1) I installed the Oracle XE program.
2) The OracleServiceXE and OracleXETNSListener both show as "STARTED" and are apparently running.
3) I can connect via SQLPlus using "C:\connect / as sysdba". Someone wrote somewhere I should try "alter system register;", but that didn't appear to do anything.
4)
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 21-JUN-2012 15:12:26
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 21-JUN-2012 14:44:06
Uptime 0 days 0 hr. 28 min. 21 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\Development\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Listener Log File C:\Development\oraclexe\app\oracle\diag\tnslsnr\GS4400-AHOBDA\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=GS4400-AHOBDA.modulant.com)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully5. Following the installation guide, I have enabled XE for Internet Explorer by going to Internet Options -> Security -> Local Intranet -> Sites and putting in localhost, 127.0.0.1, etc.
6) When I try "C:\tnsping XE", I get ...
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 21-JUN-2012 15:18:33
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\Development\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = GS4400-AHOBDA.modulant.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
TNS-12541: TNS:no listenerNo tns listener? But it is running in Windows services.
If anyone could help me out, that'd be great. I've asked around the office but no one really knows why it's doing it.
Thanks,
Will
Edited by: LovettWB on Jun 21, 2012 12:21 PMThank you for your help. I followed the steps you put up and here's the output I received. I'm still not sure how to fix the problem though.
I should mention that the database is running on my machine. i.e. localhost / 127.0.0.1
Windows IP Configuration
Host Name . . . . . . . . . . . . : GS4400-AHOBDA
Primary Dns Suffix . . . . . . . : modulant.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : modulant.com
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : modulant.com
Description . . . . . . . . . . . : Dell Wireless 1397 WLAN Mini-Card
Physical Address. . . . . . . . . : 00-22-5F-82-2B-ED
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::6194:ca2:c393:9960%12(Preferred)
IPv4 Address. . . . . . . . . . . : 10.10.20.107(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Friday, June 22, 2012 7:54:53 AM
Lease Expires . . . . . . . . . . : Saturday, June 30, 2012 7:54:53 AM
Default Gateway . . . . . . . . . : 10.10.20.2
DHCP Server . . . . . . . . . . . : 10.10.2.13
DHCPv6 IAID . . . . . . . . . . . : 218112607
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-6B-CB-72-00-21-70-EA-65-C8
DNS Servers . . . . . . . . . . . : 10.10.2.14
10.10.2.13
127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82567LM Gigabit Network Connection
Physical Address. . . . . . . . . : 00-21-70-EA-65-C8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.modulant.com:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : modulant.com
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{4F86FA95-ECBF-4747-91B7-F0CAC4F0E6E8}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
// now for C:\hostname
GS4400-AHOBDA
// nslookup 10.10.20.107
Server: chsdc03.modulant.com
Address: 10.10.2.14
*** chsdc03.modulant.com can't find 10.10.20.107: Non-existent domain
// ping 10.10.20.107
Pinging 10.10.20.107 with 32 bytes of data:
Reply from 10.10.20.107: bytes=32 time<1ms TTL=128
Reply from 10.10.20.107: bytes=32 time<1ms TTL=128
Reply from 10.10.20.107: bytes=32 time<1ms TTL=128
Reply from 10.10.20.107: bytes=32 time<1ms TTL=128
//ping GS4400-AHOBDA
Pinging GS4400-AHOBDA.modulant.com [fe80::6194:ca2:c393:9960%12] with 32 bytes of data:
Reply from fe80::6194:ca2:c393:9960%12: time<1ms
Reply from fe80::6194:ca2:c393:9960%12: time<1ms
Reply from fe80::6194:ca2:c393:9960%12: time<1ms
Reply from fe80::6194:ca2:c393:9960%12: time<1ms
Ping statistics for fe80::6194:ca2:c393:9960%12:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0msEdited by: LovettWB on Jun 22, 2012 5:32 AM -
When i execute alter database commit to switch over to primary --> oracle sens recover media requiered
It may be due to following:
1) Any of your datafile is in recover state.
2) Might be a control file issue.
Please post the exact error you are getting and your standby alert.log file. -
Dataguard 11g setup between AIX and Linux
Hi,
We are planning to move our Oracle databases from AIX 6.1 to Oracle Linux 6.2
To reduce the downtime, we are thinking of setting up a dataguard (physical or logical) and do the switchover.
Have you performed this before?
Will you pls send me the steps?
Thanks,
DRHello again;
I thinking no for the same reason.
When my shop moved from AIX to Linux we just install Oracle on Linux and patched it to the same level as the AIX. We created users, tablespaces, job etc in advance and then just used import/export to move the needed schema's. Data Pump make this much easier.
Do a schema(s) compare and switch when ready. But in any event I don't believe Data Guard can help you. You mostly have a migrate issue.
Please consider closing your question when complete.
h3. Oracle Database 10g & Multi-Terabyte Database Migration
http://www.oracle.com/technetwork/database/features/availability/thehartfordprofile-xtts-133180.pdf
h3. Incrementally Updating Transportable Tablespaces using RMAN
http://www.oracle.com/technetwork/database/features/availability/itts-130873.pdf
h3. Platform Migration Using Transportable Database Oracle Database 11g and 10g Release 2
http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-platformmigrationtdb-131164.pdf
Best Regards
mseberg
Edited by: mseberg on Nov 13, 2012 6:31 PM -
Oracle database 11g release 2 installation problem on windows 7 (64-bit)
First of all my windows is not genuine, but on my friend's desktop oracle download and installation worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
(Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w, deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
and
then
I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)" from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
The values I filled for
1) Global Database Name : orcl
2) System Identifier : orcl
3) I chose common password for both SYS and SYSTEM
4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
6) Then after few more nitty-gritty clicks, we are set to go !
Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
Username : sys/ as sysdba
Password : (its the one you created in step 3 stated above )
After this you are ready to write your first SQL command.Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
About Database Administrator Security and Privileges -
Hello everyone!
I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.
1. I activated the Administrator mode on my PC (net user Administrator /active:yes)
2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.
3. Started the Database, OracleServiceXE, OracleXETNListener and other services.
4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.
5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.
6. I opened the cloneDBCreation.log and it contains these data:
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> exec dbms_backup_restore.zerodbid(0);
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SQL> shutdown immediate;
ORA-12560: TNS:protocol adapter error
SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
ORA-12560: TNS:protocol adapter error
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> alter system enable restricted session;
SP2-0640: Not connected
SQL> alter database "XE" open resetlogs;
SP2-0640: Not connected
SQL> alter database rename global_name to "XE";
SP2-0640: Not connected
SQL> alter system switch logfile;
SP2-0640: Not connected
SQL> alter system checkpoint;
SP2-0640: Not connected
SQL> alter database drop logfile group 3;
SP2-0640: Not connected
SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
SP2-0640: Not connected
SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';
SP2-0640: Not connected
SQL> select sid, program, serial#, username from v$session;
SP2-0640: Not connected
SQL> alter user sys identified by "&&sysPassword";
SP2-0640: Not connected
SQL> alter user system identified by "&&systemPassword";
SP2-0640: Not connected
SQL> alter system disable restricted session;
SP2-0640: Not connected
SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql
SQL> connect "SYS"/"&&sysPassword" as SYSDBA
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> set echo on
SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log
I spent around 2 days to come to this reason and now I do not know what to do next.
My actions to resolve this problem:
1. Checked if my user has administrative rights and belongs to ora_dba. It does!
2. Turned Microsoft UAC off.
3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:
- ORACLE_BASE -> C:\oraclexe
- ORACLE_HOME -> %ORACLE_BASE%\app\oracle\product\11.2.0\server
- ORACLE_SID -> XE
- Added to PATH -> C:\oraclexe\app\oracle\product\11.2.0\server\bin;
- TNS_ADMIN -> %ORACLE_HOME%\network\admin
4. Removed Oracle XE 11g and reinstalled to another drive. No sense!
Some more errors:
1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log
Instance created.
DIM-00019: create service error
O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.
It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.
2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:
Some other information relevant to the issue:
1) echo %USERNAME% - Administrator
echo %USERDOMAIN% - ildar-PC
2) Listener.log:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
3) Tnsnames.log
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
4) Sqlnet.log:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
5) While connecting by sqlplus, I get this errors/messages:
6) Confirmation that I've got admin rights and I am in ORA_DBA:
If u need some more information from me, please let me know!!
Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!
Kind regards,
ildarI have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
Instance created.
DIM-00019: create service error
O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea ..
Maybe you are looking for
-
Is there a way to detect a bad http client handle before it locks up LabVIEW?
The attached VI demonstrates a simple way to hang LabVIEW such that the only way to recover full use of it is to kill the LabVIEW process. LabVIEW version is 11.0.1f2 and this problem will occur in both WinXP and Win7. Is there a way to detect when a
-
I'm not a SQL guy, just figuring my way around here... I just created a new instance on an existing SQL server. The original instance works fine. On Database Engine Configuration > Account Provisioning I selected Windows authentication mode and added
-
How to replace the values in variable selection Screen urgent plz
Hi all, I am having a requirement. where the user need pass the value in the variable, Here v r having option like '1' and '2' which represent 'month' and 'ytd'. While selecting user view as 1,2 .Now my requirement is to replace the value 1=monthly a
-
Photo quality horrible due to dissolve transition
Hi, I am making a slideshow in Imovie for my son's baseball team. The pics I've shot are all super high resolution, but I inserted dissolve transitions between them and now the pictures are no longer sharp and have digitized edges. They looked great
-
Auto-fill doesn't seem to remember my passwords?
I have a MacPro & MBP. On the MacPro, Safari's autofill does not remember my passwords, but it does on my MBP. I sync all together using MobileMe. Any ideas why it doesn't work on the MacPro? Both machines are using Mac OS X 10.5.8. I looked at the A