Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DB2 on Mac

Posted on 2011-03-17
4
Medium Priority
?
1,009 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 46

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 46

Accepted Solution

by:
Kent Olsen earned 750 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

618 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