Problem with ACS 4.2 database replication
Greetings,
I'm not able to replicate data between two ACS SE 4.2. I get the following error:
Inbound replication of database of ACS 'ACS_BEX_001' denied - shared secret mismatch.
Apparently, the configuration is ok. I enclose the configuration of these two ACS.
Hello
The problem you see are because of the Self entered on each ACS is set to 127.0.0.1. For replication to work, you must set all 4 entries of ACS at the same shared secret, even the self ones. The problem is when you try to change these entries, it will tell you that you can't use 127.0.0.1, but it also won't let you change the ip address.
The bug Id for this problem is CSCso36620. Workaround declares that the CLI, you can use the "set ip" command to put the IP address in the initial INVESTIGATION period and it should update the self entry in the GUI. At this point, you should be able to update the secret shared on all 4 devices.
Let me know if you have problems to make it work.
Thank you
Nevin
Tags: Cisco Security
Similar Questions
-
problem with recording new object database
Hi all
I am having some problems with registration of the database object.
I have 2 classes
{Test}
Laboratory Lab - > not nullable in DB
LastElement-> element (2 part)
Items in collection-> (a-2-many element)
}
Element
{
String value
Test parentTest-> (one to a test - key to building elements)
}
1. I create new Test ts1 and new element el1
2. I add el1 ts1 items
3. I updated el1 lastElement in ts1
4 assignSequenceNumbers
When I will I have an exception for the Insert for Test-> impossible to insert null for LAB_ID
I found that if I do step 3 everything works fine and the INSERTION is done in a single step (all the attributes private and one-2-one References are included)
If I do the step 3, only private attributes are generated for the insert and after insertion will update for all individual references. And it would be ok if I wouldn't not nullable fields.
Is it possible to force Toplink do not separate first INSERTION to 2 calls?
Any suggestions will be greatly appreciated.
PS. all objects are correctly saved in UnitOfWork
Thank youFirst of all you have parentTest in el1? You must take care of both sides of the relationship.
Secondly, if you did and which does not help, maybe you can change a constraint not null on defered lab so he would be checked at the end of the transaction not to each insertion.Published by: sebastian.kolski on October 8, 2009 10:27
Published by: sebastian.kolski on October 8, 2009 10:28
-
Problem with the selection of database adapter operation
Hello
When I invoke the database adapter selection operation, I don't see not all the fields within Invoke1_SelectSelect_InputVariable (I'm supposed to see mapping). Can someone let me know what the problem is. Currently I read a value and if the input value is equal to the value of the field in view he must retrieve all the values associated with this field.
Thank youSelect empno, empid of base table WHERE empno = #empno_value
empno_value will be the parameter that you intend to move through a field of the input variable...
-
problem with the chain (from database) to the php variable
This will probably be an easy question for some of you, but I'm having a problem to assign a string to a php variable. I have several RSS feeds stored in a database. the stored information includes the RSS feed name, link to the actual site, link for just the RSS feeds for the site, etc...
I'm running a / loop to generate the RSS feed. the result is simply the title of the site and the last 8 articles of the site. everything came out fine, with regard to the actual display and the title of the rss feeds showing upward, but I can't plug the RSS feed link without getting an error. This is the code I'm using (is all the code, but it's the only part that gives me bad):
<? PHP include('RSS/rss_fetch.inc');
$rss = fetch_rss ('RSS feed link goes here');
table shows 8 results
$items = array_slice ($rss-> points, 0, 8);
Scroll through each element and echo
foreach ($items as $item)
{? >}the bold line is the only place where I am running into a problem. I have the correct rss feed link stored in the database. I would reference him in my code
<? PHP echo $row_resourceFeed_rs ['rssLink'];? >
However, if I replace the current link (the one in bold above) by the php in the database call, I get an error. can someone tell me please how to extract the link RSS feeds on the line in bold?
mathruD wrote:
$rss = fetch_rss ("");
You cannot nest tags PHP inside a block of PHP code.
The following should be all you need:
$rss = fetch_rss($row_resourceFeed_rs['resource_rssLink']);
-
Problem with the playback of database Sqlite.
Hello guys,.
I created a SqLite database and create a Table and insert three records in it.
But when I try to read data from it.
So no errors are there and given no reading from the database.
I am facing this problem since 2 days.
What shoul I do it.
I write this code to read the data
Try
{
URI uri=URI.create("file:///SDCard/Databases/SQLiteGuide/"+"MyDatabase.db");
d = DatabaseFactory.Open (Uri);
Statement st = d.createStatement ("SELECT name, age FROM people");
St.Prepare ();
St.Execute ();
net.rim.device.api.database.Cursor c = st.getCursor ();
Line r;
int i = 0;
While (c.Next () == true)
{
r = c.getRow ();
i ++ ;
Add (new RichTextField (i + ".")) Name = "+ r.GetString (0) +", "+" Age = "+ r.getInteger (1)));" "" "
name.setText ("Name->" + r.getString (0));
age.setText ("Âge->" + r.getInteger (1));
}
if(i==0)
{
Add (new RichTextField ("no data in the table"));
}
St.Close ();
d.Close ();
Dialog.Alert ("show file");
} catch (System.Exception e)
{
System.out.println (e.getMessage ());
e.printStackTrace ();
}I find the Solution myself.
Thanks to you all.
-
Problems with ACS 5.3 and CSR windows 2 k 8 r2
All,
First thanks for taking the time to watch it, now on the issue.
I generated a CSR for the customer whose CA is a machine under windows 2008 r2.
First headache-Windows 2008 r2 accepts pkcs12 certificates (what I am told by customer).
I generate the CSR unit of ACS and export it as well as the self-signed certificate and use Openssl to create the pkcs12 file.
nCash-mac: zcoracs1 ncash$ ls
Certificate_Signing_Request5.pemzcoracs1.key (exported private key)
zcoracs1.CER (Self signed Cert)
nCash-mac: zcoracs1 ncash$ openssl pkcs12 - export - zcoracs1.pfx - inkey - zcoracs1.cer - certfile Certificate_Signing_Request5.pem zcoracs1.key
Enter the password for zcoracs1.key:
Enter Export password:
Audit - Export password:
nCash-mac: zcoracs1 ncash$ ls
Certificate_Signing_Request5.pemzcoracs1.key
zcoracs1.cer
zcoracs1.pfx
nCash-mac: zcoracs1 ncash$ openssl pkcs12-info-en zcoracs1.pfx (cert test to ensure that it is valid)
Enter password Import:
Iteration of MAC 2048
MAC verified OK
The PKCS7 figures: pbeWithSHA1And40BitRC2-CBC, iteration 2048
Bag of certificate
Attributes of the bag
localKeyID:
subject = /.
issuer = /.
-BEGIN CERTIFICATE-
-removed for berevity
-CERTIFICATE OF END-
Data of the PKCS7
Keeled Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, iteration 2048
Attributes of the bag
localKeyID:
Key attributes:
Enter the EMP password:
Verification - enter the EMP password:
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4 ENCRYPTED
DEK-Info: DES-EDE3-CBC, E9248F06C82E7BB2
-Removed for berevity-
-----END RSA PRIVATE KEY-----
The generated client then the certificate based on the pkcs12 and sent me the pkcs12 RA signed cert for my box of GBA. After the conversion and tries to install in the FAC I get an "Unable to Parse certificate = Certificate Validation error '"
Any ideas anyone?
Yes, I have dealt with ms ca several times and usually have more luck with the certreq cli command than the GUI.
older versions do not seem to be the Web server option installed by default.
I think that you can generate a csr on the ca itself, maybe that's how they did? I always I used CSR generated device although some applications need to marry the final cert with the CSR on the box.
good to know that you have sorted
Jim
-
VS 2010 problem with connect to the database.
Hello
I use the customer Oracle 11g and ODAC 11.2 Release 3, windows 7 and VS 2010. Durning a few days I can not connect to oracle because of error database: "OCIEnvCreate failed with return code-1, but the text of the error message was not available.
I checked the case with privileges, and that's ok. In the end, I reinstalled VS and oracle client, but it did not help.
I have no idea what is wrong: () thanks for any advice.
Kind regards
Kris858115 wrote:
HelloAnd if I find 'oci.dll' in a location different than oracle home, I should remove it? I found one in c:\windows\system32
Kind regards
KrisFor now, go ahead and rename it. Since SYSTEM32 is on the path, the dll may be getting picked up rather than the version 11.2.
-
Problem with Oracle Import/Export database
I'm doing some imp/exp between two oracle databases.
During the import, I got an error:
IMP-00060: WARNING: jump table "BIAPPS". "' HR_LOCATIONS_ALL ' because the object of type 'MDSYS. "' SDO_ORDINATE_ARRAY ' does not exist or to identify different
However, when I connect my database as sysdba goal and run the following script:
Select object_name, object_type, owner of dba_objects where object_name = 'SDO_ORDINATE_ARRAY ';
I found that the object type is actually existing in my target database:
OWNER OBJECT_TYPE OBJECT_NAME
------------------------------------------------------------------------------------------
SDO_ORDINATE_ARRAY PUBLIC SYNONYM
SDO_ORDINATE_ARRAY TYPE MDSYS
I run "Grant all on sdo_ordinate_array to biapps;" and tried to import the table again, but the I still have the same error information.
Could someone tell me the reason of this problem and how to get this HR_LOCATIONS_ALL imported? Thank you very much.
Here is the HR_LOCATIONS_ALL DDL, I received from source database:
CREATE TABLE 'BIAPPS '. "" HR_LOCATIONS_ALL ".
+ ('LOCATION_ID' NUMBER (15.0), +)
+ NUMBER (15.0) "ENTERED_BY," +
+ VARCHAR2 (60 BYTE) "LOCATION_CODE," +
+ VARCHAR2 (240 BYTE) "LIGNE_ADRESSE_1," +
+ VARCHAR2 (240 BYTE) "LIGNE_ADRESSE_2," +
+ VARCHAR2 (240 BYTE) "ADDRESS_LINE_3," +
+ VARCHAR2 (30 BYTE) "BILL_TO_SITE_FLAG," +
+ VARCHAR2 (60 BYTE) 'COUNTRY ', +.
+ VARCHAR2 (240 BYTE) "DESCRIPTION," +
+ NUMBER (15.0) "DESIGNATED_RECEIVER_ID," +
+ VARCHAR2 (30 BYTE) "IN_ORGANIZATION_FLAG," +
+ DATE "INACTIVE_DATE," +
+ NUMBER (15.0) "INVENTORY_ORGANIZATION_ID," +
+ VARCHAR2 (30 BYTE) "OFFICE_SITE_FLAG," +
+ "ZIP_CODE" VARCHAR2 (30 BYTE), +.
+ VARCHAR2 (30 BYTE) "RECEIVING_SITE_FLAG," +
+ VARCHAR2 (120 BYTE) "REGION_1, +.
+ VARCHAR2 (120 BYTE) "REGION_2, +.
+ VARCHAR2 (120 BYTE) "REGION_3," +
+ NUMBER (15.0) "SHIP_TO_LOCATION_ID," +
+ VARCHAR2 (30 BYTE) "SHIP_TO_SITE_FLAG," +
+ VARCHAR2 (7-BYTE) 'STYLE ', +.
+ VARCHAR2 (15 BYTE) "TAX_NAME, +.
+ VARCHAR2 (60 BYTE) "TELEPHONE_NUMBER_1," +
+ VARCHAR2 (60 BYTE) "TELEPHONE_NUMBER_2," +
+ VARCHAR2 (60 BYTE) "TELEPHONE_NUMBER_3," +
+ VARCHAR2 (30 BYTE) "TOWN_OR_CITY," +
+ VARCHAR2 (30 BYTE) "ATTRIBUTE_CATEGORY," +
+ 'ATTRIBUTE1' VARCHAR2 (150 BYTE), +.
+ 'ATTRIBUT2' VARCHAR2 (150 BYTE), +.
+ VARCHAR2 (150 BYTE) "ATTRIBUT3," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE4," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE5," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE6," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE7," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE8," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE9," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE10," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE11," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE12," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE13," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE14," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE15," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE16," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE17," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE18," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE19," +
+ VARCHAR2 (150 BYTE) "ATTRIBUTE20," +
+ DATE "LAST_UPDATE_DATE," +
+ NUMBER (15.0) "LAST_UPDATED_BY," +
+ NUMBER (15.0) "LAST_UPDATE_LOGIN," +
+ NUMBER (15.0) 'CREATED_BY ', +.
+ DATE 'CREATION_DATE ', +.
+ NUMBER (9.0) "OBJECT_VERSION_NUMBER," +
+ "TP_HEADER_ID" + NUMBER
+ VARCHAR2 (35 BYTE) "ECE_TP_LOCATION_CODE," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE_CATEGORY," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE1," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE2," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE3," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE4," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE5," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE6," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE7," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE8," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE9," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE10," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE11," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE12," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE13," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE14," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE15," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE16," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE17," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE18," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE19," +
+ VARCHAR2 (150 BYTE) "GLOBAL_ATTRIBUTE20," +
+ NUMBER (15.0) "BUSINESS_GROUP_ID," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION13," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION14," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION15," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION16," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION17," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION18," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION19," +
+ VARCHAR2 (150 BYTE) "LOC_INFORMATION20," +
+ VARCHAR2 (240 BYTE) "DERIVED_LOCALE," +
+ "GEOMETRY" 'MDSYS. "" SDO_GEOMETRY. "+
+ VARCHAR2 (30 BYTE) "LEGAL_ADDRESS_FLAG," +
+ 'TIMEZONE_CODE' VARCHAR2 (50 BYTE) +.
+) PCTFREE 0 PCTUSED 40 INITRANS 1 MAXTRANS 255 COMPRESS NOLOGGING +.
STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)
TABLESPACE "BIAPPS".
VARRAY 'GEOMETRY '. "" ANSDO_ELEM_INFO "STORE AS BASICFILE LOB
+ (ACTIVATE 8192 CHUNK ONLINE STORAGE +)
CACHE
STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES))
VARRAY 'GEOMETRY '. "" SDO_ORDINATES ' STORE AS BASICFILE LOB
+ (ACTIVATE 8192 CHUNK ONLINE STORAGE +)
CACHE
STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES));Yang YAng,
You export some objects in the environment of the Apps? Look at the last answer to this thread, which talks about the solution of the said error,
Import of Oracle problem:
And you can get some lead from this link
http://translate.Google.com/translate?hl=en&SL=zh-CN&u=http :// www.oracleblog.cn/working-case/imp-00060type-does-not-exist-or-has-different-identifier/&sa=X&oi=translate&resnum=4&ct=result&prev=/search%3Fq%3DIMP-00060%26hl%3Den%26rls%3Dcom.microsoft: en - US: % 26rlz % 3D1I7GGLJ % 26pwst %3 D 1
HTH
Aman... -
Problem with the connectivity of database runtime system
Hi all
I use the database connectivity tool kit in my application (labview 2011).
Everything works fine on my system (System development).
When I install my application on any other PC the path to my database is not found.
I don't want to keep a constant track or fixed to my database. I want the database path must be automatically buit wherever the application is installed. Please suggest how to get the path programmatically.
Excerpt from the attachment. Run the VI and let me know
-
Problem with: review of Oracle Database 11 g Administrator Certified Associate 1Z-052
Hello
I need your help.
I spent "1Z0-007 Introduction to Oracle9i: SQL ' review and I planned «to Oracle Database 11 g Administrator Certified Associate 1Z-052"exam before 31.jul.2013 (before the date of the exam 1Z0-007 expiry).»
But I needed to change the date of 1Z-052 exam at 19.august.2013.
My question: can I take the exam 1Z-052 (19.aug.2013) even if my screening - expired after 31.jul.2013?
Thank you in advance.
1Z0 - 007 retirement has No effect on those who have already passed the exam. It simply means that the test 1Z0-007 is no longer possible to plan. I have to discuss more in detail in the following article:
-
strange problem with the database link
Hello world
I have a strange problem with the link of database in Oracle 11 g Express Edition;
There are two computers: computer-server and the client computer. Tnsnames.ora are the same on both computers IE.
CT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = XE)
)
)
I created the database link:
Create database link zdalny
Connect to < user_id > identified by < password >
using "CT".
Customer cannot connect with server when I do not use above the command. But when I change 'use' for using "krzysztof:1521" or by using "krzysztof" or "server IP:1521" - everything is ok.
Why I ask. Because in all the materials that I read about Oracle command with the help of "CT" should work correct. But there is no. Do you know why?
Thanks in advance and apologize me for my English.
Rgds
KrzysztofHere's the tnsnames of your server, but to connect to the oracle server db (any client or to another instance of db oracle), you must install oracle client.
However, in your condition, you want to connect the DB1 Oracle OracleDB2 using a link db, I'm right? In this case you should always set the entry in the tnsnames.ora
To verify that you can connect to Oracle DB2 from DB1 Oracle, you can use tnsping in the command line.
In your casec:\tnsping CT
Krzysztof Szymaniak wrote: CT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)Check your tnsnames entry in the machine, you are trying to connect to. And check if the tnsping is successful.
Sometimes the error message says not everything, which means that you need to troubleshoot yourself and learn from the experience.
Always in the opposite case, refer to the documentation.See you soon.
Published by: Spongebob December 14, 2011 09:30
-
TO_CHAR fucntion problem with dates.
Hi all
I tested the following problem with 10g and 11g databases, and the problem is the same.
create table aa (a date); insert into aa values('23-Mar-2014'); commit;
now the following query gives no results
select count(*) from aa where to_char(a,'dd-Mon-yyyy') >='23-MAR-2014' and to_char(a,'dd-Mon-yyyy') <='23-Apr-2014'; COUNT(*) ---------- 0
and the following query gives the results
select count(*) from aa where a>='23-Mar-2014' and a<='23-Apr-2014' COUNT(*) ---------- 1
Why?
We need the to_char working for our criteria of search dot net application.
kindly guide us.
Thank you
You're hurting. Why convert a date into a string of characters and try to compare it to another string? This is false.
Insert into aa values('23-Mar-2014');
should be
insert into aa values (to_date (March 23, 2014 ',' MON-DD-YYYY "");)
and your selection should be:
Select count (*) in aa
where a > = to_date (March 23, 2014 ',' MON-DD-YYYY') and to_date (April 23, 2014 ',' MON-DD-YYYY "")
-
Replication of ACS and integration with the Active directory database
Hi all
I have to configure two ACS SE with the internal database replication. I have also a server active directory that must integrate with ACS. My doubt is that I need to configure the IP address of the ACS during installation of the remote agent on active directory or only the primary ACS
No need to give the IP of two ACS. Give the primary IP of ACS.
Kind regards
~ JG
Note the useful messages
-
ACS appliance 4.2 - database replication internal problem
HelloW
I'm yunchoul jung in Korea
now I'm setting up ACS unit 1113 ver4.2
in internal, primary and secondary database replication server ACS cannot repliacate the database due to the configuration of SELF (127.0.0.1) by default in the configuration of the network.
so I have a guestion, how do I replace 127.0.0.1 address to the ip address you want or delete SELF (127.0.0.1) address
I don't understand a procedure of solution in the documentation below.
Thank you for your help in advance
Problem: 127.0.0.1 is a reserved address
You have two units of the ACS SE 1113 and replicate the database internal from the primary to the secondary.
but you notice this error message in the secondary unit:
Replication of database of ACS
denied - incompatibility of secret shared incoming When you try to change the key of course AAA under Network Configuration Server error message is
returned.
This is due to a known bug,
Symptom: 127.0.0.1 address appears in ACS and the replication fails
Conditions:
Install Acs S/W version 4.2.0.124
Disable the network adapter
Enable network card
* Go to the network settings page.
* Should see the AA server IP to be a return loop
Workaround solution:
For windows: remove the 127.0.0.1 entry
For the device: back up the database, install ACS on windows, restore, delete
the entry, make a backup and restore on the device
Kind regards
~ JG
Note the useful messages
-
The problem with SQL after the migration of the database to another machine
Having a SQL strange problem trying to extract a database being moved from one machine to the other. Both machines are running SQL 2008 32-bit and are both Windows 2008 servers. When I try to backup the database using the SQL tools and restore the. BAK file on the new SQL Server, I get the following error:
Restore failed for server 'servername' (Microsoft.SqlServer.Smo)
Additional information:
System.Data.SqlClient.SqlError: RESTORE detected an error on the page (44:2097184) in database 'RestoreDBName' read from the backup set.
Similarly, when I am trying to copy the. MDF and. LDF files to the new server and tie them, I get the following error:
Attach the database failed for the server 'servername '.
Additional information:
An exception occurred during the execution of a Transact-SQL statement or batch.
A system assertion failed. An assertion failure is usually caused by a corruption of data or software bug. To check the database, consider running DBCC CHECKDB. If you have agreed to send images to Microsoft during installation, a mini dump will be sent to Microsoft. An update can be an available from Microsoft in the latest Service Pack or a QFE from Technical Support.
Could not open new database 'NewDatabaseName' create a DATABASE is dropped.
"" Location: "logmgr.cpp": 3277
Expression: lfh-> lfh_startOffset is startOffset
SPID:55
PID: 292876 (Microsoft SQL Server, error: 3624)
Everything I've read, these errors usually indicate some sort of database corruption. However when I run DBCC CHECKDB on the database on the source server, it is up to perfectly don't own... None detected corruption. In fact, this server hosts 8 different databases. Departure from all the correct DB on the source server, none of them will restore however to a new server using one of the methods above. I'm having a hard time to believe that each of them could be corrupted when they show absolutely no indication of a problem.
Anyone have any ideas?Try to make the backup and restore via SQLCMD (or via a query in SQL Server MS window).
The backup will be the following (obviously, change "MaBase" and "D:\BACKUPS" to some database and the location you wish to save - just using for example):
BACKUP DATABASE MyDatabase
TO DISK = 'D:\BACKUPS\MyDatabase.bak. '
WITH NOFORMAT, NOINIT,.
NAME = 'Database MyDatabase - Full Backup',
NOREWIND, NOUNLOAD, STATS = 10, SKIP
Copy your backup to the other server and file make:
RESTORE the DATABASE to MyDatabase
FROM DISK = 'E:\Backups\MyDatabase.bak' WITH FILE = 1,
GO to "MyDatabase_Data" to "E:\SQLDATA\MyDatabase_Data.mdf,"
GO to "MyDatabase_Log" to "E:\SQLLOG\MyDatabase_Data.ldf,"
NOUNLOAD, STATS = 10 REPLACE
Again, change your names and locations in function.
If this does not work, try to restore a database by third-party tools. You can find them in Google. If you don't want to spend the time to research, you can try a tool SQL Server Recovery Toolbox. All the details about this program on the link. http://www.oemailrecovery.com/sql_repair.html
Maybe you are looking for
-
Satellite R630-14 days-how do I remove the keyboard?
Hello I bought a Toshiba Satellite R630-14 days, and I would remove keyboard to clean.I tried to remove the plastic between the keys case, but I could not. Any ideas would be appreciated.
-
Satellite A100-095: problem of graphics - Vista OS but says driver is not
I have a toshiba A100-095 with nvidia geforce go7300. I use my pc for developing .net applications, today after a few hours, I put the laptop in standbymode, when I reboot the system, vista windows told me that video drivers caused problems and had r
-
My Satellite L505D goes to a black screen after startup
It seems to boot up properly and everything. It starts Windows 7 and goes to the user selection screen, but since there is only 1 user, it only says: Welcome to the loading circle. But when he tries to load the page office or home or whatever you cal
-
Before to install win 7 and instalation of Server 2008 r2 auto told me to unistal former pilot, I did it, reboot and then I had instaled this driver but it's the same problem, I have attached the picture after I install the driver
-
I turned off my helmet by accident. Every time I have it plugged in the headphones, two configuration windows appears and it's boring. In order to get rid of the pop ups I have disabled the helmet. The speakers work fine, but I prefer to use the helm