473,434 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

Installing DB2 on Solaris 10

I have a AIX backup of DB2 (8.2) and i was told i needed to have a unix
OS installed to be able to restore this database. So now i have
installed Solaris 10 (x86 hardware). I copied the DB2.tar file to a
folder i created in /export/home/db2, and unzipped everything. My issue
is now when i try to run the 'install or setup' files, i get a message
in the terminal window that says 'cannot execute'. I made sure to give
the entire folder and all sub folders full permission, but im not sure
if that is the issue?

Im not a Unix or BD2 expert, so any suggestions are much appreciated.
Thanks

Dec 12 '05 #1
8 2899
Just a shot in the dark... if the 'install or setup files' are shell
scripts, make sure the shell program it points to on line 1 really exists.
For example, if it's "#!/usr/bin/ksh", make sure that file or symlink
"/usr/bin/ksh" really exists and works. If not, it returns a similar error.
;-)

--
--------------------
Larry Menard
"Defender of Geese and of All Things Natural"
"ReeseDog" <de*****@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I have a AIX backup of DB2 (8.2) and i was told i needed to have a unix
OS installed to be able to restore this database. So now i have
installed Solaris 10 (x86 hardware). I copied the DB2.tar file to a
folder i created in /export/home/db2, and unzipped everything. My issue
is now when i try to run the 'install or setup' files, i get a message
in the terminal window that says 'cannot execute'. I made sure to give
the entire folder and all sub folders full permission, but im not sure
if that is the issue?

Im not a Unix or BD2 expert, so any suggestions are much appreciated.
Thanks

Dec 12 '05 #2
"ReeseDog" <de*****@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I have a AIX backup of DB2 (8.2) and i was told i needed to have a unix
OS installed to be able to restore this database. So now i have
installed Solaris 10 (x86 hardware). I copied the DB2.tar file to a
folder i created in /export/home/db2, and unzipped everything. My issue
is now when i try to run the 'install or setup' files, i get a message
in the terminal window that says 'cannot execute'. I made sure to give
the entire folder and all sub folders full permission, but im not sure
if that is the issue?

Im not a Unix or BD2 expert, so any suggestions are much appreciated.
Thanks

You can install DB2 on Solaris, backup the DB2 database on AIX (with DB2
backup db command, not an OS backup), and then restore the DB2 database (DB2
restore db command) on your existing Solaris DB2 instance.

Not sure if you can restore the OS level backup and get it to work,
especially since the OS is different.
Dec 13 '05 #3
Are you trying to *RESTORE* a database backup, or are you trying to
installing from an AIX based image of DB2 software?

i don't think DB2 for AIX will install on Solaris x86. (2 different
machine architectures PowerPC/RISC vs Intel)

It might install on Solaris sparc, but you need to try that.

regards,
dotyet
ReeseDog wrote:
I have a AIX backup of DB2 (8.2) and i was told i needed to have a unix
OS installed to be able to restore this database. So now i have
installed Solaris 10 (x86 hardware). I copied the DB2.tar file to a
folder i created in /export/home/db2, and unzipped everything. My issue
is now when i try to run the 'install or setup' files, i get a message
in the terminal window that says 'cannot execute'. I made sure to give
the entire folder and all sub folders full permission, but im not sure
if that is the issue?

Im not a Unix or BD2 expert, so any suggestions are much appreciated.
Thanks


Dec 13 '05 #4
Ian
ReeseDog wrote:
I have a AIX backup of DB2 (8.2) and i was told i needed to have a unix
OS installed to be able to restore this database. So now i have
installed Solaris 10 (x86 hardware). I copied the DB2.tar file to a
folder i created in /export/home/db2, and unzipped everything. My issue
is now when i try to run the 'install or setup' files, i get a message
in the terminal window that says 'cannot execute'. I made sure to give
the entire folder and all sub folders full permission, but im not sure
if that is the issue?

Im not a Unix or BD2 expert, so any suggestions are much appreciated.
Thanks


There is no DB2 that runs on Solaris x86, so what you describe isn't
even feasible.

If you have Sun SPARC hardware you could restore your database; however
you need to have a backup image of the database, not a tar file
containing all of the data files that make up the instance and database.
You would install DB2 normally (using the DB2 install CD), create an
instance, etc.

The backup image would have a file name like:

SAMPLE.0.db2inst1.NODE0000.CATN0000.20051210020110 .001

(SAMPLE is the name of the database, and 'db2inst1' is the name of the
DB2 instance on your AIX box).

Good luck,

Dec 13 '05 #5
I have the Solaris 10 install on x86, and i downloaded db2 for solaris
for 32bit machines (hoping/thinking that this would be good.)

I have a backup image of DB2 from a AIX machine. (at least i think it
is) Here are the the 4 files i received.
DB.0.db2inst.NODE0000.CATN0000.2005.001
DB.0.db2inst.NODE0000.CATN0000.2005.002
DB.0.db2inst.NODE0000.CATN0000.2005.003
DB.info
I was told that the only way to restore this backup or image was to do
it on a Unix machine, (i tried on a winx86 box already).

So now going back to the ibm site looking at the DB2 download for
solaris, it says its for 32bit machines and not specifically for x86 or
sparc.
I hope i didnt leave out any info.

So assuming that i have to use the files i have on a Unix based machine
and IBM doesnt have any versions of DB2 for Unix on x86 hardware. Am i
sol?

Is there any suggestions as to what i could do to get this database up
and running.

Thanks for all the help and information.

Dec 13 '05 #6
DB2 for Solaris x86 does not exist. I think your only option is to
either restore it on an existing AIX box or on a Solaris sparc box or
on an HP-UX box.

if you have the source database running and accessible, you can try
db2move/db2look to move the database across platforms.

good luck.

rgds,
dotyet

ReeseDog wrote:
I have the Solaris 10 install on x86, and i downloaded db2 for solaris
for 32bit machines (hoping/thinking that this would be good.)

I have a backup image of DB2 from a AIX machine. (at least i think it
is) Here are the the 4 files i received.
DB.0.db2inst.NODE0000.CATN0000.2005.001
DB.0.db2inst.NODE0000.CATN0000.2005.002
DB.0.db2inst.NODE0000.CATN0000.2005.003
DB.info
I was told that the only way to restore this backup or image was to do
it on a Unix machine, (i tried on a winx86 box already).

So now going back to the ibm site looking at the DB2 download for
solaris, it says its for 32bit machines and not specifically for x86 or
sparc.
I hope i didnt leave out any info.

So assuming that i have to use the files i have on a Unix based machine
and IBM doesnt have any versions of DB2 for Unix on x86 hardware. Am i
sol?

Is there any suggestions as to what i could do to get this database up
and running.

Thanks for all the help and information.


Dec 13 '05 #7
I do not have access to the source database. I just have the 4 files
that they sent me.

Is there a way for them to re-create a backup on the AIX system that i
could then restore on a windows system?

That would be the perfect solution for me :)

Dec 13 '05 #8
if they have an AIX environment, then either they can restore this
database backup in the existing db2 instance or they can restore the
database in a new instance. once that is done, then they need to a run
db2look (DDL Generation to create database objects) and db2move (EXPORT
actual user data).

once that is done, you can create the database objects in windows using
the db2look output file and use db2move to IMPORT/LOAD the user data.

technically, this is the only way to deploy/move an existing unix db2
database on to a windows platform.

take a look at the following commands:

db2move
db2look
restore
rollforward
good luck!

rgds,
dotyet

ReeseDog wrote:
I do not have access to the source database. I just have the 4 files
that they sent me.

Is there a way for them to re-create a backup on the AIX system that i
could then restore on a windows system?

That would be the perfect solution for me :)


Dec 13 '05 #9

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

Similar topics

0
by: Bob Swerdlow | last post by:
I'm trying to install MySQLdb 0.9.2 so I can access my MySQL database from python under Solaris 8. I found the notes on changing the include and lib paths and it seems to find them okay, but when...
3
by: hepp | last post by:
Is it possible to run a Python script in Windows without installing Python on your machine first? At my work we are using a mixed environment - some have Solaris workstations and others PC's. I...
0
by: Steve | last post by:
I'm posting this message here, so that someone googling here will be able to find it. I was having problems installing cx_Oracle on Solaris. The build would fail with a message: > ld: fatal:...
10
by: Ed Stevens | last post by:
A tale of woe, and a question . . . Last week my boss said to me "we've installed DB2 Connect on this Solaris box. Make it work." Now, I've barely seen DB2 Connect on Windows, having fumbled...
1
by: Paul Watson | last post by:
I cannot yet get tkinter working on 2.4.2. I have installed the tk rpms from FC4. I have checked to see that TKPATH is available in Modules/Setup. How can I verify that I have tcl/tk installed...
0
by: bwhitehd | last post by:
I'm having a problem installing php. The compile seems to go fine, but when it gets to the install step I get the following errors. Does anyone have an idea of what might be the problem? We...
1
by: dmulcahy | last post by:
Folks, I am trying to build the binaries for Python 2.4.3 on a Sun E6900 running SPARC Solaris 9 and using gcc 3.4.2. When the makefile tries to build the _curses extension it fails with a...
4
by: Nico Grubert | last post by:
Hi there, I'd like to install Python 2.3.5. on a 64-Bit OS (Suse Linux Enterprise Server 10) on an AMD Opteron 64-Bit machine. I have to use Python 2.3.5. Do I need a special source archive...
3
by: Radha L | last post by:
Hello, If anyone is aware of how to install ffmpeg on sun solaris 11, plz help me out. is there any seperate binary file for the same. what are the steps to install ffmpeg on sun solaris 11...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.