Solved

db2icrt -u db2inst1 db2inst1 problem on mac

Posted on 2014-12-27
4
260 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
[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 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:Kent Olsen
ID: 40520554
Hi sniger,

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

Expert Comment

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

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…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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