Solved

DB2 on Mac

Posted on 2011-03-17
4
955 Views
Last Modified: 2012-06-27
Hi,

I have a Macbook Air. I wanted to create a java application on my machine using a DB2 database. Is there any way I can install DB2 on my Mac.

I read up somewhere and I learnt that IBM has DB2 -C Express for Mac. I tried installing that but I have no idea if the installation worked correctly. The installation did not show any error but I dont see DB2 anywhere on my system :). Any pointers?

Thanks in advance for any assistance.

Regards
Ali.
0
Comment
Question by:bhagatali
  • 2
  • 2
4 Comments
 
LVL 45

Expert Comment

by:Kent Olsen
ID: 35161945
Hi bhaqatali,

DB2 for the Mac is pretty new.  Think of yourself as a pioneer.  :)

Check to see if there are any tasks running with 'db2' or 'DB2' as part of the name.  There should be several.

If so, sign on with the same user that you used to install db2.  (Other users can use this installation of db2, but that user should have it's profile set up from the install process.)

Run the command 'db2'.  If it works, you're good to go.


Kent
0
 

Author Comment

by:bhagatali
ID: 35162193
Hi Kent,

I had installed db2 using the root profile. I am pretty new at Mac so having a little trouble following some of the installation instruction. The instruction asked me to use db2fs after the installation completes. Any idea how I do that? Also, when you say run the command "db2", do you mean run it from the "Terminal". If yes, from which folder/directory do I run that from.

Thanks for your help.

Regards
Ali.
0
 
LVL 45

Accepted Solution

by:
Kent Olsen earned 250 total points
ID: 35164872
Hi Ali,

It's a little unusual to install DB2 from root on unix based operating systems.  MAC/OS may be different, I don't know.

db2fs is the program that initializes a lot of the DB2 environment/installation.  The name, like almost all db2 programs, starts with 'db2' and continues with the rest of the name consisting of the first letter of the program's real name.  In this case, 'db2fs' is the program name for 'db2 first steps'.

You should run that from root.  On other systems it requires that a GUI environment be present.  It generally requires the Java Runtime Engine and specific shared libraries, too.  

Try to run db2fs from root.  If any of the prerequisites are missing, an error message should point you in the right direction.


Kent
0
 

Author Closing Comment

by:bhagatali
ID: 35185873
Thanks for your help.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iTunes problem 5 80
Reocurring Mac pop up message 7 98
filter big file based upon on multipe criteria 2 64
I have bought an old Apple Mac 7 79
Hi Folks, This article is intended to throw some light or basically give an idea towards taking the first step in the world of Systems Administration. This would in the real context of the word "Systems Administration" which would mean right from…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question