473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DB2/Unix old hand needs DB2/Windows help

Hey all,

I've worked with DB2 for a long time, but it looks like Windows and
user management is getting the better of me.

I'm trying to set up a DB2 9 Express-C system. It's installed and
ready to go. However, no matter what I try, I can't get my user to
get the necessary privileges to do the most basic tasks.

My user is a domain user. I've made that user the member of a local
group, and I've made that local group the one pointed to by
SYSADM_GROUP in the dbm cfg. I added DB2_GRP_LOOKUP=local to the DB2
registry. Even so, I can't create databases, I can't catalog remote
databases... All that happens is that I get a SQL1092N. I can't do
much of anything and it's starting to annoy me. Could someone please
give me a hint on how to proceed?

By the way, I find it hilarious that I have the authorization to drop
and create instances, update dbm cfg, and set registry variables, but
not catalog a remote database.

thanks,

/T

Mar 3 '07 #1
5 1841
"Tomas" <th*****@gmail.comwrote in message
news:11**********************@64g2000cwx.googlegro ups.com...
Hey all,

I've worked with DB2 for a long time, but it looks like Windows and
user management is getting the better of me.

I'm trying to set up a DB2 9 Express-C system. It's installed and
ready to go. However, no matter what I try, I can't get my user to
get the necessary privileges to do the most basic tasks.

My user is a domain user. I've made that user the member of a local
group, and I've made that local group the one pointed to by
SYSADM_GROUP in the dbm cfg. I added DB2_GRP_LOOKUP=local to the DB2
registry. Even so, I can't create databases, I can't catalog remote
databases... All that happens is that I get a SQL1092N. I can't do
much of anything and it's starting to annoy me. Could someone please
give me a hint on how to proceed?

By the way, I find it hilarious that I have the authorization to drop
and create instances, update dbm cfg, and set registry variables, but
not catalog a remote database.

thanks,

/T
I am not sure about V9 but I believe if you install DB2 with a domain user,
you must be a domain administrator. With V8, I solved this problem by
installing as a local user, and making sure the DB2 Windows Services are
tied to the local userid.
Mar 3 '07 #2
Hmm, no... I installed it using my domain user, but I'm only a local
administrator.

/T

On Mar 3, 12:52 pm, "Mark A" <nob...@nowhere.comwrote:
"Tomas" <thal...@gmail.comwrote in message

news:11**********************@64g2000cwx.googlegro ups.com...


Hey all,
I've worked with DB2 for a long time, but it looks like Windows and
user management is getting the better of me.
I'm trying to set up a DB2 9 Express-C system. It's installed and
ready to go. However, no matter what I try, I can't get my user to
get the necessary privileges to do the most basic tasks.
My user is a domain user. I've made that user the member of a local
group, and I've made that local group the one pointed to by
SYSADM_GROUP in the dbm cfg. I added DB2_GRP_LOOKUP=local to the DB2
registry. Even so, I can't create databases, I can't catalog remote
databases... All that happens is that I get a SQL1092N. I can't do
much of anything and it's starting to annoy me. Could someone please
give me a hint on how to proceed?
By the way, I find it hilarious that I have the authorization to drop
and create instances, update dbm cfg, and set registry variables, but
not catalog a remote database.
thanks,
/T

I am not sure about V9 but I believe if you install DB2 with a domain user,
you must be a domain administrator. With V8, I solved this problem by
installing as a local user, and making sure the DB2 Windows Services are
tied to the local userid.- Hide quoted text -

- Show quoted text -

Mar 5 '07 #3
On Mar 5, 3:05 pm, "Tomas" <thal...@gmail.comwrote:
Hmm, no... I installed it using my domain user, but I'm only a local
administrator.

/T
That's why it does not work properly.

Mar 6 '07 #4
Ray
On Mar 5, 4:05 pm, "Tomas" <thal...@gmail.comwrote:
Hmm, no... I installed it using my domain user, but I'm only a local
administrator.
We've always added a local user specifically for the purpose of
running the DB2 instances but we haven't installed any v9 yet.

Mar 6 '07 #5
On Mar 5, 6:33 pm, "Mark A" <m00...@yahoo.comwrote:
On Mar 5, 3:05 pm, "Tomas" <thal...@gmail.comwrote:
Hmm, no... I installed it using my domain user, but I'm only a local
administrator.
/T

That's why it does not work properly.
No, being a local adminstrator is enough. I'm a DBA and not a Windows
admin - there's NO WAY I could talk the Windows admins into making me
a domain admin. Much in the same way they would be unable to persuade
me to add them to the SYSADM_GROUP for a production database.

Anyway, I dropped the instance, recreated it, and re-added the
DB2_GRP_LOOKUP=local registry variable, and now I'm in business. Not
sure what I did wrong the first time - I thought I did exactly the
same stuff the second time around.

/T

Mar 6 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dpackwood | last post by:
Hello, I have two different scripts that do pretty much the same thing. The main perl script is on Windows. It runs and in the middle of it, it then calls out another perl script that then...
6
by: Matthew | last post by:
How would I go about creating a simple "hello world" program that will run in Unix. I am using MS Visual C++.
28
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
15
by: Alpha | last post by:
I was told that Unix API can only be called using C++, ATL and MFC. However, I was also told that C# can do that through Pinvoke to a DLL that interfaces with the Unix API. Can someone direct me...
1
by: Nick Wain | last post by:
Hello All, I'm relatively new to PYTHON, using PYTHON 2.4 on Windows XP. I'm having a problem as below. I've asked some other people in my office who are more experienced in PYTHON, but they...
10
by: emmitsuks | last post by:
Can I compile C source in an PC editor like Miracle, build it, and then take that .exe over to Unix and run it there? Is there a preferred group for beginners such as myself to join?
7
by: yang__lee | last post by:
Hi, I have been programming c, c++ on windows. What is the difference in programming on Unix.. are there different syntaxes, functions on Unix. what are mandatory different steps on unix....
1
RRick
by: RRick | last post by:
I have a unix C++ project that needs to be converted over to windows visual studio. I'm not sure of the exact version of VS, but it's a recent version, probabIy 2003 or 2005. I would like the...
223
by: Pilcrow | last post by:
Given that UNIX, including networking, is almost entirely coded in C, how come so many things are almost impossible in ordinary C? Examples: Network and internet access, access to UNIX...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.