If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL2048N RC 7 and restoring from an identical image

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-04, 02:19
Dipanjan Dipanjan is offline
Registered User
 
Join Date: Sep 2003
Posts: 84
SQL2048N RC 7 and restoring from an identical image

We are working on UDB V8.1 on AIX.

I tried to restore a db from its image copy ( which was identical to the db). While restoring it gave me a warning saying that the image copy was idenitcal and that the db files will be deleted. After carrying on with the restore ( which it said was successful) I can't connect to the db as it returns SQL2048N with RC7 ( says error accessing SQL PROCEDURE FILES ).

In db2diag.log it says 'PSM - SQL Procedure psm_remove_database_executables
&
file sharing violation has occurred' but does not give me the file name.

How can this be fixed ?
Reply With Quote
  #2 (permalink)  
Old 01-28-04, 04:31
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: SQL2048N RC 7 and restoring from an identical image

Stop the instance and start

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-28-04, 06:06
Dipanjan Dipanjan is offline
Registered User
 
Join Date: Sep 2003
Posts: 84
Re: SQL2048N RC 7 and restoring from an identical image

Had tried that but was of no use.
Reply With Quote
  #4 (permalink)  
Old 01-28-04, 06:42
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: SQL2048N RC 7 and restoring from an identical image

Stop the instance
Manually delete the directory referred in the db2diag.log file
Start the instance

See if this helps
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On