Solved

DB2 on Mac

Posted on 2011-03-17
4
919 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:Kdo
Comment Utility
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
Comment Utility
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:
Kdo earned 250 total points
Comment Utility
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
Comment Utility
Thanks for your help.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
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 > …
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now