简体   繁体   中英

db2 setup for Mac

I am trying to install db2 for my mac.

I downloaded the package. When I run the script db2setup I get a blank setup wizard.

It says

/Users/sanjanaagarwal/Downloads/expc/db2/macos/install/db2setup: 

line 606: /tmp/db2.tmp.26264/db2/macos/install/../java/jre/bin/java: No such file or directory

When I check the log it shows

Operating system information: Darwin Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~.13.0.0 
ERROR: The user name specified is invalid.

HELP.

DB2 Express-C 10.1 for Mac was released in 2012, well before Mavericks. It's doubtful that IBM has done any testing with Express-C on Mavericks. It does not appear that the JRE you can get from Apple for Mavericks works with the installer. I do not know if installing a JRE from Oracle will work better.

In brief testing I find that it appears to work, but you may find it easier to install using the text-based db2_install command rather than the java-based db2setup . This will require some additional steps to manually create a DB2 instance (create user, execute /opt/IBM/db2/V10.1/instance/db2icrt , etc.), but once you've done this you should be OK.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM