WINDOWSNT에서 기존 DATABASE를 이용하여 새로운 DATABASE구성 방법
제품 : ORACLE SERVER
작성날짜 : 2001-01-03
WINDOWSNT에서 기존 DATABASE를 이용하여 새로운 DATABASE구성 방법
=============================================================
database를 완전히 새로 생성하는 대신, 기존에 사용하던 database와 완전히
동일한 형태의 새로운 database를 구성할 필요가 생길 수 있다.
즉, 기존 db의 datafile를 그대로 copy하여 새로운 db를 구성하고자 하는 경우,
아래의 순서대로 작업하면 된다.
단, 이때 기존 database와 db_name과 oracle_sid는 다르게 되며, 이 내용은
Oracle 8.1.6에서 test되었다.
ORACLE_HOME: d:\orant
기존 database의 db_name, oracle_sid: OLDDB
새로운 database의 db_name, oracle_sid:NEWDB
1. olddb에서 controlfile생성 문장을 다음과 같이 하여 얻는다.
dos>svrmgrl
SVRMGR>connect internal
SVRMGR>alter database backup controlfile to trace;
SVRMGR>select value from v$parameter where name = 'user_dump_dest';
2. olddb를 shutdown시키고, datafile과 redo log file을 newdb를 위한
directory에 copy해둔다.
원하는 경우 file이름도 임의로 변경해도 된다.
olddb를 shutdown immediate나 normal로 정상적으로 shutdown시킨 경우
datafile만 copy하여 두어도 된다.
이와 같이 olddb를 shutdown시키고 datafile을 copy하거나, 혹은 olddb를
shutdown시키지 못하는 경우 old db의 hot backup을 이용할 수도 있다.
hot backup을 이용하는 경우 hot backup이후의 archive file도 이용된다.
3. controlfile을 newdb에 맞게 변경한다.
(1) 1에서 user_dump_dest에 나타난 directory에서 최근의 .trc file을 확인하고,
이 create controlfile문장만 남기고 startup nomount나 recover문장 등,
앞뒤의 문장들은 모두 지운다.
(2) create controlfile 뒤에 reuse대신 set이라고 지정하고 olddb 이름
부분을 newdb로 변경한다. 그리고 noresetlogs부분을 resetlogs로 변경한다.
변경전: CREATE CONTROLFILE REUSE DATABASE "OLDDB" NORESETLOGS ARCHIVELOG
변경후: CREATE CONTROLFILE set DATABASE "NEWDB" RESETLOGS ARCHIVELOG
(3) datafile과 logfile 지정 부분은 복사해둔 directory를 지정하고, file이름도
변경한 경우 이 controlfile생성 부분에도 변경된 이름으로 바꾸어 적는다.
(4) 이 file을 ora.trc와 같이 간단한 이름으로 변경하여 둔다.
4. initNEWDB.ora를 작성한다.
(1) d:\orant\database\initOLDDB.ora file을 initNEWDB.ora file로 copy한다.
(2) initOLDDB.ora file이 d:\orant\admin\olddb\pfile\initOLDDB.ora file만
지정되어 있다면, newdb와 이와 같은 구조로,
d:\orant\admin\newdb\pfile directory를 생성 후 initOLDDB.ora file을
initNEWDB.ora로 copy한다.
d:\orant\database\initNEWDB.ora file도 새로 생성한 pfile directory밑의
initNEWDB.ora file을 가리키도록 수정한다.
(3) pfile directory의 initNEWDB.ora file에서 olddb를 나타내는 부분을 모두
newdb로 변경하여 둔다.
(4) control_files부분도 newdb에서 controlfile을 저장시켜둘 directory와
사용할 이름으로 지정한다. (아직은 controlfile이 생성되어 있지 않으므로,
여기에서 지정한 directory까지만 존재하면 되며, file은 아래 작업에 의해
생성될 것이다)
(5) 사용하지 않을 parameter는 comment처리한다.
5. oradim을 이용하여 새로운 instance를 생성한다.
dos> ORADIM -NEW -SID newdb -INTPWD oracle -STARTMODE AUTO -PFILE
d:\orant\database\initnewdb.ora
(이것은 편의상 두줄로 적었으나 실제는 한줄에 이어서 적어야한다.)
이렇게 하면 제어판의 서비스에 OracleServiceNEWDB가 시작된다.
6. controlfile을 재생성하여 db이름을 변경한다.
dos>set oracle_sid=newdb
dos>svrmgrl
SVRMGR>connect internal
SVRMGR>startup nomount;
(이미 떠 있다는 오류가 나면 nomount상태인 것이나,
안전하게 shtudown후 다시 startup nomount한다)
SVRMGR>@d:\orant\admin\olddb\udump\ora.trc
(3에서 만들어둔 controlfile생성 문장을 포함한 file을 기술)
SVRMGR>alter database open resetlogs;
7. 정리
원하는 대로 database가 구성되었는지 확인하고, 불필요한 schema나
data부분은 정리하고, 작업하면 된다.
SVRMGR> show parameter db_name
Similar Messages
-
Hi Everyone,
I am using Oracle forms 5.
I want to use iconic buttons in Oracle forms 5 for database, database backup, save, delete etc.
Example:
Like Oracle Enterprise Manager, a GUI tool, we can see the different icons for different items (icon for database backup, database etc).
How should I get these icons? How should I attach these icons to the buttons/Image item in Oracle Forms ?
Should I give the file path of these icons in property palette of an item in Oracle forms?
If yes, then which property of item, will I use in order to attach the icons?
Please send the solution.
If some one can also send the related icons, I will thankful to him.
Regards
MartinHi FRANKS,
Thanks for your useful information.
WIth regards to attach icons to button/text item in Oracle forms,I am still facing problem.
As you said, I created the parameter/variable UI_ICONS in Forms Home and gave the value pointing to the directory holding the .ico files.
And then set the iconic property of the button and the icon's name without its extension.
But it didn't work.Could ypu please let me know what is going wrong?
I am thankful to you.
Martin -
Problem when creating Database (Database, OS and hardware Configuraiton included)
Problem when creating Database:
Below are the problems, which I faced during creation of database. I have mentioned both the problem separately. Plus the log file maintained by Oracle during installation. It might help in diagnosing the error. Plus a little conclusion with I turned up to.
There are two problems, when creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Log File Showing Error :
Result code for launching of configuration tool is 0
Launched configuration tool Oracle Database Configuration Assistant
Command which is being spawned is C:\Program Files\Oracle\jre\1.1.7\bin/jrew.exe -Duser.dir=d:\oracle\ora81\assistants\dbca\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;d:\oracle\ora81\jlib\ewt-3_3_6.jar;d:\oracle\ora81\jlib\share-1_0_8.jar;d:\oracle\ora81\jlib\swingall-1_1_1.jar;d:\oracle\ora81\assistants\dbca\jlib\dbassist.jar;d:\oracle\ora81\assistants\jlib\jnls.jar;d:\oracle\ora81\assistants\jlib\acc.jar;d:\oracle\ora81\jlib\help-3_1_8.jar;d:\oracle\ora81\jlib\ice-4_06_6.jar;d:\oracle\ora81\jlib\netcfg.jar;" DBCreateWizard -progress_only -responseFile NO_VALUE -createtype seed -numusers NO_VALUE -apptype NO_VALUE -cartridges NO_VALUE -options NO_VALUE -demos NO_VALUE -seedloc d:\oracle\ora81\starterdb -sid ora8i -orabase d:\oracle -clususer NO_VALUE -cluspswd Protected value, not to be logged -nodeinfo NO_VALUE -gdbName ora8i
Invalid Exit Code. The following result code will be used for configuration tool: 1
Configuration tool Oracle Database Configuration Assistant failed
The datafiles will be copied from the CD to d:\oracle\oradata\ora8i. The Oracle Database Configuration Assistant will begin creating the database.
An Oracle database will be created for you. The database name will be ora8i. The system identifier for the database will be ora8i. The password for the INTERNAL account will be ******, the SYS account will be change_on_install and the SYSTEM account will be manager.
Log File of Installation:
The above code is a part of the log file, which is generated by Oracle installer at C:\Program Files\Oracle\Inventory\Log\..
I just pasted the part of code, highlighted is the code showing error with Oracle Database Configuration Assistant.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMDont't worry about that. Before you
create a table(or view), it is wise to
drop the table(or view) with the same name.
If the name doesn't exist, of course there
is an error message. See the following script:
-------------------begin-----------
drop table students cascade constraints;
create table students (
sid varchar2(5),
fname varchar2(20),
lname varchar2(20) not null,
minit char,
primary key (sid));
--------------end-----------------
Good day!
null -
Problem when creating Database (Database, OS and hardware Configuraiton)
Problem when creating Database:
There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMuser563502 wrote:
I am working on Solaris 8. What is Alert_SID.log? where can I find it?
ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
to be honest with you, this is not your work. -
Oracle Database - Database Configuration Assistant
Hello,
When I was installing Oracle Database (at Install Product), it reached Database Configuration Assistant with an error pop out: ORA-12638: Credential retrieval failed. Please advise me, thank you in advance~This question does not have to be raised in Peoplesoft forum. Please ask this to the Database General forum, thanks.
Thread locked.
Nicolas. -
Failed to retrieve data from the database Database Vendor Code: 2812
Hi everyone
Im using Sap Business One Version 2007A SP00 PL49, SQL 2005 and Crystal Reports Basic for Sap Business One (Add on 2.0.0.7). Whenever i try to generate a report from SBO the system displays the following message "Failed to retrieve data from the database DETAILS: [Database Vendor Code: 2812]"
The scenario is that, according to the Colombia's product local expert, Is not possible to create Stored Procedures, Views, Functions or anything in the customer productive database, in order to improve the performance of the query i created other DB where i created an stored procedure, after that, i called it from Crystal where it's working ok. But when i try to generate it from SBO it show the message promted.
Someone knows what could be happening
I'll be thankfulHi Cesar,
Please post your question to the Business One forum.
I can't move this thread.
Thank you
Don -
Private Virtual Database - Database model design
I'm planing to design a new database model for a system that will integrate private virtual database. We will use private virtual database to use the same data structure for different users or systems.
The systems are defined in a table.
My question is what is the best way to maintain a good level of security but avoid too much overhead.
1) We designed our model by adding an attribute and a foreign key in all our tables referring to the system that own the row.
2) We decided later to limit the filter in main entity to avoid adding a filter in all our tables.
But doing so let the child tables visible then accessed without a join to the main entity.
Any recommendations/ideas for the best design in this context ?What was the objection to creating a filter on every table?
The work and overhead by generalizing the filter into all tables.
That would be the normal approach.
I agree with you. Just need a confirmation it is the best and only true way.
Another way would be to create view with inner join only in a separate schema or with permissions only in the views but i think it more overhead than defining the attribute in all tables. Its a much simpler approach.
Thank you -
Couldn't Open the Address Book Database - Database is Corrupted
I get this error message anytime I attempt to modify a record in the address book. I also get this error when attempting to create a new group. I've attempted to restore the Address Book from backups via Time Machine as far 6 months ago.
I also did some poking around on the web and found an article advising to delete .plist files associated with the Address Book from my user > Library > Preferences Directory.
I did this but it continues to give this error.
I really need to update the Address Book or even export what I have and start fresh from reimporting my contacts. I don't know how to do this.
Any help is much appreciated.I followed the advice of Golden Shoes and everything appeared to work. I found out that I had spoken too soon. The next time I opened the Address Book none of the contacts were there. So, I've been doing an import when I need contact information. I import the vcard of all of the contacts I had exported. But, if I click on the File menu to Save them the Save option is greyed out and not available.
I thought that I might need a reinstall and my intention on getting Snow Leopard meant that I would wait until I upgraded to perform that install.
I just upgraded to Snow Leopard and the same problem exists but now it seems to have spread.
Now, if I take the empty address book and add a contact then save the Address Book (The save option is now availalbe). Then close the Address Book, Quite the Address Book and then launch it again, the contact record I added is not there.
Any help that can be provided would be much appreciated. I really want to use the Address Book to manage my contacts.
Thanks in Advance -
"Table VSEOPARENT is not in the database" after SolMan system copy to x64
Hi SDNners,
We've just completed a system copy of our SolMan 3.1 system onto a new
(Xeon x64 based) server. This system copy is part of the process of
moving SolMan 3.1 from an old server onto 64bit hardware and then
upgrading it to SolMan v4 and Oracle 10G.
Although the system appears to start properly in the MMC, we are unable
to log into the system through SAPGUI - we get a SYNTAX_ERROR window
instead of a logon screen.
I've checked the SysLog from within the MMC and noticed a number of
errors stating:
Database: Table VSEOPARENT is not in the database
Database: Table VSEOIFIMPL is not in the database
Database: Table VSEOIFCOMP is not in the database
I tried running SQL command 'select * from "SAPSOL"."VSEOPARENT"; and
it confirmed that the table didn't exist. I then ran the same command
on the source SolMan system and it showed that VSEOPARENT DID exist. I
don't understand how these VSEO* tables could have gone missing between
the source and target systems.
I've searched OSS for VSEO* and cannot find anything. Please help!
Thanks,
Arwel.We have 640 kernel, ECC 5.0 and BASIS patch 23.
For me the problem was with SAPVIEW table wasnt imported from source to target becuase SAPVIEW.STR file was 0 byte. STR files gets created in export preparation phase.
It did happen because on source side master DVD, there was no option for export preparation. I had only option for tablesplit and export db.
I did use ECC 5.0 SR2 Master DVD which had option for export preparation phase and that created SAPVIEW.STR file.
Using migration monitor I did re-export and re-import and this time all views are imported in target.
Regards,
Mamadi. -
"Table VSEOPARENT is not in the database" after system copy to x64
Hi SDNners,
We've just completed a system copy of our SolMan 3.1 system onto a new
(Xeon x64 based) server. This system copy is part of the process of
moving SolMan 3.1 from an old server onto 64bit hardware and then
upgrading it to SolMan v4 and Oracle 10G.
Although the system appears to start properly in the MMC, we are unable
to log into the system through SAPGUI - we get a SYNTAX_ERROR window
instead of a logon screen.
I've checked the SysLog from within the MMC and noticed a number of
errors stating:
Database: Table VSEOPARENT is not in the database
Database: Table VSEOIFIMPL is not in the database
Database: Table VSEOIFCOMP is not in the database
I tried running SQL command 'select * from "SAPSOL"."VSEOPARENT"; and
it confirmed that the table didn't exist. I then ran the same command
on the source SolMan system and it showed that VSEOPARENT DID exist. I
don't understand how these VSEO* tables could have gone missing between
the source and target systems.
I've searched OSS for VSEO* and cannot find anything. Please help!
Thanks,
Arwel.Hi Arwel,
how exactly did you copy the database to the new server?
the tables you stated are an essential part of the ABAP runtime environment, so the syntax error is surely because of these tables are missing.
Regards,
Pascal -
Lync 2013 updating databases after updating Front End servers
We have a front-end server pool consisting of 3 Lync 2013 servers and a back end of 2 SQL servers using SQL mirroring. All servers are Windows 2008 R2.
Following the instructions in
http://support2.microsoft.com/kb/2809243 , I verified that the servers were all ready for updates, then I ran the
Stop-CsWindowsService -Graceful cmdlet to stop the Lync services on the first FE server, then I ran LyncServerUpdateInstaller.exe to install the updates. After the updates were installed, I restarted the server, waited for Lync services
to all start, then repeated the process on the next 2 servers in turn. This was all successful.
I am now looking at step 2 in this document, applying the back-end database updates, and I have a problem and some questions. The problem is that all the databases had the principal copy on the mirrored SQL server. I ran the recommended Invoke-CsDatabaseFailover
-NewPrincipal Primary cmdlet repeatedly, using all the database types I could find, but I still have two databases (database names
xds and lis) on the mirrored server. Since the cmdlet requires a database type, what type of databases are the xds and the lis databases?
Once I get that done, I an still unsure of exactly what to run to update the databases. The KB article states to run Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose . Do I type this in exactly
as stated, or is FEBE.FQDN a variable for our SQL server or some other entity in our environment? If I do use the actual SQL Server name in that, do I run it twice, using the name of the mirrored SQL server the second time?
Thank you very much for your help.Hi Logan Burt,
Central Management store database files
Data file or log purpose
Xds.ldf
Transaction log file for the Central Management store
Xds.mdf
Maintains the configuration of the current Lync Server 2013 topology, as defined and published by Topology Builder
Lis.mdf
Location Information service data file
Lis.ldf
Transaction log for the Location Information service data file
And you could verify if Lync Server 2013 database updates have completed successfully.
How to Verify if Lync Server 2013 Database Updates Completed Successfully
http://blogs.technet.com/b/dodeitte/archive/2013/07/02/how-to-verify-if-lync-server-2013-database-updates-completed-successfully.aspx
Best regards,
Eric -
Unable to create mail database
okay, I had 4 hard drives fail at once on my Storage Server,
Lost the VHD for my Exchange VM
Created a new VM, recovered Exchange 2010 SP3 using setup /m:recoverserver
Didn't appear to have any errors until it was time to mount the database, database wouldn't mount.
Tried to create a new database, getting Error 5000.
When I looked under Exchange\V14\mailbox, I can't actually find a copy of my mail database, so, I am not able to mount because I can't actually create a good mail database.
When I try to create a mail database, I get these errors
From EMC
AcmeMail2
Failed
Error:
Couldn't set the System Attendant for database "AcmeMail2".
The requested search root 'Acmenet.local/Configuration/Services/Microsoft Exchange/Acme/Administrative Groups/Exchange Administrative Group (FYDIBOHF23SPDLT)/Servers/Acme/Microsoft System Attendant' is not within the scope of this operation. Cannot perform
searches outside the scope 'Acmenet.local/MyBusiness'.
Warning:
An error occurred while trying to prepopulate newly created mailbox "/o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SystemMailbox{22655608-c412-4e60-baa3-4d716ab38f20}" in database "AcmeMail2" on server "Acme".
"/o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SystemMailbox{22655608-c412-4e60-baa3-4d716ab38f20}" may not immediately be available for certain cmdlets and operations until it has replicated. If you need to run the
cmdlet again, and you want more information about the error, please add the -Verbose parameter. Error: 0x8004010F.
Exchange Management Shell command attempted:
new-mailboxdatabase -Server 'Acme' -Name 'AcmeMail2' -EdbFilePath 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb' -LogFolderPath 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2'
From the Application Log
Event ID 5000
Failed to save admin audit log for this cmdlet invocation.
Organization:
Log content:
Subject: Acmenet.local/Users/Administrator : New-MailboxDatabase
Body:
Cmdlet Name: New-MailboxDatabase
Object Modified: AcmeMail2
Parameter: Server = Acme
Parameter: Name = AcmeMail2
Parameter: EdbFilePath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb
Parameter: LogFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
Property Modified: OrganizationId =
Property Modified: Id = AcmeMail2
Property Modified: DataMoveReplicationConstraint = None
Property Modified: RawName = AcmeMail2
Property Modified: RpcClientAccessServerExchangeLegacyDN = /o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Acme
Property Modified: Server = Acme
Property Modified: LogFilePrefix = E01
Property Modified: LogFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
Property Modified: SystemFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
Property Modified: AdminDisplayName = AcmeMail2
Property Modified: ExchangeLegacyDN = /o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Acme/cn=Microsoft Private MDB
Property Modified: EdbFilePath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb
Property Modified: DisplayName = AcmeMail2
Property Modified: MasterServerOrAvailabilityGroup = Acme
Property Original: OrganizationId =
Property Original: Id =
Property Original: DataMoveReplicationConstraint = SecondCopy
Property Original: RawName =
Property Original: RpcClientAccessServerExchangeLegacyDN =
Property Original: Server =
Property Original: LogFilePrefix =
Property Original: LogFolderPath =
Property Original: SystemFolderPath =
Property Original: AdminDisplayName =
Property Original: ExchangeLegacyDN =
Property Original: EdbFilePath =
Property Original: DisplayName =
Property Original: MasterServerOrAvailabilityGroup =
Caller: Acmenet.local/Users/Administrator
Succeeded: False
Error: System.InvalidOperationException: Couldn\'t set the System Attendant for database \"AcmeMail2\". ---> Microsoft.Exchange.Data.Directory.ADOperationException: The requested search root \'Acmenet.local/Configuration/Services/Microsoft Exchange/Acme/Administrative
Groups/Exchange Administrative Group (FYDIBOHF23SPDLT)/Servers/Acme/Microsoft System Attendant\' is not within the scope of this operation. Cannot perform searches outside the scope \'Acmenet.local/MyBusiness\'.\r\n at Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String
preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)\r\n at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request,
ADObjectId originalId, Boolean emptyObjectSessionOnException)\r\n at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties)\r\n at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable
instance)\r\n at Microsoft.Exchange.Management.SystemConfigurationTasks.NewMailboxDatabase.SetSystemAttendantObject(MailboxDatabase database)\r\n --- End of inner exception stack trace ---
Run Date: 2014-04-04T19:48:39
OriginatingServer: Acme (14.03.0123.002)
Error:
Exception thrown during AdminLogProvisioningHandler.Validate: Microsoft.Exchange.Data.Storage.ObjectNotFoundException: The discovery mailbox, a hidden default mailbox that is required to search mailboxes, can't be found. It may have been inadvertently deleted.
This mailbox must be re-created before you can search mailboxes.
at Microsoft.Exchange.Data.Storage.Infoworker.MailboxSearch.MailboxDataProvider.GetDiscoveryMailbox(ADRecipientSession session)
at Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogHelper.CheckArbitrationMailboxStatus(OrganizationId organizationId, ADUser& user, ExchangePrincipal& principal, String& errorMessage)
And Event ID 3154
Active Manager failed to mount database AcmeMail on server Acme.Acmenet.local. Error: An Active Manager operation failed. Error The database was never mounted..
On the Domain Controller, I have run setup /prepareAD several times
Any suggestions?
Don Miller Network Administrator Teton Machine CompanyIn the case,
the VM is hosted on the Host machine's local drive, the VHD is too.
I created this database about an hour ago (there still isn't a database or log file that has been created), but when I try to mount it manually, I am getting this error
Microsoft Exchange Error
Failed to mount database 'acme'.
acme
Failed
Error:
Couldn't mount the database that you specified. Specified database: acme; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred
during a database operation. Error: An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'. [Database:
acme, Server: acme.acmenet.local].
An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database
'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'. [Database: acme, Server: acme.acmenet.local]
An Active Manager operation failed with a transient error. Please retry the operation. Error: An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find
the path specified) from Windows API 'FindFirstFile'. [Server: acme.acmenet.local]
An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'.
An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'
Don Miller Network Administrator Teton Machine Company -
Access Database (.mdb) on Windows Server 2012 R2 Essentials
Hi guys, thanks for your time!
SCENARIO:
- Windows Server 2012 R2 Essentials
- Windows 7 Ultimate Clients (3 clients)
- VB6 application on clients using a MS Database (.mdb) hosted on the server.
- Clients access the database (.mdb) via a mapped network drive (K:).
PROBLEM:
- Microsoft Database (.mdb) on server gets corrupted frequently.
- Clients don't "flush their changes" back to the database: database was not updated.
WORKAROUND:
- Database was moved from the server to one of the Windows 7 clients.
- Application is running OK.
CONFIGURATION:
- Permissions are correct: network and NTFS.
- No faulty network hardware: switch, cabling, NICs.
- Computers and Server hardware is new.
- UPS are used everywhere.
SOME LINKS:
SMB 3.0
- Opportunistic Locking and Read Caching on Microsoft Windows Networks.
- Windows 7 cannot
open the shared MS Access database if it's opened by another user
- Initializing the
Microsoft Jet 4.0 Database Engine Driver
- Moved to
Server 2012 getting Access Database Corruption
Oplocks
- Configuring
opportunistic locking in Windows
- Understanding
offline files
- How to
enable and disable SMBv1, SMBv2, and SMBv3
- Is it possible to
monitor and log actual queries against an Access MDB?
Now, server is useless if it is not hosting our database. Any ideas, please? Do I need to diagnose using Wireshark? Or using Sysinternals Process Monitor? I think that is a waste of time.
Thank you!Thanks for your reply.
Software is from a 3rd party provider. It currently supports concurrency. It was deployed on Windows XP. SQL Server would be a nice upgrade, however that is
not an option.
Something has changed with newer versions of Windows. That is what I am going to study in a lab I prepared with a real server and some clients.
File-sharing databases (Microsoft JET databases) are very old technology even before I was a college student. However, I have been very busy researching this technology.
It was made for multi-user environments. It is highly tied to file sharing services from Windows: SMB protocol.
Windows XP, Vista, 7 and 8 use different versions of this protocol. I think that is the root of the problem. With old technology, application was running fine.
With new technology, application is troublesome. I will check several things: JET drivers vs. ACE drivers, SMB tweaks, etc.
UPDATE:
Basically, there are 4 general answers to this issue:
1) Migrate your Access Database to SQL Server Express (or another RDBMS engine).
2) @Server: disable SMB 2.0/3.0 protocol stack by powershell command. Network speed decreases.
3) @Clients: disable client redirector caches by using regedit.
4) @Server: disable the leasing on the file server.
5) @Server: tuning Broadcom NIC parameters.
References:
- https://technet.microsoft.com/en-us/library/ff686200(WS.10).aspx
- https://msdn.microsoft.com/en-us/library/windows/desktop/aa365433(v=vs.85).aspx
- http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Q_28482197.html
- http://tipsntricks.sherr.co.uk/stop-smb-corrupting-files/
- http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html
- https://social.technet.microsoft.com/forums/windowsserver/en-US/67baa9fd-5eaf-438e-9cc4-dc1a531b9e19/disabling-oplocksmb2-vs-fileinfocachelifetime
- https://social.technet.microsoft.com/Forums/windowsserver/en-US/7336d31b-6c24-468a-9c47-750244ae3a8c/moved-to-server-2012-getting-access-database-corruption
- https://social.technet.microsoft.com/Forums/en-US/e9567167-22db-4b8c-9f96-a08b97d507f9/server-2012-r2-file-server-stops-responding-to-smb-connections
- http://support2.microsoft.com/kb/2957623
- http://support2.microsoft.com/kb/2899011
- http://support2.microsoft.com/kb/2955164
- https://social.technet.microsoft.com/Forums/en-US/7bd0aa5b-eb95-40a8-a56d-c6013273665c/extremely-slow-smb-network-speed-server-2012-r2?forum=winserver8gen -
How to use %Type declaration with table residing in a different database
How can I use the %TYPE declaration if the table is from a different database.
E.g
v_business_unit ps_jrnl.header.business_unit%TYPE;
In the above declaration statement,the table 'ps_jrnl_header' resides in a different database(Database A) from the one I am currently in( Database B).(This is because data needs to be extracted from Database A into Database B).1. Create a database link to the other database (this probably already exists since your proc is interacting with that database)
2. Create a synonym for the table in the other database
create synonym foo for ps_jrnl.header@database_a;3. Reference the synonym in your variable declaration:
v_business_unit foo.business_unit%TYPE; -
Error while running adcfgclone on database tier please help me
Hello
I am doing cloning through cold backup and i face some errors..here is my logfile.....please suggest me some solution...
Executing script in InstantiateFile:
Attempting to create a back up of the Context file
Created back up file of name :
/home/clone/db/db/tech_st/10.2.0/appsutil/out/CLONE_zishan/12071920/CLONE_zishan.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /home/clone/db/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Tue Dec 07 19:20:41 GMT+05:30 2010
found context version : 120.27
available update version : 120.27
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Tue Dec 07 19:20:41 GMT+05:30 2010
Using version 120.8
Options:
Force : no
Contextfile : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Templatefile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
===========================================================================
[ Config tool : /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
Command : /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml logdir=/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : /home/clone/db/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java:/home/clone/db/db/tech_st/10.2.0/jlib/netcfg.jar:/home/clone/db/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /home/clone/db/db/tech_st/10.2.0
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
Looking for the directory : /home/clone/db/db/tech_st/10.2.0/nls/data/9idata
Directory exists
Looking for file : /home/clone/db/db/tech_st/10.2.0/nls/data/old/cr9idata.pl
File exists
Validation complete
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:09 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Starting DB listener with command:
/home/clone/db/db/tech_st/10.2.0/appsutil/scripts/CLONE_zishan/addlnctl.sh start CLONE
You are running addlnctl.sh version 120.1
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/addlnctl.txt
Starting listener process CLONE ...
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Verifying correctness of adcrdbclone.sql
Clustered Database: false
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
Updating:s_db_rollback_segs:(_syssmu1$, syssmu2$, syssmu3$, syssmu4$, syssmu5$, syssmu6$, syssmu7$, syssmu8$, syssmu9$, syssmu10$, syssmu11$, syssmu12$, syssmu13$, syssmu14$, syssmu15$):
Updating:s_undo_tablespace:APPS_UNDOTS1:
Updating:s_database:db102:
Updating:isspfileexists:false:
Updating:s_dbfiles:512:
Executing Configuration Phase...
Deleting files of type INSTALL
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/sqlnet.ora
Processing driver file: /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /home/clone/db/db/tech_st/10.2.0/dbs/initCLONE.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/listener.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/tnsnames.ora
File exists
File deleted
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:26 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Tue Dec 7 19:21:27 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
LD_LIBRARY_PATH : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
Executable : /home/clone/db/db/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/adcrdb_CLONE.txt
Creating the control file for CLONE_zishan database ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:27 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:33 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabaseHi;
What is EBS and Db,OS?
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389home/clone/db/db/apps_st/data/cntrl01.dbf' This file exsits? If yes you have r/w permission?
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
*Did you run preclone on source before copy file to target?
Regard
Helios
Maybe you are looking for
-
Re-importing packages during installation
Hello all, Was doing an installation.When it started, got the following errors: Import Monitor jobs: running 1, waiting 110, completed 1, failed 0, total 112. Import Monitor jobs: running 2, waiting 109, completed 1, failed 0, total 112. Import Monit
-
Hello to all, I would like to know whether one can trash the event/s of a project once it is considered that the project will not be 'retrieved for reediting' in the near future, the archiving of the project being done by duplicating it along with th
-
Losing ability to download on iMacs.
We have a strange problem here at work. We have a combination of iMacs and PCs and we're having network issues with the iMacs. On the iMacs anytime someone tries to download a larger file (i.e. tries to watch a video on Apple.com) it downloads about
-
In some forms when I write i.e. fish adobe turns that into bird, or if I write 82525 adobe makes it to 1636941 its only in some fields. These fields shows a list of previous saved items that was written in that field. That is totally ok, but when I w
-
How do I magnify an audio waveform vertically and display its dB level?
How do I magnify an audio waveform vertically, either in the sample editor or in the arrange window? I'm not referring here to the track's magnification though. Also, how do I display the WAV's amplitude in dB? Only samples or percentage seem to be p