Solved

db2icrt -u db2inst1 db2inst1 problem on mac

Posted on 2014-12-27
4
269 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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 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