473,804 Members | 3,822 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2 restore problem

Dear ALL,

I had a problem when I restore a db2 V7 EE Fixpack 5 on AIX 4.3.3 to
db2 V8 ESE Fixpack 3 on AIX 5.1.

Once I restored db2 db (PRD) to V8 and tried to connect to DB, I had
the following problem:

$db2 connect to PRD
SQL5035N The database requires migration to the current release.
$db2 migrate db PRD
SQL0440N No authorized routine named "LOCATE" of type "FUNCTION"
having compatible arguments was found. LINE NUMBER=1. SQLSTATE=42884

How can I get out of here?

TIA
Nov 12 '05 #1
4 6014
da***********@y ahoo.ca (David) wrote in message news:<87******* *************** ****@posting.go ogle.com>...
Dear ALL,

I had a problem when I restore a db2 V7 EE Fixpack 5 on AIX 4.3.3 to
db2 V8 ESE Fixpack 3 on AIX 5.1.

Once I restored db2 db (PRD) to V8 and tried to connect to DB, I had
the following problem:

$db2 connect to PRD
SQL5035N The database requires migration to the current release.
$db2 migrate db PRD
SQL0440N No authorized routine named "LOCATE" of type "FUNCTION"
having compatible arguments was found. LINE NUMBER=1. SQLSTATE=42884

How can I get out of here?

TIA


David:
Before you do a migrate, y should check if your current database could be migrated.
Richard.
Nov 12 '05 #2
Did you get any error when you restored the database? The restore migrates
the db automatically and it must have failed.

Amar

da***********@y ahoo.ca (David) wrote in message news:<87******* *************** ****@posting.go ogle.com>...
Dear ALL,

I had a problem when I restore a db2 V7 EE Fixpack 5 on AIX 4.3.3 to
db2 V8 ESE Fixpack 3 on AIX 5.1.

Once I restored db2 db (PRD) to V8 and tried to connect to DB, I had
the following problem:

$db2 connect to PRD
SQL5035N The database requires migration to the current release.
$db2 migrate db PRD
SQL0440N No authorized routine named "LOCATE" of type "FUNCTION"
having compatible arguments was found. LINE NUMBER=1. SQLSTATE=42884

How can I get out of here?

TIA

Nov 12 '05 #3
Amar,

It did get error message, just as following (same as db2 migrate db):
SQL2519N The database was restored but the restored database was not
migrated
to the current release. Error "-440" with tokens "LOCATE FUNCTION" is
returned. LINE NUMBER=1. SQLSTATE=42884

Also I followed IBM DB2 Support idea, that is I should create the same
instance name as the original ( I highly doubt that the db backup
image includes instance information, but I did the test). But
unfortunately I got the same result.

Any help would be greatly appreciated.
he*******@yahoo .com (Amar) wrote in message news:<47******* *************** ****@posting.go ogle.com>...
Did you get any error when you restored the database? The restore migrates
the db automatically and it must have failed.

Amar

da***********@y ahoo.ca (David) wrote in message news:<87******* *************** ****@posting.go ogle.com>...
Dear ALL,

I had a problem when I restore a db2 V7 EE Fixpack 5 on AIX 4.3.3 to
db2 V8 ESE Fixpack 3 on AIX 5.1.

Once I restored db2 db (PRD) to V8 and tried to connect to DB, I had
the following problem:

$db2 connect to PRD
SQL5035N The database requires migration to the current release.
$db2 migrate db PRD
SQL0440N No authorized routine named "LOCATE" of type "FUNCTION"
having compatible arguments was found. LINE NUMBER=1. SQLSTATE=42884

How can I get out of here?

TIA

Nov 12 '05 #4
Ahh! Seems like after internally after db migration the creation of
sysfun functions falied with -440, I would suggest that you apply
latest fixpack avilable and issue migration again.

No I don't think db backup has anything to do with instance, you can
restore
db on any other instance on same os. But IBM support might be aware of
some
problems reported earlier which make them to come up with this
suggestion.

Amar.
da***********@y ahoo.ca (David) wrote in message news:<87******* *************** ****@posting.go ogle.com>...
Amar,

It did get error message, just as following (same as db2 migrate db):
SQL2519N The database was restored but the restored database was not
migrated
to the current release. Error "-440" with tokens "LOCATE FUNCTION" is
returned. LINE NUMBER=1. SQLSTATE=42884

Also I followed IBM DB2 Support idea, that is I should create the same
instance name as the original ( I highly doubt that the db backup
image includes instance information, but I did the test). But
unfortunately I got the same result.

Any help would be greatly appreciated.
he*******@yahoo .com (Amar) wrote in message news:<47******* *************** ****@posting.go ogle.com>...
Did you get any error when you restored the database? The restore migrates
the db automatically and it must have failed.

Amar

da***********@y ahoo.ca (David) wrote in message news:<87******* *************** ****@posting.go ogle.com>...
Dear ALL,

I had a problem when I restore a db2 V7 EE Fixpack 5 on AIX 4.3.3 to
db2 V8 ESE Fixpack 3 on AIX 5.1.

Once I restored db2 db (PRD) to V8 and tried to connect to DB, I had
the following problem:

$db2 connect to PRD
SQL5035N The database requires migration to the current release.
$db2 migrate db PRD
SQL0440N No authorized routine named "LOCATE" of type "FUNCTION"
having compatible arguments was found. LINE NUMBER=1. SQLSTATE=42884

How can I get out of here?

TIA

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2768
by: Dave | last post by:
When I am trying to use backup or restore from the EM, a dialog box never pops up, and the EM interface locks up. Has anyone else had problems like this? Looks like all other functions from EM are working fine. Thanks, Dave
3
2257
by: butatista | last post by:
Please help SQL Server 2000 Standard I am trying to restore databases on my server and am unable to get them to restore using the database option. For example, the location of my backup file is: D:\MSSQL\BACKUP\MY_DB\MY_DB_ddmmyy.bak
2
10613
by: Moti.Ba | last post by:
Hello, I need to restore the Master DB in my SQL 2k server (with sp3). The problem is that i don't have SQL backups of this file I only have general backup of the entire c:\ drive i made using NTBackup. So i tried all I know and succesfully run the rebuildm utility. Now when I try to restore it from the general backup (not SQL backup) using "restore database master from gen_backup" i got error: "The file on device 'gen_backup' is not a...
4
6206
by: ScottH | last post by:
I am running 7.2 with fixpack 10a under W2K. I got a backup from someone else in an attempt to debug a data issue. The other person created the database with UTF-8 (codepage 1208), so I created a new database with that codepage, cd to the directory where the backup was located, but the restore failed: db2 => create database MYDB using codeset UTF-8 territory us DB20000I The CREATE DATABASE command completed successfully. db2 =>...
3
3511
by: Vikrant | last post by:
Friends, Due an application (old) install program problem, Under AIX I could only create DB2 instance, I could also catalog it. Its complex application and I am not expert in creating full database for this application, but I have desired DB2 backup (by db2 backup db command). Can I do redirected restore (SET TABLESPACE CONTAINERS ....) only when instance is created & cataloged , I am under the impression that redirected restore is...
4
3817
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but my concern is, such big size db, I'm afraid something unexpected will destory all the effort. Who have related experience? Can you give some advice? Thanks in advance:)
9
14027
by: GL | last post by:
I am running DB2 8.1.1 on AIX 5.1 Having a problem with a redirected restore. Once into the restore continue phase, I immediately get the following “SQL2059W A device full warning was encountered on device "TBS_IDX". Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t) t
13
7302
by: Andy K | last post by:
Hi , I'm wondering what's going on with a restore I'm trying to do . My DB2 version is a 7.2 on a Linux RH ES 2.1 . I've copy a recent backup that was on NAS for a test on my machine . I then restore the backup without creating a database with the simple command line "db2 restore backup DBNAME".
11
13593
by: Chris | last post by:
I have searched this group for answers and tried the responses. I am trying to Use an full online backup from our production server and apply it to our test server. The Tablespaces in the productions server are on the d drive and my test server has no d drive. The restore command i am using is: RESTORE DATABASE CENTRAL FROM "C:\DB2Backups" TAKEN AT 20050620000000 INTO CENT0620 REDIRECT;
2
8614
by: modeler | last post by:
Hello, I am trying to restore a DB2 9.1 fp2 backup to another DB2 9.1 fp2 machine, both are on Windows. C:\Program Files\IBM\SQLLIB\BIN>db2 -tvf C:\db2_data\test.db2 UPDATE COMMAND OPTIONS USING S ON Z ON MYDB_NODE0000.out V ON DB20000I The UPDATE COMMAND OPTIONS command completed successfully. SET CLIENT ATTACH_DBPARTITIONNUM 0 DB20000I The SET CLIENT command completed successfully.
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10320
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.