Solved

db2icrt -u db2inst1 db2inst1 problem on mac

Posted on 2014-12-27
4
230 Views
Last Modified: 2014-12-28
trying to run db2 instance on mac, i am getting an error:

"The user "db2inst1" has an invalid group name.  The group name is either blank,
or longer than the maximum length supported by DB2 or the operating system.
Refer to your operating system documentation and to the DB2 Information Center
for more information."

I created db2inst1 user from the command line:
sh-3.2# sudo dscl . create /Users/db2inst1
sh-3.2# sudo dscl . create /Users/db2inst1
sh-3.2# sudo dscl . create /Users/db2inst1 UserShell /bin/bash
sh-3.2# sudo dscl . create /Users/db2inst1  /bin/bash
sh-3.2# sudo dscl . create /Users/db2inst1 RealName db2guy
sh-3.2# sudo dscl . create /Users/db2inst1 UniqueID 503
dscl . create /Users/db2inst1  PrimaryGroupID 1000
// http://www.maclife.com/article/columns/terminal_101_creating_new_users
0
Comment
Question by:sniger
  • 2
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 40520502
Just a shot in the dark, but do you have a group with an ID of 1000?
0
 
LVL 45

Expert Comment

by:Kdo
ID: 40520554
Hi sniger,

Do you have a group number 1000?  What is that group name?
0
 
LVL 45

Expert Comment

by:Kdo
ID: 40520619
Apologies, giltjr.

I'd left the browser open to this page and didn't see the previous comment.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 40520628
No problem Kdo,  I do that from time to time.  Plus it is always good to see somebody else with the same idea about what is going on.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

20 Experts available now in Live!

Get 1:1 Help Now